|
|
| Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
| version 1.119, 2006/07/21 10:08:41 | version 1.120, 2006/08/19 14:01:15 | ||
|---|---|---|---|
|
|
||
| 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); |