perf/core: Make sysctl_perf_cpu_time_max_percent conform to documentation
authorPeter Zijlstra <peterz@infradead.org>
Mon, 4 Apr 2016 07:57:40 +0000 (09:57 +0200)
committerIngo Molnar <mingo@kernel.org>
Sat, 23 Apr 2016 11:47:50 +0000 (13:47 +0200)
commitb303e7c15d53cd8ef6b349b702e07eee3f102792
treea570595d819cd8f0c24a611f0374f4e69bf84ac5
parente1089602a3bf3efd13d0ffc575f3e22213f009da
perf/core: Make sysctl_perf_cpu_time_max_percent conform to documentation

Markus reported that 0 should also disable the throttling we per
Documentation/sysctl/kernel.txt.

Reported-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Fixes: 91a612eea9a3 ("perf/core: Fix dynamic interrupt throttle")
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/core.c