sched: __sched_setscheduler: Read the RLIMIT_RTPRIO value lockless
authorOleg Nesterov <oleg@redhat.com>
Thu, 10 Jun 2010 23:09:44 +0000 (01:09 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 18 Jun 2010 08:46:55 +0000 (10:46 +0200)
commita44702e8858a071aa0f2365113ea4a2e51c8b575
treef43ffdfb4ba51a581b73d5386eac5ccf92584e62
parentb6b12294405e6ec029e627c49adf3193829a2685
sched: __sched_setscheduler: Read the RLIMIT_RTPRIO value lockless

__sched_setscheduler() takes lock_task_sighand() to access task->signal.
This is not needed since ea6d290c, ->signal can't go away.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20100610230944.GA25903@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c