lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <20130111051210.GC6183@blaptop> Date: Fri, 11 Jan 2013 14:12:10 +0900 From: Minchan Kim <minchan@...nel.org> To: Anton Vorontsov <anton.vorontsov@...aro.org> Cc: David Rientjes <rientjes@...gle.com>, Pekka Enberg <penberg@...nel.org>, Mel Gorman <mgorman@...e.de>, Glauber Costa <glommer@...allels.com>, Michal Hocko <mhocko@...e.cz>, "Kirill A. Shutemov" <kirill@...temov.name>, Luiz Capitulino <lcapitulino@...hat.com>, Andrew Morton <akpm@...ux-foundation.org>, Greg Thelen <gthelen@...gle.com>, Leonid Moiseichuk <leonid.moiseichuk@...ia.com>, KOSAKI Motohiro <kosaki.motohiro@...il.com>, Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>, John Stultz <john.stultz@...aro.org>, linux-mm@...ck.org, linux-kernel@...r.kernel.org, linaro-kernel@...ts.linaro.org, patches@...aro.org, kernel-team@...roid.com Subject: Re: [PATCH 1/2] Add mempressure cgroup On Wed, Jan 09, 2013 at 02:14:49PM -0800, Anton Vorontsov wrote: > On Tue, Jan 08, 2013 at 05:49:49PM +0900, Minchan Kim wrote: > [...] > > Sorry still I didn't look at your implementation about cgroup part. > > but I had a question since long time ago. > > > > How can we can make sure false positive about zone and NUMA? > > I mean DMA zone is short in system so VM notify to user and user > > free all memory of NORMAL zone because he can't know what pages live > > in any zones. NUMA is ditto. > > Um, we count scans irrespective of zones or nodes, i.e. we sum all 'number > of scanned' and 'number of reclaimed' stats. So, it should not be a > problem, as I see it. Why is it no problem? For example, let's think of normal zone reclaim. Page allocator try to allocate pages from NORMAL zone to DMA zone fallback and your logic could trigger mpc_shrinker. So process A, B, C start to release thier freeable memory but unfortunately, freed pages are all HIGHMEM pages. Why should processes release memory unnecessary? Is there any method for proecess to detect such situation in user level before releasing the freeable memory? In android smart phone, until now, there was a zone - DMA so low memory killer didn't have a problem but these days smart phone use 2G DRAM so we started seeing the above problem. Your generic approach should solve the problem, too. > > Thanks, > Anton > > -- > To unsubscribe, send a message with 'unsubscribe linux-mm' in > the body to majordomo@...ck.org. For more info on Linux MM, > see: http://www.linux-mm.org/ . > Don't email: <a href=mailto:"dont@...ck.org"> email@...ck.org </a> -- Kind regards, Minchan Kim -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists