Files
erofs-linux/kernel/trace
Peter Zijlstra c9b5f501ef sched: Constify function scope static struct sched_param usage
Function-scope statics are discouraged because they are
easily overlooked and can cause subtle bugs/races due to
their global (non-SMP safe) nature.

Linus noticed that we did this for sched_param - at minimum
make the const.

Suggested-by: Linus Torvalds <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
LKML-Reference: Message-ID: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
2011-01-07 15:55:45 +01:00
..
2010-11-10 14:54:09 +01:00
2010-07-20 14:31:07 +02:00