Re: [PATCH v2 3/3] cpuset: PF_SPREAD_PAGE and PF_SPREAD_SLAB should be atomic flags

2014-09-24 Thread Tejun Heo
On Wed, Sep 24, 2014 at 08:44:43PM +0900, Tetsuo Handa wrote: > Tejun Heo wrote: > > All the patches look good to me. I can't say I'm a big fan of > > function defining macros but I don't have prettier alternatives > > either. Once Peter/Ingo acks the patches, I'll route them through > > cgroup/f

Re: [PATCH v2 3/3] cpuset: PF_SPREAD_PAGE and PF_SPREAD_SLAB should be atomic flags

2014-09-24 Thread Tetsuo Handa
Zefan Li wrote: > Those macros make the code easier to read, and emacs and cscope can also > understand them. I'm using legacy LXR which cannot understand them. But > I'd vote for this: > > TASK_PFA_TEST(NO_NEW_PRIVS, no_new_privs) > TASK_PFA_SET(NO_NEW_PRIVS, no_new_privs) > > TASK_PFA_TEST(SP