Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965148AbVKGSPP (ORCPT ); Mon, 7 Nov 2005 13:15:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965176AbVKGSPP (ORCPT ); Mon, 7 Nov 2005 13:15:15 -0500 Received: from omx1-ext.sgi.com ([192.48.179.11]:27104 "EHLO omx1.americas.sgi.com") by vger.kernel.org with ESMTP id S965170AbVKGSPN (ORCPT ); Mon, 7 Nov 2005 13:15:13 -0500 Date: Mon, 7 Nov 2005 10:12:40 -0800 (PST) From: Christoph Lameter To: Magnus Damm cc: torvalds@osdl.org, akpm@osdl.org, Marcelo Tosatti , Mike Kravetz , Ray Bryant , Lee Schermerhorn , linux-kernel@vger.kernel.org, Paul Jackson , Dave Hansen , KAMEZAWA Hiroyuki Subject: Re: [PATCH 1/5] Swap Migration V5: LRU operations In-Reply-To: Message-ID: References: <20051101031239.12488.76816.sendpatchset@schroedinger.engr.sgi.com> <20051101031244.12488.38211.sendpatchset@schroedinger.engr.sgi.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 833 Lines: 22 Fix check in isolate_lru_pages Signed-off-by: Christoph Lameter Index: linux-2.6.14-rc5-mm1/mm/vmscan.c =================================================================== --- linux-2.6.14-rc5-mm1.orig/mm/vmscan.c 2005-11-02 11:39:01.000000000 -0800 +++ linux-2.6.14-rc5-mm1/mm/vmscan.c 2005-11-07 09:50:34.000000000 -0800 @@ -754,7 +754,7 @@ static int isolate_lru_pages(struct zone /* Succeeded to isolate page */ list_add(&page->lru, dst); break; - case -1: + case -ENOENT: /* Not possible to isolate */ list_move(&page->lru, src); break; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/