[lkml]   [2009]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [patch 0/5] Support for sanitization flag in low-level page allocator
    On 00:13 Sun 31 May     , Alan Cox wrote:
    > > I was pointing out that the 'those test and jump/call branches have
    > > performance hits' argument, while nonsensical, applies to kzfree and
    > > with even more negative connotations (deeper call depth, more test
    > > branches used in ksize and kfree, lack of pointer validation).
    > But they only apply to kzfree - there isn't a cost to anyone else. You've
    > move the decision to compile time which for the fast path stuff when you
    > just want to clear keys and other oddments is a big win.

    OK, I'm going to squeeze some time and provide patches that perform the
    same my original page bit ones did, but using kzfree. Behold code like
    in the tty buffer management, which uses the page allocator directly for
    allocations greater than PAGE_SIZE in length. That needs special
    treatment, and is exactly the reason I've proposed unconditional
    sanitization since the original patches were rejected.


     \ /
      Last update: 2009-05-31 01:23    [W:0.018 / U:6.168 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site