-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nakajima, Jun wrote:
>> Looking at the Linux context switch code, it can bang on MSR_FS_BASE
> and
>> MSR_KERNEL_GS_BASE. A high context switch rate between threads (which
>> use %gs or %fs) can show an improvement with this.  Things like kbuild
>> probably won't as they use single threaded processes.
> 
> Right. 

In Linux there is no difference between single- and multi-threaded
processes when it comes to setting up segment registers.  Every x86-64
process uses %fs for TLS and every x86 process uses %gs.  There are
always variables accessed this way (errno, for instance).

- --
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGsiE02ijCOnn/RHQRAusOAJoDB29M1JXWybmgdONnIZP+O7aYoACgmDth
7EXTDup10Didr2vAKVpFjJc=
=TruR
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to