Re: Use of CONFIG_X86_NO_TSS

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

 



I cannot find any of these in my linus git tree kernel.   But google
showed up Xen.   So under my Xen unstable, this is what I have found:

In the linux-2.6.18-xen.hg subdirectory:

./arch/i386/kernel/process-xen.c:
#ifndef CONFIG_X86_NO_TSS

./arch/i386/kernel/cpu/common-xen.c:
#ifndef CONFIG_X86_NO_TSS

./arch/i386/kernel/init_task-xen.c:
#ifndef CONFIG_X86_NO_TSS

./arch/i386/kernel/asm-offsets.c:
#ifndef CONFIG_X86_NO_TSS

./arch/i386/kernel/vm86.c:
#ifndef CONFIG_X86_NO_TSS
#ifndef CONFIG_X86_NO_TSS
#ifndef CONFIG_X86_NO_TSS
#ifndef CONFIG_X86_NO_TSS
#ifndef CONFIG_X86_NO_TSS
#ifndef CONFIG_X86_NO_TSS

./arch/i386/power/cpu.c:
#ifndef CONFIG_X86_NO_TSS

./arch/x86_64/kernel/process-xen.c:
#ifndef CONFIG_X86_NO_TSS
#ifndef CONFIG_X86_NO_TSS
#ifndef CONFIG_X86_NO_TSS

./arch/x86_64/kernel/traps-xen.c:
#ifndef CONFIG_X86_NO_TSS

./arch/x86_64/kernel/init_task.c:
#ifndef CONFIG_X86_NO_TSS

./arch/x86_64/kernel/suspend.c:
#ifndef CONFIG_X86_NO_TSS

./arch/x86_64/kernel/setup64-xen.c:
#ifndef CONFIG_X86_NO_TSS
#ifndef CONFIG_X86_NO_TSS
#ifndef CONFIG_X86_NO_TSS
#ifndef CONFIG_X86_NO_TSS
#ifndef CONFIG_X86_NO_TSS

./arch/x86_64/kernel/asm-offsets.c:
#ifndef CONFIG_X86_NO_TSS

./include/asm-i386/mach-xen/asm/processor.h:
#ifndef CONFIG_X86_NO_TSS
#ifndef CONFIG_X86_NO_TSS
#ifndef CONFIG_X86_NO_TSS
#ifndef CONFIG_X86_NO_TSS

./include/asm-i386/mach-xen/asm/desc.h:
#ifndef CONFIG_X86_NO_TSS

./include/asm-x86_64/mach-xen/asm/processor.h:
#ifndef CONFIG_X86_NO_TSS
#ifndef CONFIG_X86_NO_TSS
#ifndef CONFIG_X86_NO_TSS
#ifndef CONFIG_X86_NO_TSS

./include/asm-x86_64/mach-xen/asm/desc.h:
#ifndef CONFIG_X86_NO_TSS

as for its purpose -  the linux-2.6.18-xen.hg subdirectory implements
the dom0 kernel - which runs under the control of the Xen hypervisor
(which comes under the "xen" subdirectory).   So practically anything
can be emulated.   And for this specific configuration the TSS is
emulated in software - no hardware TSS is assumed.   Default is Y for
Xen - usually like this:

#ifndef CONFIG_X86_NO_TSS
        struct tss_struct * tss = &per_cpu(init_tss, cpu);
 #endif

On Fri, Jun 20, 2008 at 2:16 AM, Asim <linkasim@xxxxxxxxx> wrote:
> Hi,
>
> I was wondering what is the use of the CONFIG_X86_NO_TSS. Is there any
> document which describes the basics of this. When and why would this
> be turned on or off.
>
> -Asim
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>



-- 
Regards,
Peter Teoh

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux