Re: [PATCH v6 07/31] list: add a new LRU list type
From: Mel Gorman <mgorman@suse.de>
Date: 2013-05-13 09:25:23
Also in:
linux-fsdevel, linux-mm
From: Mel Gorman <mgorman@suse.de>
Date: 2013-05-13 09:25:23
Also in:
linux-fsdevel, linux-mm
On Sun, May 12, 2013 at 10:13:28PM +0400, Glauber Costa wrote:
From: Dave Chinner <redacted> Several subsystems use the same construct for LRU lists - a list head, a spin lock and and item count. They also use exactly the same code for adding and removing items from the LRU. Create a generic type for these LRU lists. This is the beginning of generic, node aware LRUs for shrinkers to work with. [ glommer: enum defined constants for lru. Suggested by gthelen, don't relock over retry ] Signed-off-by: Dave Chinner <redacted> Signed-off-by: Glauber Costa <redacted> Reviewed-by: Greg Thelen <redacted>
Acked-by: Mel Gorman <mgorman@suse.de> -- Mel Gorman SUSE Labs -- 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>