All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andres Lagar-Cavilla <andreslc@cs.toronto.edu>
To: xen-devel@lists.xensource.com
Cc: ashish.bijlani@gmail.com, Daniel Stodden <stodden@cs.tum.edu>
Subject: Re: do_iret bug in xen
Date: Tue, 27 Nov 2007 16:50:35 -0500	[thread overview]
Message-ID: <474C912B.2040401@cs.toronto.edu> (raw)
In-Reply-To: <E1Ix7Vw-000810-RL@host-192-168-0-1-bcn-london>

raise_softirq is not the same as actually doing it. Raise only sets a 
bit indicating pending softirq. Before returning to the guest, the bin 
triggers actual execution of the softirq

Andres

    since "sti" is on, an interrupt can occur which can cause the
    control to enter "__runq_tickle", which then invokes
    "cpumask_raise_softirq(mask, SCHEDULE_SOFTIRQ)" to send IPI to a
    processor causing the control to enter "__enter_scheduler" which
    changes the current. 

       reply	other threads:[~2007-11-27 21:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1Ix7Vw-000810-RL@host-192-168-0-1-bcn-london>
2007-11-27 21:50 ` Andres Lagar-Cavilla [this message]
2007-11-27 22:41   ` do_iret bug in xen Ashish Bijlani
2007-11-27 23:17     ` Ian Campbell
2007-11-27 23:30       ` Ashish Bijlani
2007-11-28  0:51         ` Daniel Stodden
2007-11-28  1:15           ` Ashish Bijlani
2007-11-28  1:37             ` Daniel Stodden
2007-11-27 18:59 Ashish Bijlani
2007-11-27 19:16 ` Daniel Stodden
2007-11-27 19:28   ` Ashish Bijlani

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=474C912B.2040401@cs.toronto.edu \
    --to=andreslc@cs.toronto.edu \
    --cc=ashish.bijlani@gmail.com \
    --cc=stodden@cs.tum.edu \
    --cc=xen-devel@lists.xensource.com \
    /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.