1. 06 1月, 2009 10 次提交
  2. 14 11月, 2008 1 次提交
  3. 23 10月, 2008 1 次提交
  4. 17 10月, 2008 1 次提交
  5. 14 10月, 2008 2 次提交
  6. 01 8月, 2008 1 次提交
    • A
      [PATCH] fix races and leaks in vfs_quota_on() users · 77e69dac
      Al Viro 提交于
      * new helper: vfs_quota_on_path(); equivalent of vfs_quota_on() sans the
        pathname resolution.
      * callers of vfs_quota_on() that do their own pathname resolution and
        checks based on it are switched to vfs_quota_on_path(); that way we
        avoid the races.
      * reiserfs leaked dentry/vfsmount references on several failure exits.
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      77e69dac
  7. 26 7月, 2008 3 次提交
  8. 13 5月, 2008 1 次提交
  9. 28 4月, 2008 3 次提交
  10. 20 3月, 2008 1 次提交
  11. 15 2月, 2008 2 次提交
  12. 07 2月, 2008 1 次提交
    • J
      quota: improve inode list scanning in add_dquot_ref() · 941d2380
      Jan Kara 提交于
      We restarted scan of sb->s_inodes list whenever we had to drop inode_lock
      in add_dquot_ref().  This leads to overall quadratic running time and thus
      add_dquot_ref() can take several minutes when called on a life filesystem.
      We fix the problem by using the fact that inode cannot be removed from
      s_inodes list while we hold a reference to it and thus we can safely
      restart the scan if we don't drop the reference.  Here we use the fact that
      inodes freshly added to s_inodes list are already guaranteed to have quotas
      properly initialized and the ordering of inodes on s_inodes list does not
      change so we cannot skip any inode.
      
      Thanks goes to Nick <gentuu@gmail.com> for analyzing the problem and
      testing the fix.
      
      [akpm@linux-foundation.org: iput(NULL) is legal]
      Signed-off-by: NJan Kara <jack@suse.cz>
      Cc: Nick <gentuu@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      941d2380
  13. 24 12月, 2007 2 次提交
  14. 18 12月, 2007 1 次提交
  15. 17 10月, 2007 1 次提交
  16. 20 7月, 2007 1 次提交
    • P
      mm: Remove slab destructors from kmem_cache_create(). · 20c2df83
      Paul Mundt 提交于
      Slab destructors were no longer supported after Christoph's
      c59def9f change. They've been
      BUGs for both slab and slub, and slob never supported them
      either.
      
      This rips out support for the dtor pointer from kmem_cache_create()
      completely and fixes up every single callsite in the kernel (there were
      about 224, not including the slab allocator definitions themselves,
      or the documentation references).
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      20c2df83
  17. 18 7月, 2007 1 次提交
  18. 17 5月, 2007 1 次提交
  19. 09 5月, 2007 3 次提交
  20. 08 5月, 2007 1 次提交
  21. 15 2月, 2007 1 次提交
    • E
      [PATCH] sysctl: remove insert_at_head from register_sysctl · 0b4d4147
      Eric W. Biederman 提交于
      The semantic effect of insert_at_head is that it would allow new registered
      sysctl entries to override existing sysctl entries of the same name.  Which is
      pain for caching and the proc interface never implemented.
      
      I have done an audit and discovered that none of the current users of
      register_sysctl care as (excpet for directories) they do not register
      duplicate sysctl entries.
      
      So this patch simply removes the support for overriding existing entries in
      the sys_sysctl interface since no one uses it or cares and it makes future
      enhancments harder.
      Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
      Acked-by: NRalf Baechle <ralf@linux-mips.org>
      Acked-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: David Howells <dhowells@redhat.com>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Andi Kleen <ak@muc.de>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Corey Minyard <minyard@acm.org>
      Cc: Neil Brown <neilb@suse.de>
      Cc: "John W. Linville" <linville@tuxdriver.com>
      Cc: James Bottomley <James.Bottomley@steeleye.com>
      Cc: Jan Kara <jack@ucw.cz>
      Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
      Cc: Mark Fasheh <mark.fasheh@oracle.com>
      Cc: David Chinner <dgc@sgi.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Patrick McHardy <kaber@trash.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      0b4d4147
  22. 13 2月, 2007 1 次提交