Messages in this thread Patch in this message | | | Date | Mon, 7 Nov 2005 10:12:40 -0800 (PST) | From | Christoph Lameter <> | Subject | Re: [PATCH 1/5] Swap Migration V5: LRU operations |
| |
Fix check in isolate_lru_pages
Signed-off-by: Christoph Lameter <clameter@sgi.com>
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/
| |