Re: [PATCH 1/5] Swap Migration V4: LRU operations
From: Peter Zijlstra <hidden>
Date: 2005-10-26 09:31:53
Also in:
lkml
From: Peter Zijlstra <hidden>
Date: 2005-10-26 09:31:53
Also in:
lkml
On Tue, 2005-10-25 at 12:30 -0700, Christoph Lameter wrote:
+ if (rc == -1) { /* Not possible to isolate */
+ list_del(&page->lru);
+ list_add(&page->lru, src);
}Would the usage of list_move() not be simpler? Peter Zijlstra -- 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/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>