From mboxrd@z Thu Jan 1 00:00:00 1970 From: "tiejun.chen" Subject: Re: [v1][PATCH 1/1] KVM: PPC: disable preemption when using hard_irq_disable() Date: Mon, 15 Jul 2013 11:03:56 +0800 Message-ID: <51E3669C.7050206@windriver.com> References: <1373651433.8183.276@snotra> <1373670311.19894.213.camel@pasglop> <51E35C50.6050901@windriver.com> <1373856444.19894.323.camel@pasglop> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit Cc: Scott Wood , Alexander Graf , "" , " list" To: Benjamin Herrenschmidt Return-path: Received: from mail.windriver.com ([147.11.1.11]:54657 "EHLO mail.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753295Ab3GODDM (ORCPT ); Sun, 14 Jul 2013 23:03:12 -0400 In-Reply-To: <1373856444.19894.323.camel@pasglop> Sender: kvm-owner@vger.kernel.org List-ID: On 07/15/2013 10:47 AM, Benjamin Herrenschmidt wrote: > On Mon, 2013-07-15 at 10:20 +0800, tiejun.chen wrote: >> What about SOFT_IRQ_DISABLE? This is close to name >> hard_irq_disable() :) And >> then remove all DISABLE_INTS as well? > > Or RECONCILE_IRQ_STATE... But sounds this doesn't imply this key point that the soft-irq is always disabled here :) And as I understand, the irq state is always needed to be reconciled when we disable soft irq, right? Tiejun