[Devel] Re: [PATCH v2 -mmotm 1/4] cgroups: Fix race between userspace and kernelspace

2010-02-23 Thread Balbir Singh
* Kirill A. Shutemov [2010-02-22 17:43:39]: > eventfd are used to notify about two types of event: > - control file-specific, like crossing memory threshold; > - cgroup removing. > > To understand what really happen, userspace can check if the cgroup > still exists. To avoid race beetween user

[Devel] Re: [PATCH v2 -mmotm 1/4] cgroups: Fix race between userspace and kernelspace

2010-02-22 Thread Li Zefan
(Late reply for I just came back from a long vacation) Kirill A. Shutemov wrote: > eventfd are used to notify about two types of event: > - control file-specific, like crossing memory threshold; > - cgroup removing. > > To understand what really happen, userspace can check if the cgroup > still