sched: document profile=sleep requiring CONFIG_SCHEDSTATS
commitb3da2a73ff5a2953a4ad8ebbf0aa7e6965ff9de2
authorMel Gorman <mel@csn.ul.ie>
Wed, 24 Oct 2007 16:23:50 +0000 (24 18:23 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 24 Oct 2007 16:23:50 +0000 (24 18:23 +0200)
tree43583e5f492a48c56f9537006c8f806d570b0d84
parent838225b48edc971620cbeb292034dabd2b0d7d1d
sched: document profile=sleep requiring CONFIG_SCHEDSTATS

profile=sleep only works if CONFIG_SCHEDSTATS is set. This patch notes
the limitation in Documentation/kernel-parameters.txt and prints a
warning at boot-time if profile=sleep is used without CONFIG_SCHEDSTAT.

Signed-off-by: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/kernel-parameters.txt
kernel/profile.c