Subject: Re: unaligned access during bootup
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Jason Thorpe <thorpej@shagadelic.org>
List: port-alpha
Date: 03/02/2007 08:35:19
On Mar 2, 2007, at 5:39 AM, Izumi Tsutsui wrote:

> Now I've tested the patch on 3000/300 and it works fine, but
> "sysctl -a vm.idlezero" command shows "vm.idlezero = 256"
> while it should be zero.
>
> Should we add CTLTYPE_BOOL in <sys/sysctl.h> and sys/kern/ 
> kern_sysctl.c?

Possibly, yes.  but we could work around the problem for now by making  
the sysctl handler copy the value to a temporary int variable.

-- thorpej