| To: | Dave Chinner <david@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 06/19] list: add a new LRU list type |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Wed, 28 Nov 2012 11:10:18 -0500 |
| Cc: | glommer@xxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, linux-mm@xxxxxxxxx, xfs@xxxxxxxxxxx |
| In-reply-to: | <1354058086-27937-7-git-send-email-david@xxxxxxxxxxxxx> |
| References: | <1354058086-27937-1-git-send-email-david@xxxxxxxxxxxxx> <1354058086-27937-7-git-send-email-david@xxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Wed, Nov 28, 2012 at 10:14:33AM +1100, Dave Chinner wrote: > From: Dave Chinner <dchinner@xxxxxxxxxx> > > 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? |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 2/2] xfs: fix splice/direct-IO deadlock, Christoph Hellwig |
|---|---|
| Next by Date: | Re: [PATCH 15/19] xfs: convert dquot cache lru to list_lru, Christoph Hellwig |
| Previous by Thread: | [PATCH 06/19] list: add a new LRU list type, Dave Chinner |
| Next by Thread: | [PATCH 03/19] dcache: remove dentries from LRU before putting on dispose list, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |