From: Andi Kleen <andi@firstfloor.org>
To: linux-mm@kvack.org
Cc: penberg@cs.helsinki.fi, cl@linux-foundation.org, mpm@selenic.com
Subject: HWPOISON/SLAB: Allow shrinking of specific slab cache.
Date: Wed, 6 Oct 2010 23:02:08 +0200 [thread overview]
Message-ID: <1286398930-11956-1-git-send-email-andi@firstfloor.org> (raw)
For hwpoison it is useful to shrink a specific slab cache: hwpoison
knows the page to shrink and attempts to free it. Currently
it shrinks all slabs, which is a bit inefficient.
The slab caches internally all know this information, but do not
export it currently.
This patch kit adds a new function to export it and lets hwpoison
use it to shrink the correct page. I added the necessary functions
to slab, slub and slob.
Pekka, others, is this patch ok for you? I would prefer to carry in my
tree to avoid dependency issues.
Any reviews and Acks appreciated.
Thanks,
-Andi
--
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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next reply other threads:[~2010-10-06 21:02 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-06 21:02 Andi Kleen [this message]
2010-10-06 21:02 ` [PATCH 1/2] SLAB: Add function to get slab cache for a page Andi Kleen
2010-10-06 21:42 ` Christoph Lameter
2010-10-07 5:34 ` Pekka Enberg
2010-10-07 6:34 ` Andi Kleen
2010-10-06 21:02 ` [PATCH 2/2] HWPOISON: Attempt directed shrinking of slabs Andi Kleen
2010-10-06 21:26 ` Christoph Lameter
2010-10-06 21:42 ` Andi Kleen
2010-10-06 21:44 ` Christoph Lameter
2010-10-06 21:55 ` Andi Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1286398930-11956-1-git-send-email-andi@firstfloor.org \
--to=andi@firstfloor.org \
--cc=cl@linux-foundation.org \
--cc=linux-mm@kvack.org \
--cc=mpm@selenic.com \
--cc=penberg@cs.helsinki.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).