1. 05 Mar, 2002 18 commits
    • Corey Minyard's avatar
      [PATCH] Re: PPP and shared zlib code in 2.5 · 09c1076e
      Corey Minyard authored
      Ok, I found it.  The problem was in the decompression code.
      
      In inflate.c, in the routine zlib_inflate(), it reuses the passed-in "f"
      parameter as a return value, but the PPP packet compression stuff needs
      that return value later.
      09c1076e
    • Brian Gerst's avatar
      [PATCH] Better kmalloc effeciency · 455d075a
      Brian Gerst authored
      This patch adds two intermediate general cache sizes, 96 and 192 bytes.
      On my system this saves about 34k.
      
      size-256              63    180    256    5   12    1
      size-192              95    120    192    5    6    1
      size-128             213    240    128    8    8    1
      size-96             1080   1120     96   28   28    1
      455d075a
    • Robert Love's avatar
      [PATCH] 2.5: preempt on UP critical fix · e868c063
      Robert Love authored
      During 2.5.5-pre schedule_tail was optimized away under UP.  We need it
      for preempt-kernel, too, since it decrements the preempt_count to 0
      coming off do_fork.
      
      Without this patch, CONFIG_PREEMPT + !CONFIG_SMP does not gain one very
      much.  
      
      	Robert Love
      e868c063
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk · f60852d2
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      f60852d2
    • Linus Torvalds's avatar
      Merge bk://linuxusb.bkbits.net/linus-2.5 · a22655dc
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      a22655dc
    • Alexander Viro's avatar
      [PATCH] Remove SWP_BLOCKDEV · 246998f1
      Alexander Viro authored
      	Below is a followup to bd_claim patch - it is the last one
      from the current series.  Removes SWP_BLOCKDEV flag - it isn't needed
      anymore.
      246998f1
    • Alexander Viro's avatar
      [PATCH] death of is_mounted() and aother fixes · 75e9c9e1
      Alexander Viro authored
      *	new functions - bd_claim(bdev, holder) and bd_release(bdev).
      	bd_claim(bdev, holder) fails is device is already claimed by
      	somebody else; bd_release(bdev) gives device up.
      
      *	get_sb_bdev() claims device for fs_type; it means that we don't need
      	to look through entire least of superblocks anymore - just through
      	the list of superblocks belonging to that type (i.e. the same thing
      	we do for non-block filesystems; that will allow to merge quite a
      	bit of code afterwards).
      
      *	sys_swapon claims device for itself;  free exclusion with mounting,
      	end of problems with bogus set_blocksize().
      
      *	is_mounted() and is_swap_partition() are gone - what we actually
      	wanted was "try to claim device for ourselves".  Which we can do
      	now - without races inherent to is_mounted()/is_swap_partition().
      
      *	RAID lock_rdev() claims device for itself.  I.e. we get rid of
      	is_mounted() in there (BTW, is_swap_partition() was missing) and
      	we get protection both ways - not only RAID won't take an already
      	mounted device, but mount won't stomp on a device claimed by RAID.
      
      There are other places that would benefit from the same (e.g. ext3 with
      external journal almost definitely wants to claim device for itself).
      
      Notice that it's a cooperative thing - neither open() nor raw device stuff
      claim the block device, so they don't care if device is mounted, etc.  So
      we don't break fsck and friends - exclusion is between those who know that
      they want that exclusion.
      75e9c9e1
    • Alexander Viro's avatar
      [PATCH] (3/3) more kdev_t removals · d9036aaf
      Alexander Viro authored
      d9036aaf
    • Alexander Viro's avatar
      [PATCH] (2/3) more kdev_t removals · ebe5c28e
      Alexander Viro authored
      ebe5c28e
    • Alexander Viro's avatar
      [PATCH] (1/3) more kdev_t removals · b3954b06
      Alexander Viro authored
      	1.	moves a bunch of generic ioctls from sr_dev_ioctl() to
      		cdrom_ioctl().
      	2.	switches blk_ioctl() to struct block_device *
      	3.	ditto for blkpg_ioctl()
      b3954b06
    • Alexander Viro's avatar
      [PATCH] export for dparent_lock · 0e7e6fda
      Alexander Viro authored
      	Missing export for dparent_lock.
      0e7e6fda
    • Jean Tourrilhes's avatar
      [PATCH] : ir256_usb_cow_urballoc.diff · b6684ff2
      Jean Tourrilhes authored
      ir256_usb_cow_urballoc.diff :
       ---------------------------
      	o [FEATURE] Don't use skb_cow() unless we really need to
      	o [CORRECT] Reorder URB init to avoid races
      	o [CORRECT] USB dealy adds processing time, not removes it
              <Following patch from Greg KH <greg@kroah.com> himself !!!>
      	o [CRITICA] Use dynamically allocated URBs (instead of statically)
      b6684ff2
    • Jean Tourrilhes's avatar
      [PATCH] : ir256_lap_icmd_fix-4.diff · 1489877f
      Jean Tourrilhes authored
      ir256_lap_icmd_fix-4.diff :
       -------------------------
      	o [CORRECT] Fix Tx queue handling (remove race, keep packets in order)
      	o [CORRECT] Synchronise window_size & line_capacity and make sure
      	  we never forget to increase them (would stall Tx queue)
      	o [FEATURE] Group common code out of if-then-else
      	o [FEATURE] Don't harcode LAP header size, use proper constant
      	o [FEATURE] Inline irlap_next_state() to decrease bloat
      1489877f
    • Jean Tourrilhes's avatar
      [PATCH] : ir256_irnet_disc_ind.diff · 5ba24bbf
      Jean Tourrilhes authored
      ir256_irnet_disc_ind.diff :
       -------------------------
      	o [CORRECT] Fix IrNET disconnection to not reconnect but
      	  instead to hangup pppd
      5ba24bbf
    • Jean Tourrilhes's avatar
      [PATCH] : ir256_sock_connect_cli.diff · a23389e4
      Jean Tourrilhes authored
      ir256_sock_connect_cli.diff :
       ---------------------------
      	o [CRITICA] Fix socket connect to remove dangerous cli()
      	<Tested on SMP>
      a23389e4
    • Jean Tourrilhes's avatar
      [PATCH] : ir256_bus_to_virt.diff · a18e3e5c
      Jean Tourrilhes authored
      ir256_bus_to_virt.diff :
       ----------------------
      	o [CRITICA] Fix ISA FIR drivers for new DMA API
      	<PCI FIR drivers are still broken and need fixing>
      a18e3e5c
    • Russell King's avatar
      Merge flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-rmk-patchtest · ed78e24b
      Russell King authored
      into flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-rmk
      ed78e24b
    • Stefan Eletzhofer's avatar
      [PATCH] 1022/1: Initial PCMCIA support for PT Digital Board · eed3ac83
      Stefan Eletzhofer authored
      This patch adds PCMCIA/CF support for the
      PT Digital Board (CONFIG_SA1100_PT_SYSTEM3).
      
      2nd try .... :)
      
      Changed files:
      linux/drivers/pcmcia/Makefile
      linux/drivers/pcmcia/sa1100.h
      linux/drivers/pcmcia/sa1100_generic.c
      Added files:
      linux/drivers/pcmcia/sa1100_system3.c
      eed3ac83
  2. 04 Mar, 2002 2 commits
  3. 03 Mar, 2002 1 commit
  4. 02 Mar, 2002 9 commits
    • Russell King's avatar
      Merge flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5 · 4c4f9ecf
      Russell King authored
      into flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-rmk
      4c4f9ecf
    • Russell King's avatar
      Merge flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-rmk · 3a630cb6
      Russell King authored
      into flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-rmk-patchtest
      3a630cb6
    • Boris Itkis's avatar
      [PATCH] 1007/1: Allow for not having the MSDOS partion manager for the arm · d9b863a1
      Boris Itkis authored
      This patch allow for no MSDOS partition manager for the ARM. There are many arm
      system with no hard disk partitions forcing a partition manager is not required.
       
      Files affected:
       
      fs/partitions/Config.in
      d9b863a1
    • Stefan Eletzhofer's avatar
      [PATCH] 1006/1: PT Digital Board 2.5.x IRQ changes · 1e479c31
      Stefan Eletzhofer authored
      2.5.x IRQ changes for PT Digital Board.
      Also some code cleanups.
      
      Changed files:
      linux/arch/arm/mach-sa1100/system3.c
      linux/include/asm-arm/arch-sa1100/irqs.h
      linux/include/asm-arm/arch-sa1100/system3.h
      1e479c31
    • Russell King's avatar
      Update PTE functions to be in line with 2.5.5. · 88ae31fc
      Russell King authored
      This is a minimal "get it working again" patch; there are plans a
      foot to re-jig the page table code to work better with Ingo Molnar's
      changes.  These same plans also allow the ARM page tabkes to fit
      into Rik van Riel's rmap significantly better.
      
      (We're currently abusing the struct page * returned from pte_alloc_one,
      treating it as if it were the same as a pte_t *)
      88ae31fc
    • Russell King's avatar
      Fix up SA1100 PCMCIA for IRQ handling changes. · ce1e6b9f
      Russell King authored
      Major SA1100 generic DMA cleanup.
      Fix suspend/resume bugs.
      Provide and use new SA1111 generic driver for SA1111-based devices.
      ce1e6b9f
    • David Brownell's avatar
      [PATCH] PATCH to MAINTAINERS file · 2e9f2e35
      David Brownell authored
      Thought I should add myself for the
      "ehci-hcd" and "usbnet" drivers.
      
      This is against 2.5.5 ...
      2e9f2e35
    • Jan Harkes's avatar
      [PATCH] 2.5.6-pre2 - Coda fixes and cleanups · 839e0e16
      Jan Harkes authored
      Here is a batch of accumulated bugfixes and cleanups for the Coda kernel
      module. Patch is against 2.5.6-pre2, I could also send these as separate
      patches.
      
      bugfix: Fix coda_dentry_revalidate bug
      
          Due to a bad test, coda_dentry_revalidate was forcing revalidation
          of cacheable inodes, and allowed caching of non-cacheable inodes.
      
      bugfix: Corrected i_mtime/i_ctime setting
      
          i_mtime and i_ctime were not always updated when writing to a file,
          or when modifying inode attributes.
      
      cleanup/optimization: Avoid getattr upcalls
      
          We can use coda_iget directly instead of coda_cnode_make when an
          upcall returns attributes and avoid the getattr upcall altogether.
      
      cleanup: Removed debugging messages
      
          CDEBUG macros haven't been useful ever since the initial development
          when they were introduced. They are too verbose for debugging
          purposes. Removing these saves about a third of the compiled size of
          the module.
      
          Removed print_entry variable that was used by ENTRY/EXIT macros
          which are already gone.
      
      cleanup/optimization: Readdir simplification
      
          Relying on the fact that the pagecache is already buffering far more
          efficiently, simplified coda_readdir implementation. We can now fill
          the complete userbuffer instead of returning after reading only 2KB.
      
          Passing dir entry types that are present in the venus_dirent
          structure to the user as well.
      
      cleanup: Removed redundant permissions statistics counters.
      
          The permission check count is about identical to the 'permission'
          field in the VFS stats, and the permission hit counter can trivially
          be derived from upcall_stats.access - vfs_stats.permission. Removed
          these redundant counters.
      
      cleanup: Removed useless test for c_flags in coda_revalidate_inode.
      
          We already know c_flags is set due to earlier tests.
      839e0e16
    • Linus Torvalds's avatar
      Merge bk://ppc.bkbits.net/for-linus-ppc · fecb0199
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      fecb0199
  5. 03 Mar, 2002 3 commits
  6. 02 Mar, 2002 7 commits
    • Linus Torvalds's avatar
      Automerge · a291da91
      Linus Torvalds authored
      a291da91
    • Rusty Russell's avatar
      [PATCH] 2.5.6-pre2 III: spelling · b965dc9f
      Rusty Russell authored
      These are all in the 2.4.19-pre2.
      
      "Jahn Veach" <V64@V64.net>: [PATCH 2.5.4] Typo corrections.
      
      Pavel Machek <pavel@ucw.cz>: Whitespace PCI cleanups (fwd).
      
      quinlan@transmeta.com: [PATCH] take COPYING into new century:
      	These mods are directly from the FSF version.
      b965dc9f
    • Rusty Russell's avatar
      [PATCH] 2.5.6-pre2 I: 2.2.19-pre2 SYNC · c1b80063
      Rusty Russell authored
      	This set of one-liners are the ones which have already gone
      into 2.2.19-pre2.
      
      Andrey Panin <pazke@orbita1.ru>: [PATCH] arch_i386_kernel_smpboot.c missing __init:
        this patch adds missing __init directive for div64() function
        in arch/i386/kernel/smpboot.c. div64() is only used
        synchronize_tsc_bp() function which is marked __init.
      
      Andrey Panin <pazke@orbita1.ru>: [PATCH] remove annoying ISAPNP message:
        This patch removes useless messages like:
        "isapnp: Calling quirk for 02:00".
      
      John Fremlin <john@fremlin.de>: Patch to fix off by one in ide-scsi:
        Patch to fix off by one in ide-scsi
      
        To see it is correct compare with ide-cd behaviour
      
      René Scharfe <l.s.r@web.de>: [PATCH] compiler warnings in scripts_tkgen.c:
        this patch fixes two compiler warnings during make xconfig which
        turn up if one uses -Wshadow
      c1b80063
    • Rusty Russell's avatar
      [PATCH] 2.5.6-pre2 II: rd cleanup · 9e1a760d
      Rusty Russell authored
      From: Dave Jones <davej@suse.de>
        kernel builds and boots with patch (with CONFIG_BLK_DEV_INITRD disabled).
      
      (Trivial because CONFIG_BLK_DEV_RAM is Y if CONFIG_BLK_DEV_INITRD is Y)
      9e1a760d
    • Alexander Viro's avatar
      [PATCH] path_lookup() · a3806a80
      Alexander Viro authored
      	New helper:
      path_lookup(name, flags, nd)
      {
      	int err = 0;
      	if (path_init(name, flags, nd))
      		err = path_walk(name, nd);
      	return err;
      }
      
      Places doing that by hand converted to calling it.
      
      Actually, quite a few of them were doing equivalent of __user_walk()
      (getname() and if it was successful - call path_lookup() and putname()).
      Converted to calling __user_walk().
      a3806a80
    • Alexander Viro's avatar
      [PATCH] removal of LOOKUP_POSITIVE · 2dee55cd
      Alexander Viro authored
      	LOOKUP_POSITIVE is not needed anymore.  All callers of path_walk()
      treat -ENOENT and negative dentry the same way.  If you want a proof of
      correctness - I'll send it, but it's a couple of pages of induction, basically
      boiling down to "let's show that for any N we can replace the
                     if (lookup_flags & (LOOKUP_POSITIVE|LOOKUP_DIRECTORY))
                             break;
      in link_path_walk() with
                     if ((lookup_flags & (LOOKUP_POSITIVE|LOOKUP_DIRECTORY)) ||
      		   current->link_count <= N)
                             break;
      without changing behaviour of the system".  Pretty straightforward for
      N = 0, then we look for places that can lead to call link_path_walk()
      with current->link_count equal to N and show that if result of the test
      changes, behaviour of callers doesn't.  Since the depth of recursion is
      limited, we had shown that test in question can be replaced with if (1).
      And that's the only place in tree the ever checks for LOOKUP_POSITIVE.
      
      	The real reason behind that is very simple - indeed, suppose
      we get a negative dentry out of path_walk().  What the hell could we
      do with it?  Its parent isn't locked, so both the name and parent can
      change at any moment (could have changed already).  There used to be
      places that tried to play "let's get a negative dentry, lock its parent
      and start doing something".  All of them racy and all of them fixed
      in 2.3.  Fixed by switching to LOOKUP_PARENT...
      2dee55cd
    • Alexander Viro's avatar
      [PATCH] more reiserfs cleanups · e145fcfa
      Alexander Viro authored
      	More cleanups (getblk() use, etc.) in reiserfs (again, cleaning
      up after merge).
      e145fcfa