[BACK]Return to subr_pool.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/subr_pool.c between version 1.119 and 1.120

version 1.119, 2006/07/21 10:08:41 version 1.120, 2006/08/19 14:01:15
Line 611  pool_init(struct pool *pp, size_t size, 
Line 611  pool_init(struct pool *pp, size_t size, 
         if (align == 0)          if (align == 0)
                 align = ALIGN(1);                  align = ALIGN(1);
   
         if (size < sizeof(struct pool_item))          if ((flags & PR_NOTOUCH) == 0 && size < sizeof(struct pool_item))
                 size = sizeof(struct pool_item);                  size = sizeof(struct pool_item);
   
         size = roundup(size, align);          size = roundup(size, align);

Legend:
Removed from v.1.119  
changed lines
  Added in v.1.120

CVSweb <webmaster@jp.NetBSD.org>