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

From: Ingo Molnar
Date: Thu Apr 30 2009 - 11:55:59 EST



* Christoph Lameter <cl@xxxxxxxxx> wrote:

> On Thu, 30 Apr 2009, Ingo Molnar wrote:
>
> > Could you cite a specific example / situation where you'd use __xxx
> > ops?
>
> Well the cpu alloc v3 patchset (already cited) included numerous
> locations. Sure wish we could move much of the core stats over to
> percpu ops. Here is a list of some stats patches that do not need
> irq disable.
>
> http://article.gmane.org/gmane.linux.kernel.cross-arch/1128
> http://article.gmane.org/gmane.linux.kernel.cross-arch/1132
> http://article.gmane.org/gmane.linux.kernel.cross-arch/1134
> http://article.gmane.org/gmane.linux.kernel.cross-arch/1138
> http://article.gmane.org/gmane.linux.kernel.cross-arch/1139
> http://article.gmane.org/gmane.linux.kernel.cross-arch/1145 VM stats
> http://article.gmane.org/gmane.linux.kernel.cross-arch/1160 NFS stats
> http://article.gmane.org/gmane.linux.kernel.cross-arch/1161 Genhd stats
> http://article.gmane.org/gmane.linux.kernel.cross-arch/1163 Socket inuse counter
> http://article.gmane.org/gmane.linux.kernel.cross-arch/1164 SRCU

nice. Do these all get called with irqs off, all the time?

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/