Re: [PATCH] mm: memcontrol: fix possible css ref leak on oom

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue 24-05-16 13:05:23, Vladimir Davydov wrote:
> On Tue, May 24, 2016 at 11:22:02AM +0200, Michal Hocko wrote:
[...]
> > you think about the following? I will cook up a full patch if this
> > (untested) looks ok.
> 
> It won't work for most filesystems as they define custom ->readpages. I
> wonder if it'd be OK to patch them all not to trigger oom.

readpages is mostly a wrapper for mpage_readpages so I guess this
wouldn't be a big deal.
-- 
Michal Hocko
SUSE Labs

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]