Re: [PATCH] Fix dirty page accounting inredirty_page_for_writepage()

From: Ingo Molnar
Date: Fri May 01 2009 - 16:01:42 EST



* Christoph Lameter <cl@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/