1. 20 Mar, 2003 2 commits
  2. 19 Mar, 2003 18 commits
  3. 18 Mar, 2003 20 commits
    • Andrew Morton's avatar
      [PATCH] Add error checking get_disk() · d99c48c6
      Andrew Morton authored
      Patch from Bob Miller <rem@osdl.org>
      
      The get_disk() function should check the return value from kobject_get()
      before passing it to to_disk().  This patch fixes this error.
      
      (Acked by Pat)
      d99c48c6
    • Andrew Morton's avatar
      [PATCH] Fix nfsd_symlink() failure path · 18f3cae2
      Andrew Morton authored
      Patch from Andreas Gruenbacher <agruen@suse.de>
      
      In both 2.5 and 2.4, the fs/nfsd/vfs.c:nfsd_symlink() function calls down to
      notify_change().  If notify_change fails for some reason, the error code is
      not converted to an nfs no-the-wire error code as is should.  The attached
      patches fix that (one for 2.4, the other for 2.5).
      18f3cae2
    • Andrew Morton's avatar
      [PATCH] Tighten CONFIG_NUMA preconditions · 34b254ca
      Andrew Morton authored
      Patch from Martin J. Bligh and Dave Hansen
      
      People with ordinary PCs are accidentally turning on NUMA support, and people
      with NUMA machines are finding the NUMA option mysteriously disappearing.
      This patch sets the defaults to sane things for everyone, and only allows you
      to turn on NUMA with both SMP and 64Gb support on (it's useful for the
      distros on non-Summit boxes, but not on their UP kernels ;-)).
      
      I've also moved it below the highmem options, as it logically depends on
      them, so this makes more sense.  For those searching for NUMA support on
      *real* NUMA machine, Dave has provided some guiding comments to show them
      what they messed up (it's totally non-obvious).  Hopefully this will stop
      people's recent unfortunate foot-wounds (I think UP machines were defaulting
      to NUMA on ...  oops).
      34b254ca
    • Andrew Morton's avatar
      [PATCH] /proc/sysrq-trigger: trigger sysrq functions via · 5d954f33
      Andrew Morton authored
      This makes sysrq facilities available to remote users.
      
      Writing a 'C' to /proc/sysrq-trigger receives the same treatment as typing
      sysrq-C on the local keyboard.
      5d954f33
    • Andrew Morton's avatar
      [PATCH] pgd_index/pmd_index/pte_index commentary · a92fb3fe
      Andrew Morton authored
      Patch from Dave Hansen <haveblue@us.ibm.com>
      
      Adds some commentary to these newly-introduced macros.
      a92fb3fe
    • Andrew Morton's avatar
      [PATCH] fix oprofile timer race · d6ff057c
      Andrew Morton authored
      Patch from John Levon <levon@movementarian.org>
      
      wli got an oops from this. The callbacks call mod_timer so the timer had
      better be setup by then
      d6ff057c
    • Andrew Morton's avatar
      [PATCH] io-apic.c: DO_ACTION cleanup · 648300b0
      Andrew Morton authored
      Patch from "Martin J. Bligh" <mbligh@aracnet.com>
      
      This removes the DO_ACTION stuff.  The downside is that we add some boring
      and repetive code.  The upside is that it's simple, and mere mortals can read
      it without screwing their brains into a small piece of silly putty and
      bouncing it off the wall.  I think that's more important than pure source
      code size.
      648300b0
    • Andrew Morton's avatar
      [PATCH] OOPS instance counters · 93b24206
      Andrew Morton authored
      Patch from "Randy.Dunlap" <rddunlap@osdl.org>
      
      Adds an oops counter to the oops messages, such as:
      
      	Oops: 0002 [#2]
      
      So we can tell whether oops reports refer to the first oops, or to some
      less-interesting followon oops.
      93b24206
    • Andrew Morton's avatar
      [PATCH] posix timers update · 9c58c3bd
      Andrew Morton authored
      Patch from george anzinger <george@mvista.com>
      
      Fix the "large sleep returns EINVAL" problem, and clean a few things up.
      9c58c3bd
    • Andrew Morton's avatar
      [PATCH] Memleak in fs/ufs/util.c · 58a90ba8
      Andrew Morton authored
      Patch from Oleg Drokin <green@namesys.com>
      
          There is trivial memleak on error exit path in
          fs/ufs/util.c::_ubh_bread_()
      58a90ba8
    • Andrew Morton's avatar
      [PATCH] memleak in fs/nfs/inode.c::nfs_get_sb() · 6bd4c9f3
      Andrew Morton authored
      Patch from Oleg Drokin <green@namesys.com>
      
         There is trivial memleak on error exit path in nfs get_sb function.
      6bd4c9f3
    • Andrew Morton's avatar
      [PATCH] slab changes for !CONFIG_MMU · 56646aa2
      Andrew Morton authored
      Patch from Christoph Hellwig <hch@lst.de>
      
      It extends the maximum amount of memory which may be kmalloced on nommu
      machines.  This is needed because these machines cannot perform vmalloc().
      
      We couldn't really find a way of doing this which avoided the ifdef tangle.
      56646aa2
    • Andrew Morton's avatar
      [PATCH] a few missing stubs for !CONFIG_MMU · d8b8d698
      Andrew Morton authored
      Patch from Christoph Hellwig <hch@lst.de>
      
      This is from the uClinux patches - there are a few more stubs needed
      in nommu.c to get the mmuless plattforms working.
      d8b8d698
    • Andrew Morton's avatar
      [PATCH] stack reduction in drivers/char/vt_ioctl.c · cb995148
      Andrew Morton authored
      Patch from "Randy.Dunlap" <randy.dunlap@verizon.net>
      
      This patch (to 2.5.64) reduces the stack usage in vt_ioctl()
      from 0x334 bytes to 0xec bytes (P4, UP, gcc 2.96).
      cb995148
    • Andrew Morton's avatar
      [PATCH] file_list: less locking · 8e82373a
      Andrew Morton authored
      - optimise file_kill() to not take the global lock if the file is not on a
        list.
      
      - Use optimised file_kill() in a few places rather than open-coding the
        list removal.
      8e82373a
    • Andrew Morton's avatar
      [PATCH] file_table: remove the private freelist · 4cac8a28
      Andrew Morton authored
      - Remove the private freelist.  There's no point in special-casing file
        structure allocations in this way.
      
      - Hence the freeing of files can be moved outside file_list_lock()
      
      - Replace euid test with capable(CAP_SYS_ADMIN).
      
      - Tidy various other things up.
      4cac8a28
    • Andrew Morton's avatar
      [PATCH] file_list cleanup · d684d33e
      Andrew Morton authored
      Replace the odd handling of f_list.next = NULL with list_emptiness.
      d684d33e
    • Andrew Morton's avatar
      [PATCH] file->f_list locking in tty_io.c · ca364896
      Andrew Morton authored
      release_mem() is altering the file->f_list lists without taking the
      appropriate spinlock.
      ca364896
    • Andrew Morton's avatar
      [PATCH] file_list_lock contention fixes · cc6c76b9
      Andrew Morton authored
      Patch from Manfred Spraul <manfred@colorfullife.com>
      
      Fixes the lock contention over file_list_lock by simply removing the unneeded
      anon_list.  So filp allocation does not need to take a global lock any more.
      
      The use of a spinlock to protect files_stat.nr_files is a bit awkward, but
      the alternative is a custom sysctl handler, and isn't much more efficient
      anyway.
      cc6c76b9
    • Andrew Morton's avatar
      [PATCH] Fix memory leak in copy_thread · 8a29d3f1
      Andrew Morton authored
      Patch from Andi Kleen <ak@muc.de>
      
      copy_thread could leak memory if you had a io bitmap and passed wrong
      arguments to the new clone flags.
      8a29d3f1