OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 0/3] Simple cleanups for cgroups
Re: [PATCH 3/3] make 'none' field a flag [message #44542 is a reply to message #44538] Wed, 14 December 2011 02:08 Go to previous messageGo to previous message
Li Zefan is currently offline  Li Zefan
Messages: 90
Registered: February 2008
Member
于 2011年12月13日 23:41, Tejun Heo 写道:
> On Sun, Dec 11, 2011 at 03:45:38PM +0100, Glauber Costa wrote:
>> There is no reason to have a flags field, and then a separate
>> bool field just to indicate if 'none' subsystem were explicitly
>> requested.
>>
>> Make it a flag
>>
>> Signed-off-by: Glauber Costa <glommer@parallels.com>
>
> Same as the previous patch. Doesn't this change how remount
> conditions are checked?
>

Right. The patch prevents us from doing:

# mount -t cgroup -o none,name=tmp xxx /mnt
# mount -o remount,cpuset xxx /mnt
(failed)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH 1/3] nitpick: make simple functions inline
Next Topic: [PATCH v6 00/10] Request for inclusion: per-cgroup tcp memory pressure controls
Goto Forum:
  


Current Time: Tue Jul 29 11:12:10 GMT 2025

Total time taken to generate the page: 0.38529 seconds