Re: [PATCH v10 08/35] list: add a new LRU list type

Glauber Costa
2013-06-06T09:03:37Z

On 06/06/2013 11:04 AM, Andrew Morton wrote:
> But anyone who just wants a queue doesn't want their queue_lru_del()
> calling into memcg code(!).

It won't call any relevant memcg code unless the list_lru (or queue, or
whatever) is explicitly marked as memcg-aware.

I do think it would be more appropriate to
> discard the lib/ idea and move it all into fs/ or mm/.
I have no particular love for this in lib/

Most of the users are in fs/, so I see no point in mm/
So for me, if you are really not happy about lib, I would suggest moving
this to fs/

--
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: email@kvack.org