On Saturday 24 March 2007, Marc-Olivier Barre wrote:
Florian
Schmidt wrote:
> On Thursday 22 March 2007, Lee Revell wrote:
>> On 3/22/07, Florian Schmidt <mista.tapas(a)gmx.net> wrote:
>>> Or is the default configurable in the kernel? If not, maybe simply
>>> make it user configurable at build time..
>>
>> No, it's not. And it's utterly trivial to generate way more than 1024
>> interrupts per second as an unprivileged user already. I think it's
>> better to just raise it to a useful value.
>
> Ok, true :)
hey,
I just took a good look at my config, an the default actually is 1024
(at boot time). My kernel is 2.6.18. For quite a few versions now I
had an option called CONFIG_HZ_1000 that is used to set the boot time
default value.
Erm, CONFIG_HZ is not related to the RTC. And i didn't know a kernel compile
time option for configuring the default max user freq for rtc existed.. Mind
to let us know more [i.e. the name of the config option?]..
Lee's proposal was to change the default max frequency an ordinary user could
set the rtc to from 64hz to something usable like 1024 hz. I would even plea
for going higher.. I.e. 4096hz.
Flo
--
Palimm Palimm!
http://tapas.affenbande.org