linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Evgeniy Ivanov <lolkaantimat@gmail.com>
To: linux-mm@kvack.org
Subject: Question about cgroup hierarchy and reducing memory limit
Date: Mon, 22 Nov 2010 19:59:41 +0300	[thread overview]
Message-ID: <AANLkTingzd3Pqrip1izfkLm+HCE9jRQL777nu9s3RnLv@mail.gmail.com> (raw)

Hello,

I have following cgroup hierarchy:

  Root
  /   |
A   B

A and B have memory limits set so that it's 100% of limit set in Root.
I want to add C to root:

  Root
  /   |  \
A   B  C

What is correct way to shrink limits for A and B? When they use all
allowed memory and I try to write to their limit files I get error. It
seems, that I can shrink their limits multiple times by 1Mb and it
works, but looks ugly and like very dirty workaround.


-- 
Evgeniy Ivanov

--
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/ .
Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

             reply	other threads:[~2010-11-22 16:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-22 16:59 Evgeniy Ivanov [this message]
2010-11-24  0:47 ` KAMEZAWA Hiroyuki
2010-11-24 12:17   ` Evgeniy Ivanov
2010-11-25  1:04     ` KAMEZAWA Hiroyuki
2010-11-25 10:51       ` Evgeniy Ivanov
2010-11-29  6:58         ` KAMEZAWA Hiroyuki
2010-11-29 14:02           ` Balbir Singh
2010-11-30  0:03             ` KAMEZAWA Hiroyuki
2010-11-30  1:23               ` KAMEZAWA Hiroyuki

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=AANLkTingzd3Pqrip1izfkLm+HCE9jRQL777nu9s3RnLv@mail.gmail.com \
    --to=lolkaantimat@gmail.com \
    --cc=linux-mm@kvack.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