Subject: Re: workqueue(9), per-CPU queues [was: Re: soc zfs: taskqueue /
To: None <tech-kern@netbsd.org>
From: Mindaugas R. <rmind@NetBSD.org>
List: tech-kern
Date: 07/11/2007 16:56:14
Martin Husemann <martin@duskware.de> wrote:
> I guess CPUs detaching could be handled by just setting a "gone" flag in the
> cpuinfo, and clearing it (reviving the cpuid) if a cpu attaches at the same
> slot.

If we would need to search through CPUs, one should need to iterate. I think
it would be good to have a bitmap of active/inactive CPUs.

-- 
Best regards,
Mindaugas
www.NetBSD.org