NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/44620: /proc/stat broken after acpi changes (?) and only shows one CPU in amd64-current


> On Thu, Feb 24, 2011 at 12:30:35AM +0000, YAMAMOTO Takashi wrote:
>> > Right, CPU_INFO_FOREACH should mostly work in both cases ... But some
>> > archs have different curcpu definition depending on MULTIPROCESSOR.
> This breaks MODULAR also.
> FYI curcpu/curlwp should be functions ifdef _MODULE, if they are 
> sensitive to data structure changes etc.

btw, for x86, i think it's better to just remove inline versions of them
as they often produce seemingly slower code.


> I think MULTIPROCESSOR should go away, or at worst become
> an MD option that has no meaning elsewhere.

Home | Main Index | Thread Index | Old Index