Re: [RFC PATCH 01/35] Add XEN config options and disable unsupported config options.

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

 



On Tuesday 09 May 2006 06:05, Adrian Bunk wrote:
> On Tue, May 09, 2006 at 12:00:01AM -0700, Chris Wright wrote:
> >...
> > --- linus-2.6.orig/arch/i386/Kconfig
> > +++ linus-2.6/arch/i386/Kconfig
> >...
> >  config X86_IO_APIC
> >  	bool
> > -	depends on X86_UP_IOAPIC || (SMP && !(X86_VISWS || X86_VOYAGER))
> > +	depends on X86_UP_IOAPIC || (SMP && !(X86_VISWS || X86_VOYAGER || X86_XEN))
> >  	default y
> >...
> 
> <nitpick>not required</nitpick>
> 
> > --- linus-2.6.orig/kernel/Kconfig.hz
> > +++ linus-2.6/kernel/Kconfig.hz
> > @@ -3,7 +3,7 @@
> >  #
> >  
> >  choice
> > -	prompt "Timer frequency"
> > +	prompt "Timer frequency" if !XEN
> >  	default HZ_250
> >  	help
> >  	 Allows the configuration of the timer frequency. It is customary
> > @@ -40,7 +40,7 @@ endchoice
> >  
> >  config HZ
> >  	int
> > -	default 100 if HZ_100
> > +	default 100 if HZ_100 || XEN
> >  	default 250 if HZ_250
> >  	default 1000 if HZ_1000
> >...
> 
> Why?

Guessing, but its probably to limit the number of parahypervisor calls.

Ed Tomlinson
-
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