lkml.org 
[lkml]   [2012]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC 1/2] vmevent: Implement pressure attribute
    On Mon, 22 Oct 2012, Anton Vorontsov wrote:
    > This patch introduces VMEVENT_ATTR_PRESSURE, the attribute reports Linux
    > virtual memory management pressure. There are three discrete levels:
    >
    > VMEVENT_PRESSURE_LOW: Notifies that the system is reclaiming memory for
    > new allocations. Monitoring reclaiming activity might be useful for
    > maintaining overall system's cache level.
    >
    > VMEVENT_PRESSURE_MED: The system is experiencing medium memory pressure,
    > there is some mild swapping activity. Upon this event applications may
    > decide to free any resources that can be easily reconstructed or re-read
    > from a disk.

    Nit:

    s/VMEVENT_PRESSURE_MED/VMEVENT_PRESSUDE_MEDIUM/

    Other than that, I'm OK with this. Mel and others, what are your thoughts
    on this?

    Anton, have you tested this with real world scenarios? How does it stack
    up against Android's low memory killer, for example?

    Pekka


    \
     
     \ /
      Last update: 2012-10-24 11:41    [W:3.178 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site