http://bugzilla.suse.com/show_bug.cgi?id=1048190
http://bugzilla.suse.com/show_bug.cgi?id=1048190#c9
--- Comment #9 from Michal Hocko
BTW, there was already another hack added on top of this rule: when some memories are added and all tmpfs whose sizes were specified in % of the total memory size, the rule will remount all tmpfs so their new sizes are updated...
This really seems pretty hackish.
Shouldn't this event be handled by the kernel instead ?
I do not think so because, again that is not a generally advisable thing to do. I can imagine somebody not wanting to increase shmem size when a new memory is added or allow smaller or large portion of new memory to be considered. Kernel doesn't know about that. -- You are receiving this mail because: You are on the CC list for the bug.