1. 17 Apr, 2004 37 commits
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk/linux-2.6-serial · 1ea0721d
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      1ea0721d
    • Russell King's avatar
      [SERIAL] Use module_param/module_param_array · 2dff0579
      Russell King authored
      Update serial to use new module parameters rather than
      MODULE_PARM.
      2dff0579
    • Russell King's avatar
      [SERIAL] Remove check_region() · ae1b4721
      Russell King authored
      ae1b4721
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk · c7a7273c
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      c7a7273c
    • Russell King's avatar
      [ARM] Add detailed documentation concerning ARM page tables · f6e8a90d
      Russell King authored
      This adds detailed documentation concerning how we map the Linux
      page table structure onto the hardware tables on ARM.  In addition,
      it also adds documentation describing how we emulate the "dirty"
      and "young" or "accessed" page table bits.
      
      This should be of interest to Linux MM developers.
      f6e8a90d
    • Andrew Morton's avatar
      [PATCH] ARM-related ptep_to_address() fix · d8fbf4f1
      Andrew Morton authored
      From: William Lee Irwin III <wli@holomorphy.com>
      
      rmk mentioned that ARM was borked as the relation, assumed by generic rmap,
      PTRS_PER_PTE*sizeof(pte_t) == PAGE_SIZE, fails to hold.  The following
      patch, developed jointly with him (or depending on POV, by him with me
      acting as codemonkey), is reported to resolve the issue.
      
      Specifically, while ARM dedicates an entire PAGE_SIZE -sized block of
      memory to each PTE table, the PTE table itself only spans half that, the
      remainder being dedicated to hardware-interpreted structures.  As the
      hardware structure must be contiguous, wider ptes can't be used.  So the
      core-visible PTE table only spans PAGE_SIZE/2 bytes, violating the
      assumption.  This corrects masking and scaling done in ptep_to_address().
      d8fbf4f1
    • Andrew Morton's avatar
      [PATCH] aty128fb dereference before null check · 5450c6c1
      Andrew Morton authored
      From: Dave Jones <davej@redhat.com>
      5450c6c1
    • Andrew Morton's avatar
      [PATCH] mqueue permission fix · 25aa73df
      Andrew Morton authored
      From: Manfred Spraul <manfred@colorfullife.com>
      
      Any user can delete any entries in a mqueue mounted filesystem.  The attached
      patch prevents that.
      
      - remove the writable test from mq_unlink.
      
      - set the sticky bit in the root inode.  This affects both mq_unlink and
        sys_unlink: only the owner (and root) should be allowed to remove queues.
      25aa73df
    • Andrew Morton's avatar
      [PATCH] Fix bogus get_page() calls in hugepage code · 485583e1
      Andrew Morton authored
      From: David Gibson <david@gibson.dropbear.id.au>
      
      Some versions of follow_huge_addr() and follow_huge_pmd() are doing a
      get_page() on the target page.  They shouldn't: follow_page() returns an
      unpinned page and it is the caller's responsibility to pin the page (if
      desired) before dropping page_table_lock.
      485583e1
    • Andrew Morton's avatar
      [PATCH] ppc64: yet another hugepage cleanup · 9c59105e
      Andrew Morton authored
      From: David Gibson <david@gibson.dropbear.id.au>
      
      Trivial cleanup to flush_hash_hugepage() in the ppc64 hugepage code.
      9c59105e
    • Andrew Morton's avatar
      [PATCH] ipmi build fix · fbdae6e4
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      While compiling drivers/char/ipmi/ipmi_si_intf.c in 2.6.6-rc1 on m68k, I
      noticed a missing include (needed for disable_irq_nosync() and enable_irq())
      fbdae6e4
    • Andrew Morton's avatar
      [PATCH] floppy98.c build fixes · f36b42e7
      Andrew Morton authored
      From: "Randy.Dunlap" <rddunlap@osdl.org>
      
      floppy98.c (along with other PC-9800 files) has not been updated lately.  It
      won't build currently (2.6.5).
      
      This patch makes floppy98 build cleanly.
      f36b42e7
    • Andrew Morton's avatar
      [PATCH] reiserfs: remove final sleep_on · 13ba0403
      Andrew Morton authored
      From: Chris Mason <mason@suse.com>
      
      Get rid of the last sleep_on in the reiserfs code
      13ba0403
    • Andrew Morton's avatar
      [PATCH] reiserfs: fsync() speedup · f2a0b4d8
      Andrew Morton authored
      From: Chris Mason <mason@suse.com>
      
      Updates the reiserfs-logging improvements to use schedule_timeout instead of
      yield when letting the transaction grow a little before forcing a commit for
      fsync/O_SYNC/O_DIRECT.
      
      Also, when one process forces a transaction to end and plans on doing the
      commit (like fsync), it sets a flag on the transaction so the journal code
      knows not to bother kicking the journal work queue.
      
      queue_delayed_work is used so that if we get a bunch of tiny transactions
      ended quickly, we aren't constantly kicking the work queue.
      
      These significantly improve reiserfs performance during fsync heavy
      workloads.
      f2a0b4d8
    • Andrew Morton's avatar
      [PATCH] Add "commit=0" to reiserfs · c4373a9a
      Andrew Morton authored
      From: Bart Samwel <bart@samwel.tk>
      
      Add support for value 0 to the commit option of reiserfs.  Means "restore
      to the default value".  For the maximum commit age, this default value is
      normally read from the journal; this patch adds an extra variable to cache
      the default value for the maximum commit age.
      c4373a9a
    • Andrew Morton's avatar
      [PATCH] ppc64: hugepage cleanup · 21c2358c
      Andrew Morton authored
      From: David Gibson <david@gibson.dropbear.id.au>
      
      This is a small cleanup to the PPC64 hugepage code.  It removes an
      unhelpful function, removing some studlyCaps in the process.  It was
      originally this way to match the normal page path, but that has all been
      rewritten since.
      21c2358c
    • Andrew Morton's avatar
      [PATCH] Fix mq 32-bit compatibility · 8886bdb0
      Andrew Morton authored
      From: Jakub Jelinek <jakub@redhat.com>
      
      The first change removes just a useless put_user (si_int and si_ptr are
      part of the same union, si_ptr is on all arches covering whole union), the
      rest is fixes for signal handling of SI_MESGQ.
      8886bdb0
    • Andrew Morton's avatar
      [PATCH] remove buffer_error() · 4f990f49
      Andrew Morton authored
      From: Jeff Garzik <jgarzik@pobox.com>
      
      It was debug code, no longer required.
      4f990f49
    • Andrew Morton's avatar
      [PATCH] PCI MSI Kconfig consolidation · d012f668
      Andrew Morton authored
      From: Bjorn Helgaas <bjorn.helgaas@hp.com>
      
      This consolidates the PCI MSI configuration into drivers/pci/Kconfig,
      removing it from the i386, x86_64, and ia64 Kconfig.
      
      It also changes the default for ia64 from "y" to "n".  The default on i386
      is "n" already, and I'm not sure why ia64 should be different.
      d012f668
    • Andrew Morton's avatar
      [PATCH] kill submit_{bh,bio} return value · 01d86f02
      Andrew Morton authored
      From: Jeff Garzik <jgarzik@pobox.com>
      
      Nobody ever checks the return value of submit_bh(), and submit_bh() is the
      only caller that checks the submit_bio() return value.
      
      This changes the kernel I/O submission path -- a fast path -- so this
      cleanup is also a microoptimization.
      01d86f02
    • Andrew Morton's avatar
      [PATCH] kNFSdv4: Implement server-side reboot recovery (mostly) · cba16655
      Andrew Morton authored
      From: NeilBrown <neilb@cse.unsw.edu.au>
      
      From: "J. Bruce Fields" <bfields@fieldses.org>
      
      From: Andros: Implement server-side reboot recovery (server now handles
      open and lock reclaims).  Not completely to spec: we don't yet store the
      state in stable storage that would be required to recover correctly in
      certain situations.
      cba16655
    • Andrew Morton's avatar
      [PATCH] kNFSdv4: Set credentials properly when puutrootfh is used · b889edc7
      Andrew Morton authored
      From: NeilBrown <neilb@cse.unsw.edu.au>
      
      The credentials (uid/gid) of a process are set when a filehandle is
      verified.  Nfsv4 allows requests without an explicit filehandle (instead,
      an implicit 'root' filehandle) so we much make sure the credentials are set
      for these requests too.
      
      From: "J. Bruce Fields" <bfields@fieldses.org>
      
      From: Andros: added a call to nfsd_setuser in nfsd4_putrootfh so that nfsd
      runs as the rpc->cred user.
      b889edc7
    • Andrew Morton's avatar
      [PATCH] kNFSdv4: Improve how locking copes with replays · 9e13fc5b
      Andrew Morton authored
      From: NeilBrown <neilb@cse.unsw.edu.au>
      
      From: "J. Bruce Fields" <bfields@fieldses.org>
      
      From: Andros: Hold state_lock longer so the stateowner doesn't diseappear
      out from under us before we get the chance to encode the replay.  Don't
      attempt to save replay if we failed to find a stateowner.
      9e13fc5b
    • Andrew Morton's avatar
      [PATCH] kNFSdv4: Allow locku replays aswell · 3145847e
      Andrew Morton authored
      From: NeilBrown <neilb@cse.unsw.edu.au>
      
      From: "J. Bruce Fields" <bfields@fieldses.org>
      
      From: Andros: locku replies should be saved for possible replay as well.
      3145847e
    • Andrew Morton's avatar
      [PATCH] kNFSdv4: Keep state to allow replays for 'close' to work. · 599692fc
      Andrew Morton authored
      From: NeilBrown <neilb@cse.unsw.edu.au>
      
      From: "J. Bruce Fields" <bfields@fieldses.org>
      
      From: Andros: Idea is to keep around a list of openowners recently released
      by closes, and make sure they stay around long enough so that replays still
      work.
      599692fc
    • Andrew Morton's avatar
      [PATCH] kNFSdv4: Fix bad error returm from svcauth_gss_accept · 020e39c5
      Andrew Morton authored
      From: NeilBrown <neilb@cse.unsw.edu.au>
      
      From: "J. Bruce Fields" <bfields@fieldses.org>
      
      Error return when the client supplies a bad service should be badcred.
      020e39c5
    • Andrew Morton's avatar
      [PATCH] kNFSdv4: nfsd4_readdir fixes · 065eae6c
      Andrew Morton authored
      From: NeilBrown <neilb@cse.unsw.edu.au>
      
      From: "J. Bruce Fields" <bfields@fieldses.org>
      
      Fix out-of-spec errors in nfs4 readdir.  Add checks for bad cookie values.
      
      (plus compile fix from akpm)
      065eae6c
    • Andrew Morton's avatar
      [PATCH] dm: Use an EMIT macro in the status function. · 44e2317e
      Andrew Morton authored
      From: Kevin Corry <kevcorry@us.ibm.com>
      
      Striped: Use an EMIT macro in the status function.
      44e2317e
    • Andrew Morton's avatar
      [PATCH] dm: avoid ioctl buffer overrun · 702a8edf
      Andrew Morton authored
      From: Kevin Corry <kevcorry@us.ibm.com>
      
      dm-ioctl.c::retrieve_status(): Prevent overrunning the ioctl buffer by making
      sure we don't call the target status routine with a buffer size limit of
      zero.  [Kevin Corry, Alasdair Kergon]
      702a8edf
    • Andrew Morton's avatar
      [PATCH] dm: fix a comment · e79ed99a
      Andrew Morton authored
      From: Kevin Corry <kevcorry@us.ibm.com>
      
      Clarify the comment regarding the "next" field in struct dm_target_spec.  The
      "next" field has different behavior if you're performing a DM_TABLE_STATUS
      command than it does if you're performing a DM_TABLE_LOAD command.
      
      See populate_table() and retrieve_status() in drivers/md/dm-ioctl.c for more
      details on how this field is used.
      e79ed99a
    • Andrew Morton's avatar
      [PATCH] dm: Correctly align the dm_target_spec structures during retrieve_status(). · e1489536
      Andrew Morton authored
      From: Kevin Corry <kevcorry@us.ibm.com>
      
      Correctly align the dm_target_spec structures during retrieve_status().
      e1489536
    • Andrew Morton's avatar
      [PATCH] dm: Log an error if the target has unknown target type, or zero length. · ca6cf8bf
      Andrew Morton authored
      From: Kevin Corry <kevcorry@us.ibm.com>
      
      Log an error if the target has unknown target type, or zero length.
      ca6cf8bf
    • Andrew Morton's avatar
      [PATCH] dm: Use wake_up() rather than wake_up_interruptible() · fa899763
      Andrew Morton authored
      From: Kevin Corry <kevcorry@us.ibm.com>
      
      dm.c: Use wake_up() rather than wake_up_interruptible() with the eventq.
      fa899763
    • Andrew Morton's avatar
      [PATCH] dm: Handle interrupts within suspend. · 2daba222
      Andrew Morton authored
      From: Kevin Corry <kevcorry@us.ibm.com>
      
      Handle interrupts within suspend.
      2daba222
    • Andrew Morton's avatar
      [PATCH] dm: Check the uptodate flag in sub-bios to see if there was an error. · 8ceccffc
      Andrew Morton authored
      From: Kevin Corry <kevcorry@us.ibm.com>
      
      Check the uptodate flag in sub-bios to see if there was an error.  [Mike
      Christie]
      8ceccffc
    • Andrew Morton's avatar
      [PATCH] dm: Fix 64/32 bit ioctl problems. · abfd0ec5
      Andrew Morton authored
      From: Kevin Corry <kevcorry@us.ibm.com>
      
      Fix 64/32 bit ioctl problems.
      abfd0ec5
    • Petr Vandrovec's avatar
      [PATCH] Fix exec in multithreaded application · bea63af0
      Petr Vandrovec authored
      The recent controlling terminal changes broke exec from multithreaded
      application because de_thread was not upgraded to new arrangement.  I
      know that I should not have LD_PRELOAD library which automatically
      creates one thread, but it looked like a cool solution to the problem I
      had.
      
      de_thread must initialize the controlling terminal information in the
      new thread group.
      bea63af0
  2. 16 Apr, 2004 3 commits