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



The following reply was made to PR kern/44620; it has been noted by GNATS.

From: yamt%mwd.biglobe.ne.jp@localhost (YAMAMOTO Takashi)
To: ad%netbsd.org@localhost
Cc: njoly%pasteur.fr@localhost, gnats-bugs%NetBSD.org@localhost, 
kern-bug-people%netbsd.org@localhost,
        gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, 
htodd%twofifty.com@localhost
Subject: Re: kern/44620: /proc/stat broken after acpi changes (?) and only
 shows one CPU in amd64-current
Date: Fri, 11 Mar 2011 03:12:26 +0000 (UTC)

 hi,
 
 > 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.
 
 YAMAMOTO Takashi
 
 > 
 > 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