[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH]: mpstat: code shrink
From:       Benjamin Cama <benoar () free ! fr>
Date:       2010-07-30 16:28:13
Message-ID: 1280507293.6034.8.camel () nsk
[Download RAW message or body]

Hi,

Le vendredi 30 juillet 2010 à 16:44 +0200, Denys Vlasenko a écrit :
> On Fri, Jul 30, 2010 at 10:40 AM, Marek Polacek <mmpolacek@gmail.com> wrote:
> > OK, here's another version -- it just removes function, which determines
> > number of CPUs in /sys.
> 
> Applied, thanks!

It seemed to me that hardware-related stuff would rather be in /sys in
the 2.6 era, am I wrong ? This /proc entry is not deprecated, but I'd
rather keep a way to get this information from /sys. Even if it could be
better made by reading /sys/devices/system/cpu/online. I thought about
doing that, but wondered if there is an equivalent of bitmap_parselist
(from linux/lib/bitmap.c) in busybox already ?

Regards,
benjamin

_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic