linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Lameter <cl@linux.com>
To: Jeff Liu <jeff.liu@oracle.com>
Cc: lsf-pc@lists.linux-foundation.org, linux-mm@kvack.org,
	"linux-fsdevel@vger.kernel.org" <linux-fsdevel@vger.kernel.org>
Subject: Re: [LSF/MM ATTEND] slab cache extension -- slab cache in fixed size
Date: Fri, 31 Jan 2014 09:44:13 -0600 (CST)	[thread overview]
Message-ID: <alpine.DEB.2.10.1401310941430.6849@nuc> (raw)
In-Reply-To: <52D662A4.1080502@oracle.com>

On Wed, 15 Jan 2014, Jeff Liu wrote:

> Now I have a rough/stupid idea to add an extension to the slab caches [2], that is
> if the slab cache size is limited which could be determined in cache_grow(), the
> shrinker would be triggered accordingly.  I'd like to learn/know if there are any
> suggestions and similar requirements in other subsystems.

Hmmm.... Looks like you got the right point where to insert the code to
check for the limit. But lets leave the cache creation API the way it is.
Add a function to set the limit?

--
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>

  reply	other threads:[~2014-01-31 15:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-15 10:27 Jeff Liu
2014-01-31 15:44 ` Christoph Lameter [this message]
2014-02-25  3:33   ` Jeff Liu
2014-02-25 18:26     ` Christoph Lameter
2014-02-26  7:04       ` Jeff Liu
2014-02-26 15:02         ` Christoph Lameter

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=alpine.DEB.2.10.1401310941430.6849@nuc \
    --to=cl@linux.com \
    --cc=jeff.liu@oracle.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lsf-pc@lists.linux-foundation.org \
    /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