Re: [PATCH] updated low-latency zap_page_range

From: Linus Torvalds (torvalds@transmeta.com)
Date: Thu Jul 25 2002 - 00:19:33 EST


On Wed, 24 Jul 2002, george anzinger wrote:
> >
> > That may be a bug in preempt_count(), of course.
> >
> Didn't we just put bh_count and irq_count in the same
> word???

Yes. But that doesn't mean that the "preempt_count()" macro necessarily
needs to reflect that.

In particular, we have separate macros for getting the irq bits from that
shared word ("irq_count()" etc). Right now they happen to use the
"preempt_count()" macro, but that's not really fundamental.

No big deal either way, I suspect.

                Linus

-
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/



This archive was generated by hypermail 2b29 : Tue Jul 30 2002 - 14:00:18 EST