Re: [PATCH 3/3] cpumask: add show cpu map functions v2

From: Bert Wesarg
Date: Wed Apr 09 2008 - 13:39:56 EST


On Tue, Apr 8, 2008 at 10:52 PM, Mike Travis <travis@xxxxxxx> wrote:
>
> Bert Wesarg wrote:
> > On Tue, Apr 8, 2008 at 8:43 PM, Mike Travis <travis@xxxxxxx> 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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/