lkml.org 
[lkml]   [2005]   [Oct]   [26]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
SubjectRe: [PATCH 1/5] Swap Migration V4: LRU operations
FromPeter Zijlstra <>
DateWed, 26 Oct 2005 11:31:23 +0200
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 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/

\
 
 \ /
  Last update: 2005-10-26 09:35    [from the cache]
©2003-2008