linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Question about cgroup hierarchy and reducing memory limit
@ 2010-11-22 16:59 Evgeniy Ivanov
  2010-11-24  0:47 ` KAMEZAWA Hiroyuki
  0 siblings, 1 reply; 9+ messages in thread
From: Evgeniy Ivanov @ 2010-11-22 16:59 UTC (permalink / raw)
  To: linux-mm

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>

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-11-30  1:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-22 16:59 Question about cgroup hierarchy and reducing memory limit Evgeniy Ivanov
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

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