linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: format_cpumask()
@ 2003-11-17 23:56 Luck, Tony
  2003-11-18  0:00 ` format_cpumask() William Lee Irwin III
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Luck, Tony @ 2003-11-17 23:56 UTC (permalink / raw)
  To: William Lee Irwin III; +Cc: linux-kernel

> 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-11-28 21:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-17 23:56 format_cpumask() Luck, Tony
2003-11-18  0:00 ` format_cpumask() William Lee Irwin III
2003-11-18  0:03 ` format_cpumask() William Lee Irwin III
     [not found] ` <20031118002213.GA6272@tsunami.ccur.com>
2003-11-18  0:26   ` format_cpumask() William Lee Irwin III
2003-11-18  0:34     ` format_cpumask() Keith Owens
2003-11-18  0:56       ` format_cpumask() William Lee Irwin III
2003-11-28 20:54         ` [PATCH] new /proc/irq cpumask format; consolidate cpumask display and input code Paul Jackson
2003-11-28 21:09           ` William Lee Irwin III

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).