lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5242DB0C.4070005@t-online.de>
Date:	Wed, 25 Sep 2013 14:46:04 +0200
From:	Knut Petersen <Knut_Petersen@...nline.de>
To:	Peter Zijlstra <peterz@...radead.org>
CC:	Linus Torvalds <torvalds@...ux-foundation.org>,
	Paul Mackerras <paulus@...ba.org>,
	Ingo Molnar <mingo@...hat.com>,
	Arnaldo Carvalho de Melo <acme@...stprotocols.net>,
	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] perf: Prevent divide by zero exception in kernel/events/core.c

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

View attachment "0001-Enforce-1-as-lower-limit-for-perf_event_max_sample_r.patch" of type "text/x-patch" (1534 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ