RE: format_cpumask()

From: Luck, Tony
Date: Mon Nov 17 2003 - 18:58:01 EST


> I was trying to make it a NR_CPUS -bit integer with the
> highest nybbles
> printed first. What's your favorite alternative?

The prettiest output format I can think of would be
to pretend that we had enough bits for NR_CPUS. I.e.
on a 128 cpu system, cpu0 looks like:

00000000000000000000000000000001

and cpu 127 is:

80000000000000000000000000000000

This is probably the messiest to implement :-(

-Tony
-
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/