From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail203.messagelabs.com (mail203.messagelabs.com [216.82.254.243]) by kanga.kvack.org (Postfix) with SMTP id 74E77900123 for ; Mon, 2 May 2011 10:56:47 -0400 (EDT) Message-ID: <4DBEC626.7060704@redhat.com> Date: Mon, 02 May 2011 10:56:38 -0400 From: Rik van Riel MIME-Version: 1.0 Subject: Re: [PATCH 1/2] Check PageUnevictable in lru_deactivate_fn References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Minchan Kim Cc: Andrew Morton , linux-mm , LKML , KAMEZAWA Hiroyuki , Johannes Weiner , KOSAKI Motohiro , Mel Gorman , Ying Han On 05/01/2011 11:03 AM, Minchan Kim wrote: > The lru_deactivate_fn should not move page which in on unevictable lru > into inactive list. Otherwise, we can meet BUG when we use isolate_lru_pages > as __isolate_lru_page could return -EINVAL. > It's really BUG and let's fix it. > > Reported-by: Ying Han > Tested-by: Ying Han > Signed-off-by: Minchan Kim Reviewed-by: Rik van Riel -- All rights reversed -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org