]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sched_nr_migrate wrong mode bits
authorMichal Schmidt <mschmidt@redhat.com>
Mon, 17 Mar 2008 23:13:16 +0000 (00:13 +0100)
committerChris Wright <chrisw@sous-sol.org>
Mon, 24 Mar 2008 18:47:46 +0000 (11:47 -0700)
commit38f469963d11172bf68ebcb8c056bf4145c40241
tree11f66f463a5f7db7f523d64da119d3ae6ec1e6cf
parent7a2f56f3783496d860de6dfbce95154cc5adcabd
sched_nr_migrate wrong mode bits

sched_nr_migrate has strange permission bits:

 $ ls -l /proc/sys/kernel/sched_nr_migrate
 --w----r-T 1 root root 0 2008-03-17 23:31 /proc/sys/kernel/sched_nr_migrate

The bug is an obvious decimal/octal confusion.

Fixed (collaterally) in Linus's tree by Peter Zijlstra with commit fa85ae241
"sched: rt time limit" (in 2.6.25-rc1).

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/sysctl.c