Question about cgroup hierarchy and reducing memory limit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx  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@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]