On Wed, Nov 26, 2014 at 2:43 PM, Masao Uebayashi <[email protected]> wrote:
> On Wed, Nov 26, 2014 at 1:02 PM, Ryota Ozaki <[email protected]> wrote:
>> Here is a latest patch:
>> http://www.netbsd.org/~ozaki-r/watchdog-callout-per-if.diff
>
> OK from me.
>
>> So my remaining concern is whether we can embed callout_t with _KERNEL
>> which I proposed earlier. If the answer is no, the above patch that
>> uses a pointer of struct callout is okay for me.
>
> As far as I read netstat(1) (doing kvm_read(3) with sizeof(struct
> ifnet)), with/without struct callout * works, because netstat(1)
> doesn't read that member anyway.
>
> Maybe putting #ifdef _KERNEL with a XXX comment like /* XXX kvm(3) */
> is good enough for now.

I'll change so and commit the patch.

Thanks a lot!
  ozaki-r

Reply via email to