From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PULL 4/4] KVM: s390: clear local interrupts at cpu initial reset Date: Tue, 25 Mar 2014 14:56:53 +0100 Message-ID: <53318B25.9070805@redhat.com> References: <1395754523-43697-1-git-send-email-borntraeger@de.ibm.com> <1395754523-43697-5-git-send-email-borntraeger@de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: KVM , linux-s390 , Cornelia Huck , Jens Freimann To: Christian Borntraeger Return-path: Received: from mx1.redhat.com ([209.132.183.28]:17519 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752360AbaCYN5C (ORCPT ); Tue, 25 Mar 2014 09:57:02 -0400 In-Reply-To: <1395754523-43697-5-git-send-email-borntraeger@de.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: Il 25/03/2014 14:35, Christian Borntraeger ha scritto: > + spin_lock_bh(&li->lock); > + list_for_each_entry_safe(inti, n, &li->list, list) { > + list_del(&inti->list); > + kfree(inti); > + } > + atomic_set(&li->active, 0); > + spin_unlock_bh(&li->lock); > +} Out of curiosity, why the _bh? Paolo