[PATCH] locks should not be needed for reading completion state

2015-01-16 Thread Nicholas Mc Guire
Signed-off-by: Nicholas Mc Guire --- Should that not be enough to wrap it into ACCESS_ONCE() here ? Not a wild performance benefit - but might be worth it anyway kernel/sched/completion.c |9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/kernel/sched/completion.c

[PATCH] locks should not be needed for reading completion state

2015-01-16 Thread Nicholas Mc Guire
Signed-off-by: Nicholas Mc Guire der.h...@hofr.at --- Should that not be enough to wrap it into ACCESS_ONCE() here ? Not a wild performance benefit - but might be worth it anyway kernel/sched/completion.c |9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git