Messages in this thread | | | Date | Wed, 9 Apr 2008 19:39:43 +0200 | From | "Bert Wesarg" <> | Subject | Re: [PATCH 3/3] cpumask: add show cpu map functions v2 |
| |
On Tue, Apr 8, 2008 at 10:52 PM, Mike Travis <travis@sgi.com> wrote: > > Bert Wesarg wrote: > > On Tue, Apr 8, 2008 at 8:43 PM, Mike Travis <travis@sgi.com> wrote: > >> * Add cpu_sysdev_class functions to display the following maps > >> with cpulist_scnprintf(). > >> > > Could we add a cpumap_scnprintf() attribute too, just for consistency? > > > > Bert > > Sure, I could add it. But by not having it, the user is forced to > actually read libbitmask(3) to see a different way of parsing the > output, perhaps weaning them off of cpumask_scnprintf()... ;-) > > Do you mind if I add them as: > > /sys/devices/system/cpu/online_map > /sys/devices/system/cpu/possible_map > /sys/devices/system/cpu/present_map > /sys/devices/system/cpu/system_map Please go ahead.
Bert
PS: this is the only source I found for the libbitmask(3):
ftp://ftp.cvut.cz/kernel/people/christoph/pmig/ray-mmigrate/
but I suspect there is a more official place for this.
> > Thanks, > Mike >
| |