1. 09 Feb, 2002 24 commits
    • David S. Miller's avatar
    • David S. Miller's avatar
      Sparc64 thread_info implementation. · a061909b
      David S. Miller authored
      a061909b
    • Alexander Viro's avatar
      [PATCH] ->s_id cleanups · 0431923f
      Alexander Viro authored
      	Patch converts a bunch of places that hadn't been caught when
      ->s_id was introduced.  Please, apply.
      0431923f
    • Alexander Viro's avatar
      [PATCH] affs cleanup · 238358ed
      Alexander Viro authored
      	affs digs in blk_size[] to find the size of device (it
      has its analog of superblock living in the middle of disk).  That
      information is available in ->s_bdev->bd_inode->i_size - no need
      to mess with major/minor/arrays to get it.
      238358ed
    • Alexander Viro's avatar
      [PATCH] /proc/modules cleanup (seq_file, again) · d6b7a72c
      Alexander Viro authored
      	/proc/modules switched to use of seq_file, cleaned up.
      d6b7a72c
    • Alexander Viro's avatar
      [PATCH] /proc/slabinfo cleanup (seq_...) · 62dfe539
      Alexander Viro authored
      	Straightforward rewrite to seq_file.
      62dfe539
    • Alexander Viro's avatar
      [PATCH] fix for typo in ext2_new_inode() · aa45600e
      Alexander Viro authored
      	Please, apply.  Otherwise we eat quota like there's no tomorrow ;-/
      aa45600e
    • Peter Osterlund's avatar
      [PATCH] Make cardbus device_register work · 2226f84b
      Peter Osterlund authored
      It compiles in -pre5 but doesn't work unless you also apply the patch
      below. Without this patch, bus_id will be empty which makes
      device_register fail.
      2226f84b
    • Linus Torvalds's avatar
      defconfig: · 0dc68d77
      Linus Torvalds authored
        update
      0dc68d77
    • Linus Torvalds's avatar
      Merge home.transmeta.com:/home/torvalds/v2.5/preempt · 51f5692c
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      51f5692c
    • Dave Jones's avatar
      [PATCH] includes cleanup, 2nd try. · 7021dc36
      Dave Jones authored
      Big bits first, I'll redo the smaller bits tomorrow after some sleep.
      Same as last time, rediffed against pre5
      7021dc36
    • Linus Torvalds's avatar
      update version · 8491eddd
      Linus Torvalds authored
      8491eddd
    • Linus Torvalds's avatar
      Merge penguin:v2.5/linux · e4526d92
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      e4526d92
    • Paul Gortmaker's avatar
      [PATCH] 2.5.4pre5 scsi/aha1542.c & DMA changes · 76a58ab3
      Paul Gortmaker authored
      There are a couple of errors in the DMA changes to the
      aha1542.c driver that appeared in 2.5.4pre3:
      
      - a typo (BUF vs BUS)
      - a macro handed a page instead of a scatterlist
      - printk format length mismatch
      
      Paul.
      76a58ab3
    • Linus Torvalds's avatar
    • Alexander Viro's avatar
      [PATCH] driverfs - preparation to fixes · 42c7ef79
      Alexander Viro authored
      Make dentry and ->i_sem manipulations in driverfs explicit.  Something
      is seriously rotten there and real fixes will take non-trivial work
      (e.g, I suspect that we actually ought to kill driverfs_rename() - at
      least cross-directory one for regular files, maybe completely).  This
      patch simply cleans the ground. 
      42c7ef79
    • Alexander Viro's avatar
      [PATCH] fs/ext2/balloc.c cleanup · cdd7a251
      Alexander Viro authored
      	Mostly cosmetical cleanup - sane variable names, etc.
      That's pretty much it for balloc.c cleanups - stuff after that
      will be about decent threading.
      cdd7a251
    • Alexander Viro's avatar
      [PATCH] ext2_new_block() cleanup · 71803d3b
      Alexander Viro authored
      in ext2_new_block() inode->i_sb can't be NULL.  Dead code removed.
      
      merged returns in ext2_new_block()
      
      in ext2_new_block() added a local variable (sbi) for sb->u.ext2_sb;
      users converted. 
      
      calculation of prealloc_goal moved into beginning of function. 
      
      new local variable (block).  Initialized to 0, set to the number of
      allocated block only when we are known to be successful. 
      ext2_new_block() returns the value of 'block' now.  As the result, out:
      is gone - it's identical to out_unlock now. 
      
      check for block being chosen past the end of disk had been moved up No
      sense to check that after we had done the preallocations... 
      
      quota allocation taken into the beginning of ext2_new_block().  we put
      the number of blocks we'd reserved into dq_alloc and then decrement it
      each time old code would do DQUOT_ALLOC/increment when it would do
      DQUOT_FREE.  On the exit we release dq_alloc blocks I.e.  all
      allocations are pushed into the beginning and all freeing - to the end. 
      
      now that we had moved the last possible point of failure up, we can do
      the same with assignment of final result to block. 
      
      code that does allocation within a group had been taken out into a
      helper - grab_block(map, size, goal). 
      
      decrementing fs-wide free blocks count moved into the beginning of
      function.  We try to reserve up to dq_alloc blocks - amount we _can_
      grab is limited by the actual free space and root-reserved percentage. 
      That logics had been taken into a helper - reserve_blocks(sb, amount). 
      Number of blocks we had managed to reserve is put into es_alloc.  When
      we actually grab a block, es_alloc is decremented.  Upon the exit we
      release the leftovers.  Old code didn't honor 'reserved for root' limit
      when doing prealloc - now that had been fixed. 
      
      EXT2_BLOCKS_PER_GROUP(sb) put into a local variable (group_size)
      
      similar "reserve and release leftovers in the end" scheme for group
      (i.e.  we try to reserve as much as we want in the group, then count how
      much had been used up and release the leftovers in the end). 
      
      cleaned up the preallocation loop. 
      71803d3b
    • Alexander Viro's avatar
      [PATCH] (5/5) ext2_free_blocks() cleanup · f1228ed7
      Alexander Viro authored
      minor cleanup: update 'freed' only after we finish with group
      f1228ed7
    • Alexander Viro's avatar
      [PATCH] (4/5) ext2_free_blocks() cleanup · 4bcb2fc4
      Alexander Viro authored
      in ext2_free_blocks() inode->i_sb can't be NULL; dead code removed.
      4bcb2fc4
    • Alexander Viro's avatar
      [PATCH] (3/5) ext2_free_blocks() cleanup · a3c6da09
      Alexander Viro authored
      new helper - group_release_blocks(desc, bh, count); updates free blocks
      count for given group ext2_free_blocks now counts the blocks freed in
      group and updates the per-group free blocks count at once. 
      a3c6da09
    • Alexander Viro's avatar
      [PATCH] (2/5) ext2_free_blocks() cleanup · ccd8c95a
      Alexander Viro authored
      we postpone releasing the quota until the end of ext2_free_blocks() and
      do that at once. 
      ccd8c95a
    • Alexander Viro's avatar
      [PATCH] (1/5) ext2_free_blocks() cleanup · a12ebfc1
      Alexander Viro authored
      new helper function - release_blocks(sb, n); in ext2_free_blocks() we
      count the blocks we'd freed and update the fs-wide count of free blocks
      in the end - just before unlocking superblock.  instead of doing that
      step at a time.
      
      reviewed by ext2 folks
      a12ebfc1
    • Robert Love's avatar
      [PATCH] Re: [PATCH] Preemptible Kernel for 2.5 · ec332cd3
      Robert Love authored
      On Sat, 2002-02-09 at 01:43, Linus Torvalds wrote:
      
      > That will clean up all your issues with header file ordering.
      
      You are right, it did.  I removed all the sched.h dependencies and this
      reduced the size of the patch greatly.  I now use current_thread_info()
      and none of the header or include hackery from before.  I've tested this
      with and without preemption enabled with success.
      
      I appreciate your help with this.
      
      Again, this is a minimal i386-only patch.  I have other arches,
      documentation, etc.  Patch against 2.5.4-pre5.  Enjoy,
      
      	Robert Love
      ec332cd3
  2. 08 Feb, 2002 16 commits
    • Alexander Viro's avatar
      [PATCH] fix for drivers/input/input.c · d7b65475
      Alexander Viro authored
      Fix lost argument to "connect()"
      d7b65475
    • Linus Torvalds's avatar
      update version · 717f4eba
      Linus Torvalds authored
      717f4eba
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/mochel/BK/linux-2.5 · 793bf0b1
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      793bf0b1
    • Patrick Mochel's avatar
      Doh! · 2c9a0773
      Patrick Mochel authored
      struct device has no ->sysdata
      and ->device should be ->dev
       
      2c9a0773
    • Alexander Viro's avatar
      [PATCH] knfsd cleanups · f0152514
      Alexander Viro authored
      exp_procfs_exports() switched to seq_..., missing lock added.
      f0152514
    • Alexander Viro's avatar
      [PATCH] knfsd cleanups · 5278b4c3
      Alexander Viro authored
      all exports for given client are put on the cyclic list
      (->cl_list/->ex_list).  Code cleaned up.
      5278b4c3
    • Alexander Viro's avatar
      [PATCH] knfsd cleanups · a90f30b9
      Alexander Viro authored
      exports hash switched to use of struct list_head, code cleaned up.
      a90f30b9
    • Dave Jones's avatar
      [PATCH] remove duplicate zconf.h · 79c269f3
      Dave Jones authored
      Change to use the new include/linux/zconf.h
      79c269f3
    • Dave Jones's avatar
      [PATCH] Extra config.help for x86 · 238be91a
      Dave Jones authored
      Additional descriptions that got lost along the way somewhere.
      Also updates some extra IDE options that shared the same fate.
      238be91a
    • Dave Jones's avatar
      [PATCH] remove ancient workaround. · 93d6132f
      Dave Jones authored
      unneeded these days..
      93d6132f
    • Dave Jones's avatar
      [PATCH] Config.in updates · 5d541737
      Dave Jones authored
      - Reorder mainmenu items so CONFIG_EXPERIMENTAL is at the top again.
      - Various updates from 2.4
      5d541737
    • Dave Jones's avatar
      408e03f8
    • Dave Jones's avatar
      [PATCH] fix serial close hang · 5ef8de79
      Dave Jones authored
      2.4/2.5 kernels suffer from an infinitely long hang when a serial tty device
      is closed, and there are characters waiting to be sent.  The hang occurs in
      tty_wait_until_sent.
      
      There is a timeout 'closing_wait' which defines how long to wait for the TX
      buffers to empty; the problem is that the serial layer totally ignores it.
      It is stored in two structures, 'info' and 'state'.  It is initialised in
      the 'state' structure, but used from the 'info' structure.
      
      It turns out that 'hub6' was also missing.
      
      I'm not currently clear what the expected behaviour should be when the
      timeout is changed via setserial, and others have the port open - I've
      opted to preserve the timeout until all users close the port.  It's
      trivial to change this behaviour though.
      5ef8de79
    • Dave Jones's avatar
      [PATCH] AGPGart update · bd4b161b
      Dave Jones authored
      Mostly from 2.4.17 / 18pre.
      - Code cleanup
      - Fix suspend/resume on several chipsets
      - Add support for i820.
      bd4b161b
    • Dave Jones's avatar
      [PATCH] text.lock -> subsection changes. · b5635319
      Dave Jones authored
      Make spinlocks etc use subsections of their parent sections instead of
      an ELF section of their own - needed for newer binutils when the parent
      sector is removed. 
      b5635319
    • Dave Jones's avatar
      [PATCH] handle out of spec SMP athlons. · 168c9069
      Dave Jones authored
      Newer Athlons have means of checking if they are SMP capable or not.
      This code adds checks that printk a warning on systems not intended
      for SMP, and set the taint flag that modutils is already aware of.
      The taint code is also improved to use defines instead of magic numbers.
      168c9069