All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: Juergen Gross <jgross@suse.com>
Cc: minios-devel@lists.xenproject.org,
	xen-devel@lists.xenproject.org, wei.liu2@citrix.com
Subject: Re: [PATCH 1/3] mini-os: cleanup x86_32.S
Date: Fri, 26 Aug 2016 19:33:14 +0200	[thread overview]
Message-ID: <20160826173314.GA5165@var> (raw)
In-Reply-To: <1472222136-1177-2-git-send-email-jgross@suse.com>

Juergen Gross, on Fri 26 Aug 2016 16:35:34 +0200, wrote:
> arch/x86/x86_32.S has some superfluous instructions. Remove them.
> 
> Signed-off-by: Juergen Gross <jgross@suse.com>

These are indeed remnants from the past.

Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

> ---
>  arch/x86/x86_32.S | 7 +------
>  1 file changed, 1 insertion(+), 6 deletions(-)
> 
> diff --git a/arch/x86/x86_32.S b/arch/x86/x86_32.S
> index f70fc65..3de0027 100644
> --- a/arch/x86/x86_32.S
> +++ b/arch/x86/x86_32.S
> @@ -111,7 +111,6 @@ do_exception:
>      jmp ret_from_exception
>      
>  ret_from_exception:
> -    movb CS(%esp),%cl
>      addl $8,%esp
>      RESTORE_ALL
>  
> @@ -140,11 +139,7 @@ ENTRY(hypervisor_callback)
>          call do_hypervisor_callback
>          add  $4,%esp
>          movl HYPERVISOR_shared_info,%esi
> -        xorl %eax,%eax
> -        movb CS(%esp),%cl
> -    	test $2,%cl          # slow return to ring 2 or 3
> -        jne  safesti
> -safesti:movb $0,1(%esi)     # reenable event callbacks
> +        movb $0,1(%esi)     # reenable event callbacks
>  scrit:  /**** START OF CRITICAL REGION ****/
>          testb $0xFF,(%esi)
>          jnz  14f              # process more events if necessary...
> -- 
> 2.6.6
> 

-- 
Samuel
 >       ±z¬O§_¸g±`¬°¦p¦ó©Ý®i¦æ¾PºÞ¹D¶Ë¸£µ¬?
 > ¥Zµn³ø¯È,Âø»x¼s§i©Î¶l±H¢Ò¢Û (Direct Mail)¬O§_¤w¸gµLªk¹F¦¨±z¹w´Áªº¼s§i®ÄªG?
 Je vous invite a consulter dans un premier temps le french-Howto.
 -+- JCD in Guide du linuxien pervers - "Bien configurer la lisibilité de fcolm"

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

  reply	other threads:[~2016-08-26 17:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-26 14:35 [PATCH 0/3] mini-os: some cleanups Juergen Gross
2016-08-26 14:35 ` [PATCH 1/3] mini-os: cleanup x86_32.S Juergen Gross
2016-08-26 17:33   ` Samuel Thibault [this message]
2016-08-26 14:35 ` [PATCH 2/3] mini-os: cleanup x86_64.S Juergen Gross
2016-08-26 14:46   ` Andrew Cooper
2016-08-26 14:54     ` Juergen Gross
2016-08-26 14:35 ` [PATCH 3/3] mini-os: remove unused functions from sched.c Juergen Gross
2016-08-26 17:34   ` Samuel Thibault

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=20160826173314.GA5165@var \
    --to=samuel.thibault@ens-lyon.org \
    --cc=jgross@suse.com \
    --cc=minios-devel@lists.xenproject.org \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xenproject.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.