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: <20130111060959.GA22981@lizard.gateway.2wire.net> Date: Thu, 10 Jan 2013 22:09:59 -0800 From: Anton Vorontsov <anton.vorontsov@...aro.org> To: Minchan Kim <minchan@...nel.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 Fri, Jan 11, 2013 at 02:56:15PM +0900, Minchan Kim wrote: [...] > > Ahh. You're talking about the shrinker interface. Yes, there is no way to > > tell if the freed memory will be actually "released" (and if not, then > > yes, we released it unnecessary). > > I don't tell about actually "released" or not. > I assume application actually release pages but the pages would be another > zones, NOT targetted zone from kernel. In case of that, kernel could ask > continuously until target zone has enough free memory. [...] > > isolate task to only some nodes/zones, if we really care about precise > > accounting?). But I'm surely open for ideas. :) > > My dumb idea is only notify to user when reclaim is triggered by > __GFP_HIGHMEM|__GFP_MOVABLE which is most gfp_t for application memory. :) Ah, I see. Sure, that will help a lot. I'll try to incorporate this into the next iteration. But there are still unresolved accounting issues that I outlined, and I don't think that they are this easy to solve. :) Thanks! Anton -- 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