1. 27 10月, 2007 1 次提交
  2. 24 10月, 2007 1 次提交
  3. 23 10月, 2007 1 次提交
  4. 20 10月, 2007 8 次提交
  5. 16 10月, 2007 1 次提交
    • N
      Fix memory leak in dm-crypt · 644bd2f0
      Neil Brown 提交于
      dm-crypt used the ->bi_size member in the bio endio handling to
      free the appropriate pages, but it frees all of it from both call
      paths. With the ->bi_end_io() changes, ->bi_size was always 0 since
      we don't do partial completes. This caused dm-crypt to leak memory.
      
      Fix this by removing the size argument from crypt_free_buffer_pages().
      Signed-off-by: NNeil Brown <neilb@suse.de>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      644bd2f0
  6. 10 10月, 2007 1 次提交
  7. 22 7月, 2007 1 次提交
  8. 13 7月, 2007 2 次提交
  9. 10 5月, 2007 6 次提交
  10. 30 4月, 2007 1 次提交
    • J
      [BLOCK] Don't pin lots of memory in mempools · 5972511b
      Jens Axboe 提交于
      Currently we scale the mempool sizes depending on memory installed
      in the machine, except for the bio pool itself which sits at a fixed
      256 entry pre-allocation.
      
      There's really no point in "optimizing" this OOM path, we just need
      enough preallocated to make progress. A single unit is enough, lets
      scale it down to 2 just to be on the safe side.
      
      This patch saves ~150kb of pinned kernel memory on a 32-bit box.
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      5972511b
  11. 09 12月, 2006 2 次提交
  12. 08 12月, 2006 1 次提交
  13. 07 12月, 2006 3 次提交
  14. 22 11月, 2006 1 次提交
  15. 31 10月, 2006 1 次提交
  16. 21 10月, 2006 1 次提交
    • A
      [PATCH] separate bdi congestion functions from queue congestion functions · 3fcfab16
      Andrew Morton 提交于
      Separate out the concept of "queue congestion" from "backing-dev congestion".
      Congestion is a backing-dev concept, not a queue concept.
      
      The blk_* congestion functions are retained, as wrappers around the core
      backing-dev congestion functions.
      
      This proper layering is needed so that NFS can cleanly use the congestion
      functions, and so that CONFIG_BLOCK=n actually links.
      
      Cc: "Thomas Maier" <balagi@justmail.de>
      Cc: "Jens Axboe" <jens.axboe@oracle.com>
      Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
      Cc: David Howells <dhowells@redhat.com>
      Cc: Peter Osterlund <petero2@telia.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3fcfab16
  17. 03 10月, 2006 5 次提交
  18. 21 9月, 2006 3 次提交