Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753633AbYJULzL (ORCPT ); Tue, 21 Oct 2008 07:55:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752508AbYJULy7 (ORCPT ); Tue, 21 Oct 2008 07:54:59 -0400 Received: from [202.71.129.41] ([202.71.129.41]:41262 "EHLO smtpauth.net4india.com" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752282AbYJULy6 (ORCPT ); Tue, 21 Oct 2008 07:54:58 -0400 Message-ID: <48FDC26D.80104@xenontk.org> Date: Tue, 21 Oct 2008 17:22:13 +0530 From: David John Reply-To: davidjon@xenontk.org User-Agent: Thunderbird 2.0.0.17 (X11/20080914) MIME-Version: 1.0 To: Ingo Molnar CC: akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk, linux-kernel@vger.kernel.org, venkatesh.pallipadi@intel.com, tglx@linutronix.de, andi@firstfloor.org Subject: Re: [PATCH v5] HPET: Remove the BKL. References: <1224568707-2361-1-git-send-email-davidjon@xenontk.org> <20081021113456.GA14529@elte.hu> In-Reply-To: <20081021113456.GA14529@elte.hu> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1102 Lines: 30 Ingo Molnar wrote: > * David John wrote: > >> Remove calls to the BKL as concurrent access is protected >> by the spinlock hpet_lock. >> >> Signed-off-by: David John >> --- >> drivers/char/hpet.c | 41 ++++++++++++++++++++++++----------------- >> 1 files changed, 24 insertions(+), 17 deletions(-) > > this patch still needs to add locking documentation commits to hpet.c, > which shows that you considered all the locking changes that happen due > to dropping the BKL. Most of this code runs very rarely so there's > little chance that races will be caught in practice in any debuggable > manner. > > Ingo > Ok, will do this. Can you also check the RTC patch I sent that removes the BKL from the RTC user space driver? The locking is already done, only the BKL calls needed to be removed. David. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/