[lkml]   [2009]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] memcg: fix mem_cgroup_isolate_lru_page to use the same rotate logic at busy path
* KAMEZAWA Hiroyuki <> [2009-06-09 18:22:53]:

> From: KAMEZAWA Hiroyuki <>
> This patch tries to fix memcg's lru rotation sanity...make memcg use
> the same logic as global LRU does.
> Now, at __isolate_lru_page() retruns -EBUSY, the page is rotated to
> the tail of LRU in global LRU's isolate LRU pages. But in memcg,
> it's not handled. This makes memcg do the same behavior as global LRU
> and rotate LRU in the page is busy.
> Note: __isolate_lru_page() is not isolate_lru_page() and it's just used
> in sc->isolate_pages() logic.
> Signed-off-by: KAMEZAWA Hiroyuki <>

Acked-by: Balbir Singh <>


 \ /
  Last update: 2009-06-09 14:07    [W:0.078 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site