From mboxrd@z Thu Jan 1 00:00:00 1970 From: cl@linux.com (Christoph Lameter) Date: Thu, 30 Apr 2009 14:07:01 -0400 (EDT) Subject: [ltt-dev] [PATCH] Fix dirty page accounting in redirty_page_for_writepage() In-Reply-To: <20090430172341.GA11865@elte.hu> 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> Message-ID: 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().