lkml.org 
[lkml]   [2008]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] netfilter: replace horrible hack with ksize()
On Thu, 6 Mar 2008, Pekka J Enberg wrote:

> Then ksize(p) will return the currently allocated size which is 32 bytes
> when page size is 4 KB, and not 8 bytes. So it should be equivalent of
> what the current code does.

True for SLAB. SLUB will actually allocate only 8 bytes.


\
 
 \ /
  Last update: 2008-03-06 17:45    [from the cache]
©2003-2011 Jasper Spaans