Re: [PATCH 06/19] list: add a new LRU list type
From: Christoph Hellwig <hch@infradead.org>
Date: 2012-11-28 16:10:18
Also in:
linux-fsdevel, linux-xfs, lkml
From: Christoph Hellwig <hch@infradead.org>
Date: 2012-11-28 16:10:18
Also in:
linux-fsdevel, linux-xfs, lkml
On Wed, Nov 28, 2012 at 10:14:33AM +1100, Dave Chinner 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.
Can you please add kerneldoc comments for the functions, and add symbolic constants for the possible return values from the isolate callback? -- 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>