Re: [PATCH 11/25] xen: Xen SMP guest support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 27 April 2007 08:46:19 Jeremy Fitzhardinge wrote:
> Andi Kleen wrote:
> >> +/* VCPUs are single-cored, and have no siblings */
> >> +static void set_cpu_sibling_map(int cpu)
> >>     
> >
> > Can you put this somewhere generic and use it everywhere? Don't want
> > duplication of this code.
> >   
> 
> Are there any other users?  This is a very cutdown version of the code
> in kernel/smpboot.c; under Xen all CPUs are considered to be
> single-cored and single-threaded, so there's not a lot to do here.

I would like to have a single place to set that up, with xen calling
it with single arguments and the normal code with complex ones

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux