From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765330AbZEAUBk (ORCPT ); Fri, 1 May 2009 16:01:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755927AbZEAUB0 (ORCPT ); Fri, 1 May 2009 16:01:26 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:59469 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1764970AbZEAUBZ (ORCPT ); Fri, 1 May 2009 16:01:25 -0400 Date: Fri, 1 May 2009 21:59:41 +0200 From: Ingo Molnar To: Christoph Lameter Cc: Linus Torvalds , Mathieu Desnoyers , Andrew Morton , Nick Piggin , KOSAKI Motohiro , Peter Zijlstra , thomas.pi@arcor.dea, Yuriy Lalym , Linux Kernel Mailing List , ltt-dev@lists.casi.polymtl.ca, Tejun Heo Subject: Re: [PATCH] Fix dirty page accounting in redirty_page_for_writepage() Message-ID: <20090501195941.GA28264@elte.hu> References: <20090430143819.GF14696@elte.hu> <20090430150142.GC20580@elte.hu> <20090430154255.GA3714@elte.hu> <20090430160606.GA5913@elte.hu> <20090430172341.GA11865@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Christoph Lameter wrote: > On Thu, 30 Apr 2009, Ingo Molnar wrote: > > > So we introduced preemption-safety in the v2 version of that commit. > > > > This non-atomicity will 1) either not matter 2) will be > > irq-atomic by virtue of being within a critical section 3) can > > be made atomic in the few remaining cases. > > > > And maybe, at most, introduce an opt-in API: > > percpu_add_irqsafe(). > > Plus percpu_add_preemptsafe(). Ok - that would be easy. Would you be interested in doing that and would you be interested in resurrecting your old patches? They are genuinely useful IMHO. Ingo