lkml.org 
[lkml]   [2009]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] respect the referenced bit of KVM guest pages?
Side question -
Is there a good reason for this to be in shrink_active_list()
as opposed to __isolate_lru_page?

if (unlikely(!page_evictable(page, NULL))) {
putback_lru_page(page);
continue;
}

Maybe we want to minimize the amount of code under the lru lock or
avoid duplicate logic in the isolate_page functions.

But if there are important mlock-heavy workloads, this could make the
scan come up empty, or at least emptier than we might like.

Jeff

--
Work email - jdike at linux dot intel dot com


\
 
 \ /
  Last update: 2009-08-06 23:35    [W:0.135 / U:1.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site