lkml.org 
[lkml]   [2009]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH -mm] vmscan: make mapped executable pages the first class citizen
    Wu Fengguang wrote:

    >> Also, the change makes this comment:
    >>
    >> spin_lock_irq(&zone->lru_lock);
    >> /*
    >> * Count referenced pages from currently used mappings as
    >> * rotated, even though they are moved to the inactive list.
    >> * This helps balance scan pressure between file and anonymous
    >> * pages in get_scan_ratio.
    >> */
    >> reclaim_stat->recent_rotated[!!file] += pgmoved;
    >>
    >> inaccurate.
    >
    > Good catch, I'll just remove the stale "even though they are moved to
    > the inactive list".

    Well, it is still true for !VM_EXEC pages.

    --
    All rights reversed.


    \
     
     \ /
      Last update: 2009-05-12 15:25    [W:4.495 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site