Messages in this thread | | | Subject | Re: [PATCH 03/14] lru/memcg: using per lruvec lock in un/lock_page_lru | From | Alex Shi <> | Date | Mon, 26 Aug 2019 22:16:58 +0800 |
| |
在 2019/8/26 下午4:30, Konstantin Khlebnikov 写道: >> >> > > What protects lruvec from freeing at this point? > After reading resolving lruvec page could be moved and cgroup deleted. > > In this old patches I've used RCU for that: https://lkml.org/lkml/2012/2/20/276 > Pointer to lruvec should be resolved under disabled irq. > Not sure this works these days.
Thanks for reminder! I will reconsider this point and come up with changes.
Thanks Alex
| |