1. 16 Apr, 2002 15 commits
    • Hugh Dickins's avatar
      [PATCH] swapinfo accounting · c6df0ff4
      Hugh Dickins authored
      Randy observed that 2.5 /proc/meminfo SwapFree holds steady
      while SwapTotal goes up and down: wrong way round!
      
      Andrew pointed to wrong conditional in si_swapinfo(): 2.5.4
      updated it incorrectly when new flags bit was briefly added.
      And pointed out that it also makes si_swapinfo much too slow.
      c6df0ff4
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.make · d1ff5024
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      d1ff5024
    • Tigran Aivazian's avatar
      [PATCH] fix compiler warning in microcode driver · 9eacb89f
      Tigran Aivazian authored
      The obvious patch to fix compiler warning when compiled with RH gcc 2.96
      (and probably others too).
      9eacb89f
    • Rusty Russell's avatar
      [PATCH] set_bit takes a long · 917b3bd7
      Rusty Russell authored
      Finally, this changes set_bit et al. to take a "unsigned long *" on
      ppc and i386.  This will make the world a better place.
      
      Please forward patches for any warnings which crop up in random code
      to trivial@rustcorp.com.au.
      917b3bd7
    • Hirofumi Ogawa's avatar
      [PATCH] #include <asm/bitops.h> -> #include <linux/bitops.h> · 86a94161
      Hirofumi Ogawa authored
      We have to include linux/bitops.h for arch using generic_xxx().
      
      The following patch changes <asm/bitops.h> of include/linux/* to
      <linux/bitops.h>.
      86a94161
    • Anton Altaparmakov's avatar
      [PATCH] nbd compile fix · d4806dab
      Anton Altaparmakov authored
      Note patch compiles but is otherwise untested as no kernel after 2.5.7
      boots on my 2.5 box due to IDE hanging the box hard during device
      discovery. )-:
      d4806dab
    • Martin Dalecki's avatar
      [PATCH] 2.5.8 IDE 37 · 0c0a9d38
      Martin Dalecki authored
      - Don't abuse the sense field for passing failed packet_commands in struct
         packet_command use a new field instead.
      
      - Apply minor bits forwarded by Dave Jones to me.
      
      - Fix ide_raw_taskfile() to flag the ar used there to be no subject of free_req
         list management. This solvs the "hang after /proc/ide read" problem, which
         was in fact a memory corruption problem.
      0c0a9d38
    • Martin Dalecki's avatar
      [PATCH] 2.5.8 IDE 36 · 87689e36
      Martin Dalecki authored
      - Consolidate ide_choose_drive() and choose_drive() in to one function.
      
      - Remove sector data byteswpapping support. Byte-swapping the data is supported
         on the file-system level where applicable.  Byte-swapped interfaces are
         supported on a lower level anyway. And finally it was used inconsistently.
      
      - Eliminate taskfile_input_data() and taskfile_output_data(). This allowed us
         to split up ideproc and eliminate the ugly action switch as well as the
         corresponding defines.
      
      - Remove tons of unnecessary typedefs from ide.h
      
      - Prepate the PIO read write code for soon overhaul.
      
      - Misc small bits here and there :-).
      87689e36
    • Kai Germaschewski's avatar
      cleanup drivers/char/Makefile · 5b1e4c98
      Kai Germaschewski authored
      very minor cleanup only (I want all references to list-multi gone ;-)
      5b1e4c98
    • Kai Germaschewski's avatar
      Cleanup drivers/message/fusion/Makefile · f790061c
      Kai Germaschewski authored
      remove some long obsolete boilerplate code.
      f790061c
    • Kai Germaschewski's avatar
      Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make-export · d2a57552
      Kai Germaschewski authored
      into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make
      d2a57552
    • Linus Torvalds's avatar
      Merge bk://linuxusb.bkbits.net/linus-2.5 · 5202f40d
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      5202f40d
    • Kai Germaschewski's avatar
      Handle $(export-objs) ambiguity · e13a5e16
      Kai Germaschewski authored
      We use the makefile variable $(foo-objs) to list the objects
      a composed module foo.o is supposed to be composed of.
      
      We use the special varible $(export-objs) to list the object files which
      export symbols.
      
      This oviously clashes in the case of foo == export. There's basically
      two ways to handle it: (1) rename one of these options, like 
      foo-objs to foo-parts or something, or (2) simply disallow a composite
      object called export.o, so you never need $(export-objs) to list its
      parts.
      
      As (1) would affect basically all Makefiles in the tree and (2) doesn't
      seem much of a limitation, I went for (2).
      e13a5e16
    • Oliver Neukum's avatar
      [PATCH] kaweth usb driver updates · 5266e52c
      Oliver Neukum authored
      USB kaweth driver updates
      
      	- fixed race between close and disconnect
      	- disconnect bug
      	- add link state reporting
      	- fix an urb reference counting bug
      	- fix probe oopsability on oom
      	- groundwork for atomic pool depletion
      	- cosmetic changes
      5266e52c
    • Rusty Russell's avatar
      [PATCH] USB set-bit takes a long tweaks · b1d0f8a2
      Rusty Russell authored
      This removes gratuitous & operators in front of USB's
      dev->bus->devmap.devicemap and state->unitbitmap, for bitops.
      
      This just makes it so it doesn't warn when set_bit et. al take a
      long...
      
      No object code changes,
      Rusty.
      b1d0f8a2
  2. 15 Apr, 2002 25 commits
    • Neil Brown's avatar
      [PATCH] PATCH - Create "export_operations" interface for filesystems to describe · dcd21270
      Neil Brown authored
      Create "export_operations" interface for filesystems to describe
      whether and how they should be exported.
      
      - add new field in struct super_block "s_export_op" to describe
        how a filesystem is exported (i.e. how filehandles are mapped to
        dentries).
      - New module: fs/exportfs for holding helper code for mapping between
        filehandles and dentries
      - Change nfsd to use new interface if it exists.
      - Change ext2 to provide new interface
      - Add documention to filesystems/Exporting
      
      If s_export_op isn't set, old mechanism still works, but it is
      planned to remove old method and only use s_export_op.
      dcd21270
    • Neil Brown's avatar
      [PATCH] dcache changes for preparing for "export_operations" interface for nfsd to use. · 0de4fa30
      Neil Brown authored
      Prepare for new export_operations interface (for filehandle lookup):
      
       - define d_splice_alias and d_alloc_anon.
       - define shrink_dcache_anon for removing anonymous dentries
       - modify d_move to work with anonymous dentries (IS_ROOT dentries)
       - modify d_find_alias to avoid anonymous dentries where possible
         as d_splice_alias and d_alloc_anon use this
       - put in place infrastructure for s_anon allocation and cleaning
       - replace a piece of code that is in nfsfh, reiserfs and fat
         with a call to d_alloc_anon
       - Rename DCACHE_NFSD_DISCONNECTED to DCACHE_DISCONNECTED
       - Add documentation at Documentation/filesystems/Exporting
      0de4fa30
    • Douglas Gilbert's avatar
      [PATCH] Re: [PATCH] advansys scsi driver lk2.5.8-pre3 · 2b2bf47e
      Douglas Gilbert authored
      Advansys SCSI driver update:
       - locking fixes
       - handle the "address" -> "page+offset" switch
      2b2bf47e
    • Linus Torvalds's avatar
      Remove bogus ignore files · 9e320b4f
      Linus Torvalds authored
      9e320b4f
    • Linus Torvalds's avatar
      Merge http://lia64.bkbits.net/to-linus-2.5 · b3203cbc
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      b3203cbc
    • Greg Kroah-Hartman's avatar
      USB cdc-acm driver · 7cc718a8
      Greg Kroah-Hartman authored
      Made urb allocation dynamic, as the USB core needs this now.
      7cc718a8
    • Petko Manolov's avatar
      [PATCH] various pegasus and rtl8150 fixes and improvements · 964f3281
      Petko Manolov authored
      USB pegasus and rtl8150 fixes and improvements
      
      pegasus:
      	- using preallocated skb thus avoiding memcpy in the receive path;
      	- tasklet used to handle failed skb allocations and Rx urb submission;
      	- Lindent run on the result.
      
      rtl8150:
      	- better tasklet handling and a few races fixed;
      	- introducing new flag for Rx urb resubmission;
      	- GFP_KERNEL to GFP_ATOMIC flag change in Tx path.
      964f3281
    • Robert Love's avatar
      [PATCH] comment cleanups for cpu affinity syscall · e4fa49bd
      Robert Love authored
      A few (anal) comment cleanups and additions in relationship to the new
      task cpu affinity syscalls.  All no brainers.
      e4fa49bd
    • Andy Grover's avatar
      [PATCH] fix ACPI patch clobber · ee62b709
      Andy Grover authored
      This fixes the mpparse.c clobbering the last ACPI patch did. Martin, look
      OK? Again, my apologies.
      ee62b709
    • Robert Love's avatar
      [PATCH] migration_thread preempt fix · e1efc1f3
      Robert Love authored
      This fixes a race in migration_thread which results in a deadlock on
      boot for some SMP systems.  The fix is to to disable preemption inside
      of set_cpus_allowed.
      
      Andrew Morton first noticed the problem and provided the following patch
      a few weeks back.  I was not affected until the recent migration_init
      fix, for some odd reason.  Neither Andrew nor I think this is actually
      kernel preemption's fault but perhaps a race in the tricky behavior of
      the migration code.
      e1efc1f3
    • James Simmons's avatar
      [PATCH] fbdev api cleanup. · 57df9900
      James Simmons authored
      This patch is the start of the cleanup of the fbdev layer. It has been
      approved by Geert and has been tested for some time in the Dave Jones
      tree.
      57df9900
    • Paul Fulghum's avatar
      [PATCH] 2.5.8 n_hdlc.c · 948964a6
      Paul Fulghum authored
      Remove localy defined wait queues and use wait queues
      in tty structure of same function. This matches the
      n_tty.c behavior.
      
      Handle pty hangup when blocked on read.
      
      These 2 changes fix use of n_hdlc with PPPoATM and
      are mirror changes included in 2.4.19-pre
      948964a6
    • Paul Fulghum's avatar
      [PATCH] 2.5.8 synclink.c · a8a7cf5b
      Paul Fulghum authored
      patch to update virt_to_bus functions and remove version depedent #ifdef
      statements
      a8a7cf5b
    • Jens Axboe's avatar
      [PATCH] get_request() starvation fix · 52e36bc2
      Jens Axboe authored
      This is originally from Andrew in the 2.4 series, please apply for 2.5
      as well.
      52e36bc2
    • Douglas Gilbert's avatar
      [PATCH] st driver in lk 2.5.7 and beyond · b73335fe
      Douglas Gilbert authored
      Fix oops in st_open..
      b73335fe
    • Dave Hansen's avatar
      [PATCH] fix race and remove BKL from wdt977 · 745f4617
      Dave Hansen authored
      We've seen this in several other drivers, most recently the indydog one.
        If two simultaneous opens occur, they race, they device gets opened
      twice, blah, blah, blah.  Using atomic bitops fixes this.  The BKL is
      not needed.
      745f4617
    • Paul Mackerras's avatar
      [PATCH] fix include/linux/smp.h · 0a96b71a
      Paul Mackerras authored
      This patch adds #include <linux/threads.h> to include/linux/smp.h,
      because it (smp.h) needs the definition of NR_CPUS.  (It so happens
      that include/asm-i386/smp.h includes <linux/threads.h>, but IMHO
      include/linux/smp.h shouldn't rely on that).
      0a96b71a
    • Russell King's avatar
      [PATCH] 2.5.7 allow fat to compile · 0a686677
      Russell King authored
      This is needed to for 2.5.7 FAT to build on ARM.
      0a686677
    • Russell King's avatar
      [PATCH] 2.5.7 ALSA include fixes · 3c195d84
      Russell King authored
      Include fixes to allow ALSA to compile.
      3c195d84
    • Andrew Morton's avatar
      [PATCH] don't allocate ratnodes under PF_MEMALLOC · 49c7ca7c
      Andrew Morton authored
      On the swap_out() path, the radix-tree pagecache is allocating its
      nodes with PF_MEMALLOC set, which allows it to completely exhaust the
      free page lists(*).  This is fairly easy to trigger with swap-intensive
      loads.
      
      It would be better to make those node allocations fail at an earlier
      time.  When this happens, the radix-tree can still obtain nodes from its
      mempool, and we leave some memory available for the I/O layer.
      (Assuming that the I/O is being performed under PF_MEMALLOC, which it
      is).
      
      So the patch simply drops PF_MEMALLOC while adding nodes to the
      swapcache's tree.
      
      We're still performing atomic allocations, so the rat is still biting
      pretty deeply into the page reserves - under heavy load the amount of
      free memory is less than half of what it was pre-rat.
      
      It is unfortunate that the page allocator overloads !__GFP_WAIT to also
      mean "try harder".  It would be better to separate these concepts, and
      to allow the radix-tree code (at least) to perform atomic allocations,
      but to not go below pages_min.  It seems that __GFP_TRY_HARDER will be
      pretty straightforward to implement.  Later.
      
      The patch also impements a workaround for the mempool list_head
      problem, until that is sorted out.
      
      
      
      (*) The usual result is that the SCSI layer dies at scsi_merge.c:82.
      It would be nice to have a fix for that - it's going BUG if 1-order
      allocations fail at interrupt time.  That happens pretty easily.
      49c7ca7c
    • Liyang Hu's avatar
      [PATCH] Bug in NLS UTF-8 code · de6ca58c
      Liyang Hu authored
      I've recently (actually, last month, but I had been a bit too busy
      since then) come across a wee problem, in what I originally thought
      was the VFAT code -- having `utf8' as one of the options, creating
      UTF-8 file names on a VFAT partition mysteriously gains a couple of
      (random) characters just after the UTF-8 escaped character: eg.
      touch "fooCbar" where C is an UTF-8 escape sequence ends up creating
      a file named "fooCRbar". (R being some random character.)
      
      I eventually tracked it down to one line in fs/nls/nls_base.c -- the
      UCS-2 (wchar_t) string pointer was being incremented too fast. After
      consulting Ogawa Hirofumi-san on the subject, he mentioned that
      include/linux/nls.h also needs to be changed for proper UTF-8
      support in the NLS code.
      de6ca58c
    • Dave Jones's avatar
      [PATCH] Seperates bfs_sb_info from struct super_block. · c544f64e
      Dave Jones authored
      Originally from Brian Gerst
      
      (Includes the bfs fix sent prior to this one to this -- disregard
       earlier bfs related email)
      c544f64e
    • Andrew Morton's avatar
      [PATCH] JFS build fix for 2.5.8 · 6bef9146
      Andrew Morton authored
      Missed a page->buffers -> page->private conversion.
      Apologies..
      6bef9146
    • Steven Cole's avatar
      [PATCH] 2.5.7-dj2 add 5 help texts to arch/ia64/Config.help · 9921dc27
      Steven Cole authored
      This patch adds 5 help texts to arch/ia64/Config.help.  The texts were
      obtained from Eric S.  Raymond's v2.97 Configure.help.
      9921dc27
    • Dave Jones's avatar
      [PATCH] PnP BIOS catch up · 05352d8c
      Dave Jones authored
      The patch to the PnP BIOS driver that was in 2.5.7-dj and which
      went into 2.5.8-pre1 did not include Brian Gerst's SMP fix.
      05352d8c