WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] FLush pending softirqs when cpu offline

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Subject: [Xen-devel] [PATCH] FLush pending softirqs when cpu offline
From: "Shan, Haitao" <haitao.shan@xxxxxxxxx>
Date: Fri, 12 Sep 2008 10:52:00 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 11 Sep 2008 19:52:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckUgodlpO0S3+HyQFuOpPFkUgSw8w==
Thread-topic: [PATCH] FLush pending softirqs when cpu offline
Hi, Keir,

Thanks for checking in cpu online/offline support.
Another thought inspired by Kevin, due to the time sequence that
different cpus enter the stop machine context, there is a small window
that some kind of softirqs (say softirq_A) are issued to the dying cpu
right after the dying cpu has already handled softirq_A in do_softirq
before entering stop_machine softirq. So this softirq_A should be
handled by the dying cpu after exiting from stop_machine context.
However, scheduling to idle leaves no change for softirqs other than the
shedule softirq itself to execute.
This patch will flush these softirqs at the beginning of play_dead.

Best Regards
Haitao Shan

Attachment: flush_pending_softirq.patch
Description: flush_pending_softirq.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] FLush pending softirqs when cpu offline, Shan, Haitao <=