All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Burroughs <chris.burroughs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: limiting RSS only with memory controller
Date: Mon, 23 Jun 2014 16:12:05 -0400	[thread overview]
Message-ID: <53A88A15.4010802@gmail.com> (raw)

My understanding is that memory.limit_in_bytes limits RSS and page cache 
use.  I would like to only limit RSS.  Is there currently a way to do 
that with the memory controller?

If not (which I think is the case) could someone point me to a 
discussion on why that's so?  The docs [1] reference an OLS BOFs but I 
don't see any details on RSS+page-cache limiting in the notes [2] from 
that event.


[1] "At OLS, at the resource management BoF, everyone suggested
that we handle both page cache and RSS together." - 
https://www.kernel.org/doc/Documentation/cgroups/memory.txt


[2] https://lkml.org/lkml/2006/7/26/237

                 reply	other threads:[~2014-06-23 20:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=53A88A15.4010802@gmail.com \
    --to=chris.burroughs-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.