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    [W:0.019 / U:178.576 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site