1. 12 7月, 2007 6 次提交
  2. 09 6月, 2007 1 次提交
  3. 09 5月, 2007 3 次提交
  4. 26 4月, 2007 13 次提交
  5. 15 3月, 2007 1 次提交
  6. 27 2月, 2007 2 次提交
  7. 15 2月, 2007 4 次提交
  8. 13 2月, 2007 1 次提交
  9. 12 2月, 2007 2 次提交
  10. 27 1月, 2007 1 次提交
  11. 24 1月, 2007 1 次提交
  12. 09 1月, 2007 2 次提交
  13. 03 1月, 2007 1 次提交
  14. 11 12月, 2006 1 次提交
    • V
      [PATCH] fdtable: Make fdarray and fdsets equal in size · bbea9f69
      Vadim Lobanov 提交于
      Currently, each fdtable supports three dynamically-sized arrays of data: the
      fdarray and two fdsets.  The code allows the number of fds supported by the
      fdarray (fdtable->max_fds) to differ from the number of fds supported by each
      of the fdsets (fdtable->max_fdset).
      
      In practice, it is wasteful for these two sizes to differ: whenever we hit a
      limit on the smaller-capacity structure, we will reallocate the entire fdtable
      and all the dynamic arrays within it, so any delta in the memory used by the
      larger-capacity structure will never be touched at all.
      
      Rather than hogging this excess, we shouldn't even allocate it in the first
      place, and keep the capacities of the fdarray and the fdsets equal.  This
      patch removes fdtable->max_fdset.  As an added bonus, most of the supporting
      code becomes simpler.
      Signed-off-by: NVadim Lobanov <vlobanov@speakeasy.net>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: Dipankar Sarma <dipankar@in.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      bbea9f69
  15. 09 12月, 2006 1 次提交