lkml.org 
[lkml]   [2012]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH 2/5] vmevent: Convert from deferred timer to deferred work
    >> > It also will cause page trashing because user-space code could be pushed
    >> out from cache if VM decide.
    >>
    >> This is completely unrelated issue. Even if notification code is not swapped,
    >> userland notify handling code still may be swapped. So, if you must avoid
    >> swap, you must use mlock.
    >
    > If you wakeup only by signal when memory situation changed you can be not mlocked.
    > Mlocking uses memory very inefficient way and usually cannot be applied for apps which wants to be notified due to resources restrictions.

    That's your choice. If you don't need to care cache dropping, We don't
    enforce it. I only pointed out your explanation was technically
    incorrect.


    \
     
     \ /
      Last update: 2012-06-08 10:01    [W:4.245 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site