1. 18 Jul, 2003 9 commits
    • Andrew Morton's avatar
      [PATCH] remove task_cache entirely · 4da99f75
      Andrew Morton authored
      From: Manfred Spraul <manfred@colorfullife.com>
      
      kernel/fork.c contains a disabled cache for task stuctures.  task
      structures are placed into the task cache only if "tsk==current", and
      "tsk==current" is impossible.  There is even a WARN_ON against that in
      __put_task_struct().
      
      So remove it entirely - it's dead code.
      
      One problem is that order-1 allocations are not cached per-cpu - we can
      use kmalloc for the stack.
      4da99f75
    • Andrew Morton's avatar
      [PATCH] is_devfsd_or_child() deadlock fix · 04af9e58
      Andrew Morton authored
      From: Andrey Borzenkov <arvidjaar@mail.ru>
      
      The code that did proper check existed in 2.4 and was removed in 2.5 for
      whatever reason. The patch restores it slightly modified as below.
      
      2.4 code looks somewhat unclean in that
      
      - it traverses task list without lock.
      
      - it starts from current->real_parent but nothing prevents current be
        init_task itself.  This hung for me on 2.5 during boot.  May be 2.4 does
        something differently.
      04af9e58
    • Andrew Morton's avatar
      [PATCH] pass regs into dump_fpu() in elf coredump · 57732625
      Andrew Morton authored
      From: Pete Zaitcev <zaitcev@redhat.com>
      
      sparc32 needs the registers passed into dump_fpu().
      57732625
    • Andrew Morton's avatar
      [PATCH] ioctl(BLKBSZSET) fix and cleanup · 923a1b0f
      Andrew Morton authored
      From: Lou Langholtz <ldl@aros.net>
      
      - set_blocksize() already does those size checks.
      
      - test the set_blocksize() return value: it can fail if the requested
        blocksize is less that the hard sector size.
      923a1b0f
    • Andrew Morton's avatar
      [PATCH] Ext3 xattr credits fix for quotas · eda597e2
      Andrew Morton authored
      From: Andreas Gruenbacher <agruen@suse.de>
      
      The xattr and acl code are not properly reserving credits for quotas.
      EXT3_DATA_TRANS_BLOCKS is an overestimate of the credits required including
      quotas.  Make it a little more tight, and use it in the xattr and acl code
      to be quota safe.
      eda597e2
    • Andrew Morton's avatar
      [PATCH] ext3 extended attribute fixes · 2e1972fa
      Andrew Morton authored
      From: Andreas Gruenbacher <agruen@suse.de>
      
      - Fix transaction credit exhaustion BUG.
      
      - ext3_journal_get_write_access_credits failures break out of the loop in
        1058, so <ce> is not released properly.
      
      - <credits> must be reset after journal_release_buffer() in line 1072.
      2e1972fa
    • Andrew Morton's avatar
      [PATCH] parport_pc.c compile warning · 7360a440
      Andrew Morton authored
      From: Shane Shrybman <shrybman@sympatico.ca>
      
      This fixes the following warning:
      
      drivers/parport/parport_pc.c:98: warning: `verbose_probing' defined but
      not used
      7360a440
    • Andrew Morton's avatar
      [PATCH] misc fixes · 5acf32ee
      Andrew Morton authored
      - i460-agp linkage fix ("Luck, Tony" <tony.luck@intel.com>)
      
      - Don't reimplement offsetof() in hfs
      
      - NBD warning fix
      
      - Remove unneeded null-pointer test in journal_stop (Andreas Gruenbacher)
      
      - remove debug stuff in journal_dirty_metadata()
      
      - slab.c typo fixes (Lev Makhlis <mlev@despammed.com>)
      
      - In devfs_mk_cdev() error path, don't print `buf' until we've written
        something into it.  (Reported by Gergely Nagy <algernon@gandalph.mad.hu>)
      
      - Two ISA sound drivers had their kmalloc() args reversed (Spotted by Steve
        French)
      5acf32ee
    • Andrew Morton's avatar
      [PATCH] Allow LBD on architectures that support it · c07f63b3
      Andrew Morton authored
      From: Milton Miller <miltonm@bga.com>
      
      Enable the CONFIG_LBD option for the architectures which appear to support
      it.
      
      It is not actually tested for those architectures, but it's not likely to
      be unless we do this...
      c07f63b3
  2. 17 Jul, 2003 31 commits