Messages in this thread | | | Date | Tue, 11 Mar 2008 08:43:18 +0900 | From | Li Zefan <> | Subject | Re: [PATCH 2/2] cgroup: switch to proc_create() |
| |
Paul Menage wrote: > On Mon, Mar 10, 2008 at 12:30 AM, Li Zefan <lizf@cn.fujitsu.com> wrote: >> There is a race between create_proc_entry() and the assignment >> of file ops. proc_create() is invented to fix it. >> >> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> > > Acked-by: Paul Menage <menage@google.com> > > Doesn't seem to be a serious race since there's nothing in userspace > at this point to read the file. But replacing four lines with one is > generally a good thing. >
Yes I know, it's a slight race in case of modular code, but the aim is to replace all the use of create_proc_entry() with proc_create(). :)
> Paul >
| |