Re: Voyager phys_cpu_present_map compile error

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: James Bottomley
Date: Monday, April 21, 2008 - 2:57 pm

On Mon, 2008-04-21 at 22:14 +0200, Ingo Molnar wrote:

Hang on; this doesn't looks like such a good idea.  Why don't the
definitions match?  CPU type maps are supposed to be of type cpumask_t,
so why bother reinventing a physid_mask_t which is essentially a cut and
paste cpumask_t but on MAX_APICS instead of NR_CPUS ... surely we don't
have to have that duplication ... particularly as m32r has gone and
copied your definitions.

I'm guessing you want large sparse phys maps and smaller logical cpumaps
(although I'm not clear which archs can have a greater physical id than
they support as cpus)?  In which case, it still makes sense for this to
be generic, using similar code in  linux/cpumask.h to avoid further
duplication?

James


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Voyager phys_cpu_present_map compile error, Adrian Bunk, (Sun Apr 20, 5:02 pm)
Re: Voyager phys_cpu_present_map compile error, Adrian Bunk, (Mon Apr 21, 1:53 am)
Re: Voyager phys_cpu_present_map compile error, Ingo Molnar, (Mon Apr 21, 5:00 am)
Re: Voyager phys_cpu_present_map compile error, H. Peter Anvin, (Mon Apr 21, 5:55 am)
Re: Voyager phys_cpu_present_map compile error, H. Peter Anvin, (Mon Apr 21, 6:00 am)
Re: Voyager phys_cpu_present_map compile error, Adrian Bunk, (Mon Apr 21, 6:27 am)
Status of SGI 320/540 (Visual Workstation) support?, Adrian Bunk, (Mon Apr 21, 7:10 am)
Re: Voyager phys_cpu_present_map compile error, James Bottomley, (Mon Apr 21, 8:42 am)
Re: Voyager phys_cpu_present_map compile error, James Bottomley, (Mon Apr 21, 8:58 am)
Re: Voyager phys_cpu_present_map compile error, Ingo Molnar, (Mon Apr 21, 12:51 pm)
Re: Voyager phys_cpu_present_map compile error, Ingo Molnar, (Mon Apr 21, 12:55 pm)
Re: Voyager phys_cpu_present_map compile error, H. Peter Anvin, (Mon Apr 21, 1:03 pm)
Re: Voyager phys_cpu_present_map compile error, Ingo Molnar, (Mon Apr 21, 1:03 pm)
Re: Voyager phys_cpu_present_map compile error, Adrian Bunk, (Mon Apr 21, 1:09 pm)
Re: Voyager phys_cpu_present_map compile error, H. Peter Anvin, (Mon Apr 21, 1:10 pm)
Re: Voyager phys_cpu_present_map compile error, Ingo Molnar, (Mon Apr 21, 1:11 pm)
Re: Voyager phys_cpu_present_map compile error, Ingo Molnar, (Mon Apr 21, 1:13 pm)
Re: Voyager phys_cpu_present_map compile error, Ingo Molnar, (Mon Apr 21, 1:14 pm)
Re: Voyager phys_cpu_present_map compile error, Adrian Bunk, (Mon Apr 21, 1:26 pm)
Re: Voyager phys_cpu_present_map compile error, Ingo Molnar, (Mon Apr 21, 1:29 pm)
Re: Voyager phys_cpu_present_map compile error, Adrian Bunk, (Mon Apr 21, 2:02 pm)
Re: Voyager phys_cpu_present_map compile error, James Bottomley, (Mon Apr 21, 2:57 pm)
Re: Voyager phys_cpu_present_map compile error, Ingo Molnar, (Mon Apr 21, 3:31 pm)
Re: Voyager phys_cpu_present_map compile error, James Bottomley, (Mon Apr 21, 4:08 pm)
Re: Status of SGI 320/540 (Visual Workstation) support?, Andrey Panin, (Mon Apr 21, 11:19 pm)
Re: Voyager phys_cpu_present_map compile error, Andrew Morton, (Tue Apr 22, 6:29 am)
Re: Voyager phys_cpu_present_map compile error, Andy Whitcroft, (Tue Apr 22, 8:25 am)
Re: Voyager phys_cpu_present_map compile error, Pavel Machek, (Wed Apr 23, 1:53 am)
Re: Voyager phys_cpu_present_map compile error, James Bottomley, (Fri Apr 25, 7:50 am)
Re: Voyager phys_cpu_present_map compile error, Adrian Bunk, (Fri Apr 25, 9:17 am)
Re: Voyager phys_cpu_present_map compile error, James Bottomley, (Fri Apr 25, 9:33 am)
Re: Voyager phys_cpu_present_map compile error, Pavel Machek, (Sat Apr 26, 12:43 am)
Re: Voyager phys_cpu_present_map compile error, H. Peter Anvin, (Sat Apr 26, 5:44 pm)
Re: Voyager phys_cpu_present_map compile error, Adrian Bunk, (Sat Apr 26, 6:06 pm)
Re: Voyager phys_cpu_present_map compile error, H. Peter Anvin, (Sat Apr 26, 6:45 pm)
Re: Voyager phys_cpu_present_map compile error, Ingo Molnar, (Mon Apr 28, 10:59 am)
Re: Voyager phys_cpu_present_map compile error, James Bottomley, (Mon Apr 28, 12:09 pm)