Re: [PATCH] perf: Prevent divide by zero exception in kernel/events/core.c

From: Knut Petersen
Date: Wed Sep 25 2013 - 08:46:26 EST


This is a multi-part message in MIME format.On 25.09.2013 14:12, Peter Zijlstra wrote:
The 'normal' way of doing that is changing the sysctl table entry to use
proc_dointvec_minmax and set .extra = &one. See for example
&sysctl_sched_cfs_bandwidth_slice in kernel/sysctl.c

Thanks. V2 attached.

cu,
Knut