From: Greg Thelen Subject: Re: [PATCH v2 04/11] kmem accounting basic infrastructure Date: Wed, 15 Aug 2012 08:19:58 -0700 Message-ID: References: <1344517279-30646-1-git-send-email-glommer@parallels.com> <1344517279-30646-5-git-send-email-glommer@parallels.com> <20120814162144.GC6905@dhcp22.suse.cz> <502B6D03.1080804@parallels.com> <20120815123931.GF23985@dhcp22.suse.cz> <000001392ac15404-43a3fd2c-a6d3-4985-b173-74bb586ad47c-000000@email.amazonses.com> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=/RtgW+cc7D9IGQtrKWtHwjAkVoHU5WOKWzcbXqaqLgw=; b=ZUMtQcZ2GgHYaGuhMmg95XBrqkjp/5WFSgGUko8URN1V6LG2tFoxe6Zma5WP10DdFE TU/8FuAKDiDRaJ3ysSiGOXlswtWghjYHUp9xNZS7Ntlu0Hvuvtn7zmHf3WRL1QlXEmyC KBYatA4dtKiF5jrXkQs87Qdiv7uxO5B/EDQ/diLFBEvjj9kBDUSf4soFuoe3t5zS5pf4 GKHTt+bHZmFaAfAGe0+UXRJf/EeajcK22N607bUf2ZZQFK7MBIdSzAQdkEoLThtZ6vF7 gJW1jaj5PV2zvSiqzhXdhPRv7CNgJDtlmDgv9Cw5innq9vRNHd+BDlCwEgVtA4mVXlfg L6dg== In-Reply-To: <000001392ac15404-43a3fd2c-a6d3-4985-b173-74bb586ad47c-000000@email.amazonses.com> (Christoph Lameter's message of "Wed, 15 Aug 2012 14:47:57 +0000") Sender: owner-linux-mm@kvack.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Christoph Lameter Cc: Michal Hocko , Glauber Costa , linux-kernel@vger.kernel.org, linux-mm@kvack.org, cgroups@vger.kernel.org, devel@openvz.org, Johannes Weiner , Andrew Morton , kamezawa.hiroyu@jp.fujitsu.com, David Rientjes , Pekka Enberg , yinghan@google.com On Wed, Aug 15 2012, Christoph Lameter wrote: > On Wed, 15 Aug 2012, Michal Hocko wrote: > >> > That is not what the kernel does, in general. We assume that if he wants >> > that memory and we can serve it, we should. Also, not all kernel memory >> > is unreclaimable. We can shrink the slabs, for instance. Ying Han >> > claims she has patches for that already... >> >> Are those patches somewhere around? > > You can already shrink the reclaimable slabs (dentries / inodes) via > calls to the subsystem specific shrinkers. Did Ying Han do anything to > go beyond that? cc: Ying The Google shrinker patches enhance prune_dcache_sb() to limit dentry pressure to a specific memcg. -- 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