Re: [RFC 11/13] genapic: reduce stack pressuge in io_apic.c step3 target_cpus

From: Mike Travis
Date: Mon Sep 08 2008 - 11:01:59 EST


Ingo Molnar wrote:
>>> +#ifdef CONFIG_X86_64
>>> +#define TARGET_CPUS(retval) (genapic->target_cpus)(&(retval))
>>> +#else
>>> +#define TARGET_CPUS(retval) retval = (genapic->target_cpus())
>>> +#endif
>
> hm, this should be unified.
>
> Ingo

As I did that one first, I didn't want to muddle through too much i386 code,
but when I did the vector_allocation_domain, it became more clear that making
them common would be better.

I also tripped myself up because one of my test i386 configs had 64 cpus and
it fired up the "NR_CPUS > BITS_PER_LON" code. ;-) [And I'm supposing it's
probably justified to believe that there may be "fairly large" 32-bit systems,
for those applications that need horsepower but not a lot of memory.]

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/