From: Laurent Vivier <Laurent.Vivier-6ktuUTfB/bM@public.gmane.org>
To: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: kvm-devel <kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: [PATCH] Split segments reload in vmx_load_host_state()
Date: Thu, 23 Aug 2007 15:02:26 +0200 [thread overview]
Message-ID: <46CD8562.5000402@bull.net> (raw)
In-Reply-To: <46CD8316.2040208-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
[-- Attachment #1.1: Type: text/plain, Size: 956 bytes --]
Avi Kivity wrote:
> Laurent Vivier wrote:
>> It is from the TODO and I hope no one is already working on this.
>>
>> 'vmx_load_host_state() bundles fs, gs, ldt, and tss reloading into one in the
>> hope that it is infrequent. With smp guests, fs reloading is frequent and the
>> separate reloads should be unbundled.'
>>
>>
>
>>
>> };
>> @@ -353,20 +354,20 @@ static void vmx_save_host_state(struct v
>> * allow segment selectors with cpl > 0 or ti == 1.
>> */
>> vmx->host_state.ldt_sel = read_ldt();
>> - vmx->host_state.fs_gs_ldt_reload_needed = vmx->host_state.ldt_sel;
>> + vmx->host_state.gs_ldt_reload_needed = vmx->host_state.ldt_sel;
>>
>
> Missing initialization for fs_reload_needed here.
>
It is initialized on fs_sel, should it be initialized on ldt_sel too ?
Laurent
--
------------- Laurent.Vivier-6ktuUTfB/bM@public.gmane.org --------------
"Software is hard" - Donald Knuth
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 315 bytes --]
-------------------------------------------------------------------------
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/
[-- Attachment #3: Type: text/plain, Size: 186 bytes --]
_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel
next prev parent reply other threads:[~2007-08-23 13:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-23 12:47 [PATCH] Split segments reload in vmx_load_host_state() Laurent Vivier
[not found] ` <46CD81D5.90707-6ktuUTfB/bM@public.gmane.org>
2007-08-23 12:52 ` Avi Kivity
[not found] ` <46CD8316.2040208-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-08-23 13:02 ` Laurent Vivier [this message]
[not found] ` <46CD8562.5000402-6ktuUTfB/bM@public.gmane.org>
2007-08-23 13:14 ` Avi Kivity
[not found] ` <46CD881B.6040202-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-08-23 14:33 ` [PATCH][RESEND] " Laurent Vivier
[not found] ` <46CD9AA7.9010101-6ktuUTfB/bM@public.gmane.org>
2007-08-23 14:44 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46CD8562.5000402@bull.net \
--to=laurent.vivier-6ktuutfb/bm@public.gmane.org \
--cc=avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.