Question: use of FS, GS segment registers in Linux

From: Pengfei Yuan
Date: Mon May 11 2015 - 22:00:53 EST


Hi,

What is the use of FS, GS segment registers in kernel and user mode,
on x86 and x86-64?
Where can I find the related kernel (definition/setup) code?

I have read the code in arch/x86/include/asm/segment.h, but still a
little confused.

Regards,

Yuan, Pengfei
--
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/