Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jun 2010 08:33:15 +0300
From:      Alexander Motin <mav@FreeBSD.org>
To:        Brandon Gooch <jamesbrandongooch@gmail.com>
Cc:        freebsd-arch@freebsd.org, Doug Barton <dougb@freebsd.org>, FreeBSD-Current <freebsd-current@freebsd.org>
Subject:   Re: RFC: New event timers infrastructure
Message-ID:  <4C1EF99B.5080300@FreeBSD.org>
In-Reply-To: <AANLkTikzgaxTMDiWDbUHFrhLwN0a6MJjOVgG4VR4IIOk@mail.gmail.com>
References:  <4C0C1AE4.8050807@FreeBSD.org>	<AANLkTilFEtiiqllYzWPWEwz9HreYIC_JERZDq4R1kwwY@mail.gmail.com>	<4C1DB296.5040605@FreeBSD.org>	<AANLkTikPFpqPcJ0fwO8MEfvWOrZKz_98vFR7XVeWt_aD@mail.gmail.com>	<4C1E381B.30405@FreeBSD.org>	<4C1E7B89.1030005@FreeBSD.org> <AANLkTikzgaxTMDiWDbUHFrhLwN0a6MJjOVgG4VR4IIOk@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Brandon Gooch wrote:
> On Sun, Jun 20, 2010 at 3:35 PM, Doug Barton <dougb@freebsd.org> wrote:
>> On 06/20/10 08:47, Alexander Motin wrote:
>>> While this can be done in sysctl.conf, it would be better to do it in
>>> loader.conf to make it applied from the beginning, without on-the-fly
>>> timers change.
>> You're probably right that for something this fundamental it's better to do
>> it in loader.conf, however I wanted to mention that I recently changed the
>> rcorder for the "early" boot scripts to run sysctl first for very similar
>> reasons.
> 
> This is good information, so sorry if I'm being dense: does this mean
> that it should have worked by applying the changes via
> /etc/sysctl.conf?

"You are too old. You are already born." (c) Sergey Lukyanenko.
stathz set much earlier, just before "Starting kernel event timers"
logged first time. It can only be affected from loader.conf.

> No worries though, I've set it in /boot/loader.conf to avoid any
> possible ambiguity or anomalous behavior, and it's working very well!

Nice.

BTW, I've successfully tested suspend/resume on my amd64 laptop with all
timers.

-- 
Alexander Motin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C1EF99B.5080300>