[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080410090331.da1900c5.pj@sgi.com>
Date: Thu, 10 Apr 2008 09:03:31 -0500
From: Paul Jackson <pj@....com>
To: Mike Travis <travis@....com>
Cc: bert.wesarg@...glemail.com, mingo@...e.hu, tglx@...utronix.de,
hpa@...or.com, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] x86: modify show_shared_cpu_map in intel_cacheinfo
v3
Mike, in response to a suggestion from Bert, wrote:
> I have to subvert the cpumask interface a bit, but the resultant
> code size is about 7 instructions smaller.
I should have read ahead to this discussion, before responding
a minute ago with my suggestion using:
typedef enum { print_as_mask, print_as_list } map_printer_t;
I slightly dislike the subversion of the cpumask interface,
and slightly -do- like the 7 instructions saved.
Either of these variants (my typedef or Berts function pointer)
would be fine by me, as you prefer, Mike.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@....com> 1.940.382.4214
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists