1. 06 Feb, 2002 35 commits
    • Andi Kleen's avatar
      [PATCH] Fix mount hash table · 748261c0
      Andi Kleen authored
      On my 512MB machine with 6 mount points the mount hash table uses 64K.
      This patch brings it to a more reasonable size by limiting it to one
      page.
      748261c0
    • Andi Kleen's avatar
      [PATCH] Fix page cache limit wrapping in filesystems · 2ad3072d
      Andi Kleen authored
      Several file systems in tree that nominally support files >2GB set their
      s_maxbytes value to ~0ULL. This has the nasty side effect on 32bit machines
      that when a file write reaches the page cache limit (e.g. 2^43) it'll silently
      wrap and destroy data at the beginning of the file.
      
      This patch changes the file systems in question to fill in a proper limit.
      
      I also have an alternate patch that adds a check for this generically
      in super.c, but preliminary comments from Al suggested that he prefered
      to do it in the file systems, so it is done this way way.
      2ad3072d
    • Andi Kleen's avatar
      [PATCH] Automatic file-max sizing · d8fbaf73
      Andi Kleen authored
      The default for NR_FILES of 8192 is far too low for many workloads. This
      patch does dynamic sizing for it instead. It assumes file+inode+dentry
      are roughly 1K and will use upto 10% of the memory for it.
      
      Also removes two obsolete prototypes.
      d8fbaf73
    • Andi Kleen's avatar
      [PATCH] Bootmem speedup · 0c16b441
      Andi Kleen authored
      This patch speeds the bootmem freeing up a bit. Not particularly important,
      but helps on some slow simulators where the loop can chew up significant
      CPU time.
      0c16b441
    • Andi Kleen's avatar
      [PATCH] Slab name cleanup - last try · 101ed2c8
      Andi Kleen authored
      Hallo Linus,
      
      This is the slab name cleanup you originally requested when the reiserfs
      slab name too long boot bug was introduced. It replaces the static
      name limit for slab cache names with the requirement for the caller
      to supply a stable name. This version addresses all concerns that were given
      over earlier versions of the patch.
      
      As I do not feel very strongly about the slab cache name limit and you
      also do not seem to be interested in it and the original bug of reiserfs
      not booting anymore has been long fixed in your tree with the patch
      you originally rejected from me I will not resend this patch after this
      try.
      
      Patch against 2.5.4pre1.
      
      -Andi
      101ed2c8
    • Linus Torvalds's avatar
      Merge bk://linuxusb.bkbits.net/linus-2.5 · c3463389
      Linus Torvalds authored
      into athlon.transmeta.com:/home/torvalds/v2.5/linux
      c3463389
    • Greg Kroah-Hartman's avatar
      Merge soap.kroah.net:/home/greg/linux/bk_main/gregkh-2.5 · beea5bda
      Greg Kroah-Hartman authored
      into soap.kroah.net:/home/greg/linux/bk_main/usb-3
      beea5bda
    • Greg Kroah-Hartman's avatar
      Merge soap.kroah.net:/home/greg/linux/bk_main/gregkh-2.5 · 13f03cc8
      Greg Kroah-Hartman authored
      into soap.kroah.net:/home/greg/linux/bk_main/usb-2
      13f03cc8
    • Greg Kroah-Hartman's avatar
    • Greg Kroah-Hartman's avatar
      usb_submit_urb() changes. · af2a09fe
      Greg Kroah-Hartman authored
      Patch done by Oliver Neukum.
      af2a09fe
    • Greg Kroah-Hartman's avatar
    • Greg Kroah-Hartman's avatar
      usb_submit_urb() changes for the drivers/usb/*.c drivers. · 6ab1c9a3
      Greg Kroah-Hartman authored
      Some driver changes were done by Oliver Neukum and David Brownell.
      6ab1c9a3
    • Greg Kroah-Hartman's avatar
      "mem_flags" support for the cris usb host controller. · da62b3af
      Greg Kroah-Hartman authored
      These changes have been approved by the CRIS maintainer.
      da62b3af
    • Greg Kroah-Hartman's avatar
      usb host controllers: · 2193b1ea
      Greg Kroah-Hartman authored
      	- add mem_flags support
      	- portions of this patch by Oliver Neukum and David Brownell.
      2193b1ea
    • Greg Kroah-Hartman's avatar
      usb core: · a707e953
      Greg Kroah-Hartman authored
      	- initial add of the "int mem_flags" call to the usb_submit_urb() call
      a707e953
    • Greg Kroah-Hartman's avatar
      patch from dimitry for the usb ibmcam driver that does: · 17a4de9d
      Greg Kroah-Hartman authored
        	- Updates the documentation
        	- Adds Veo Stingray support
        	- Fixes hotplug table dependency upon now-defunct symbol
        	- deletes drivers/usb/ibmcam.h
      17a4de9d
    • Greg Kroah-Hartman's avatar
      patch from Wolfgang Mües <wmues@nexgo.de> for the usb auerswald.c driver: · f0b11874
      Greg Kroah-Hartman authored
        	- Code-Review from Oliver Neukum: remove SMP races.
        	- Added some wake_up calls after auerbuf_releasebuf to wake up tasks waiting
        	  for cp buffers.
        	- Change the module count handling to automatic (owner: THIS_MODULE).
      f0b11874
    • Linus Torvalds's avatar
      fatfs_syms.c: · a1b0bef9
      Linus Torvalds authored
        Al Viro: fix a typo (destory->destroy)
      a1b0bef9
    • Hans Reiser's avatar
      [PATCH] reiserfs fix for inodes with wrong item versions (2.5) · 9e983e1e
      Hans Reiser authored
         This is hopefully last bugfix for a bug introduced by struct inode splitting.
         Because of setting i_flags to some value and then cleaning the i_flags
         contents later, on-disk items received wrong item version ob v3.6 filesystems
      9e983e1e
    • Alexander Viro's avatar
      [PATCH] fix for exit_fat_fs() · f3c4ee09
      Alexander Viro authored
      	Kudos to OGAWA Hirofumi for finding that one - gcc barfs on the
      current code, trying to define an alias to external symbol.
      f3c4ee09
    • Alexander Viro's avatar
      [PATCH] missing ->i_zombie in hpux_getdents() · 7b4b5a08
      Alexander Viro authored
      	hpux_getdents() contains a years-old copy of code from fs/readdir.c.
      Switched to use of vfs_readdir(), which does correct locking.
      7b4b5a08
    • Alexander Viro's avatar
      [PATCH] more sleep_on() removals · 9a468439
      Alexander Viro authored
      	Yet another flag/wait_queue pair bites the dust - hfs bitmap_{lock,wait}
      was trying to implement a semaphore.
      9a468439
    • Alexander Viro's avatar
      [PATCH] death of hfs rename_lock · 62297add
      Alexander Viro authored
      	Useless (lock,waitqueue) pair killed - we have fs-wide
      exclusion between renames enforced by VFS, so hfs rename_{lock,wait}
      can be removed.
      62297add
    • Alexander Viro's avatar
      [PATCH] hpfs cleanup (switch from sleep_on() to semaphore) · 6ccadfbb
      Alexander Viro authored
      	Pair (flag, wait_queue) in hpfs replaced with semaphore.
      6ccadfbb
    • Robert Love's avatar
      [PATCH] 2.5.4-pre1: further llseek cleanup (3/3) · 3ffa0b66
      Robert Love authored
      The previous patch did not provide protection for device lseek methods
      (drivers/* stuff).  This patch pushes the BKL into each of the remaining
      lseek methods -- without them we have a race.
      
      I'd much prefer to have a a better lock to push down than the BKL, but
      that will have to wait.
      
      Before you balk at the size, remember patch #2 in this series which
      removed much code ;-)
      
      Thanks to Al for assistance, especially a listing of affected files.
      
      	Robert Love
      3ffa0b66
    • Robert Love's avatar
      [PATCH] 2.5.4-pre1: further llseek cleanup (2/3) · a0289e82
      Robert Love authored
      This is the second patch of three implementing further llseek cleanups,
      against 2.5.4-pre1.  It does not depend on the other patches.
      
      This patch cleans up various code and quite nicely removes much more
      code than it adds.  Specifically:
      
      - remove static lseek method which merely reimplements
        the standard no_llseek in the following seven files:
        hci_vhci.c, ite8172.c, nec_vrc5477.c, auerswald.c,
        pipe.c, netlink_dev.c, and socket.c
      
      - remove fs/ufs/file.c::ufs_file_lseek -- Al says it is
        reimplementing generic_file_llseek, so let's use that
        instead (the comment about 32-bit sizes shouldn't be
        an issue, the generic method checks size)
      
      - include smp_lock.h in 3 files missed from previous
        'remove bkl' patch
      
      - Documentation/filesystem/Locking update
      
      Please, apply.
      
      	Robert Love
      a0289e82
    • Robert Love's avatar
      [PATCH] 2.5.4-pre1: further llseek cleanup (1/3) · 5284a260
      Robert Love authored
      This is the first of three patches implementing further llseek cleanup,
      against 2.5.4-pre1.
      
      The 'push locking into llseek methods' patch was integrated into 2.5.3.
      The networking filesystems, however, do not protect i_size and can not
      rely on the inode semaphore used in generic_file_llseek.
      
      This patch implements a remote_llseek method, which is basically the
      pre-2.5.3 version of generic_file_llseek.  Locking is done via the BKL.
      When we have a saner locking system in place, we can push it into this
      function in lieu.
      
      Ncpfs, nfs, and smbfs have been converted to use this new llseek.
      
      Note this is updated over the previous posted patch.
      
      	Robert Love
      5284a260
    • Alexander Viro's avatar
      [PATCH] (5/5) beginning of getattr series. · 65ae2396
      Alexander Viro authored
      ia64: switched from sys_new*stat() to vfs_*stat() and cleaned up. 
      65ae2396
    • Alexander Viro's avatar
      [PATCH] (4/5) beginning of getattr series. · d663eaa9
      Alexander Viro authored
      solaris: switched from sys_new*stat() to vfs_*stat() and cleaned up. 
      Missing LFS check added. 
      d663eaa9
    • Alexander Viro's avatar
      [PATCH] (3/5) beginning of getattr series. · 73136fa5
      Alexander Viro authored
      irix_...() switched from sys_new*stat() to vfs_*stat() and cleaned up. 
      Missing LFS check added
      73136fa5
    • Alexander Viro's avatar
      [PATCH] (2/5) beginning of getattr series. · 9bf01f06
      Alexander Viro authored
      stat(2) variants in arch/* that used to copy inode fields manually
      switched to vfs_*stat() and partially cleaned up
      9bf01f06
    • Alexander Viro's avatar
      [PATCH] (1/5) beginning of getattr series. · 70902864
      Alexander Viro authored
      	added new helpers - vfs_stat(), vfs_lstat() and vfs_fstat().
      	fs/stat.c switched to use them.
      
      Following patches will
      
      	stat(2) variants in arch/* that used to copy inode fields manually
      	switched to vfs_*stat() and partially cleaned up
      
      	irix_...() switched from sys_new*stat() to vfs_*stat() and cleaned
      	up.  Missing LFS check added.
      
      	similar for solaris ones
      
      	ditto for x86 compatibility ones on ia64.
      
      We are almost ready to switch to ->getattr() - let filesystem decide what
      values should go into ->st_... (e.g. for CODA life would become much
      easier if it could just use ->i_size of caching file, for supermount
      we want ->i_ino inherited from underlying fs, etc.)
      
      Another thing that needs to be done is fixing the rest of LFS/uid size
      fsckups in architecture-specific variants of stat() - I've fixed several,
      but quite a few are still there.
      70902864
    • Alexander Viro's avatar
      [PATCH] (2/2) inode trimming · 4b64f8f0
      Alexander Viro authored
      	procfs switched to alloc_inode/destroy_inode.
      4b64f8f0
    • Alexander Viro's avatar
      [PATCH] (1/2) inode trimming · 628561a6
      Alexander Viro authored
      	more inode->u trimming - socket_i is killed.
      628561a6
    • Dave McCracken's avatar
      [PATCH] Third version of signal changes for thread groups · 676952b9
      Dave McCracken authored
      During the course of developing our pthread library (the NGPT pthread
      library) it became clear we needed some kernel support for handling
      signals.  This patch helps the library by redirecting all signals sent
      to tasks in a thread group to the thread group leader.  It also defines
      the tkill() system call so the library can signal a specific task if
      necessary. 
      
      Given that as far as I know NGPT is the only user of thread groups, and
      that this change would benefit any other user of thread groups, I'm
      submitting this for inclusion in the 2.5 kernel.
      
      Note that this patch also adds support for sys_gettid() for the
      architectures that don't have it.  While this could have been split into a
      spearate patch, it would create conflicts since this patch also adds
      sys_tkill(), so I felt it was cleaner to leave them together.
      
      Dave McCracken
      
      ======================================================================
      Dave McCracken          IBM Linux Base Kernel Team      1-512-838-3059
      dmccr@us.ibm.com                                        T/L   678-3059
      676952b9
  2. 05 Feb, 2002 5 commits
    • Linus Torvalds's avatar
      defconfig: · 040fdeaf
      Linus Torvalds authored
        update
      040fdeaf
    • Linus Torvalds's avatar
      Makefile: · 1e5acec0
      Linus Torvalds authored
        Update version
      1e5acec0
    • Vojtech Pavlik's avatar
      · 1c025398
      Vojtech Pavlik authored
      The patch moves:
      
      	* joystick drivers from drivers/char/joystick to drivers/input/joystick
      	* gameport drivers from drivers/char/joystick to drivers/input/gameport
      	* serio drivers from drivers/char/joystick to drivers/input/serio
      
      I don't think the joystick drivers should stay in char, because they're
      NOT character device drivers (check for register_chrdev, none to be found).
      
      It also fixes build problems with sound driver gameport support.
      1c025398
    • Kai Germaschewski's avatar
      [PATCH] 2.5.3 ISDN work around buggy hw · 88d3c6a5
      Kai Germaschewski authored
      the appended patch works around a bug in the PLX9050 chip. This chip is
      used in various PCI ISDN adapters (it's an PCI interface chip) and has
      an erratum when the BAR 0/1 has bit 7 set (the size of the region is
      0x80, so aligning it to 0x80 is legal and really happens for people).
      
      This workaround has been tested by a user who hit this problem with a
      Gazel card. Basically the same fix has been done for Elsa cards, but it's
      untested.
      88d3c6a5
    • Kai Germaschewski's avatar
      [PATCH] 2.5.3 ISDN hisax_fcpcipnp driver fix · 4e8cbe30
      Kai Germaschewski authored
      the appended patch fixes a problem where the ->rcvidx variable was not
      initialized properly.
      4e8cbe30