Re: [PATCH 2/3] sched: add a macro to define bitops for task atomic flags

2014-09-22 Thread Peter Zijlstra
On Mon, Sep 22, 2014 at 11:51:48AM +0800, Zefan Li wrote: > This will simplify code when we add new flags. > > Signed-off-by: Zefan Li > --- > include/linux/sched.h | 20 +++- > 1 file changed, 11 insertions(+), 9 deletions(-) > > diff --git a/include/linux/sched.h b/include/lin

[PATCH 2/3] sched: add a macro to define bitops for task atomic flags

2014-09-21 Thread Zefan Li
This will simplify code when we add new flags. Signed-off-by: Zefan Li --- include/linux/sched.h | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index 4557765..04a2ae2 100644 --- a/include/linux/sched.h +++ b