Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765308AbZD3SRW (ORCPT ); Thu, 30 Apr 2009 14:17:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1763634AbZD3SRK (ORCPT ); Thu, 30 Apr 2009 14:17:10 -0400 Received: from smtp.ultrahosting.com ([74.213.174.254]:59600 "EHLO smtp.ultrahosting.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763768AbZD3SRJ (ORCPT ); Thu, 30 Apr 2009 14:17:09 -0400 Date: Thu, 30 Apr 2009 14:07:01 -0400 (EDT) From: Christoph Lameter X-X-Sender: cl@qirst.com To: Ingo Molnar 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() In-Reply-To: <20090430172341.GA11865@elte.hu> Message-ID: References: <20090430141446.GD14696@elte.hu> <20090430143819.GF14696@elte.hu> <20090430150142.GC20580@elte.hu> <20090430154255.GA3714@elte.hu> <20090430160606.GA5913@elte.hu> <20090430172341.GA11865@elte.hu> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 632 Lines: 18 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(). -- 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/