Re: Replacement for page fault notifiers?

From: Christoph Hellwig
Date: Wed Jan 09 2008 - 15:27:06 EST


On Wed, Jan 09, 2008 at 03:24:16PM -0500, Pavel Roskin wrote:
> I just assumed (wrongly, as it seems) that the API change didn't remove
> any useful functionality.

No, this was exactly the correct assumption. Out of tree modules simply
don't count.

> The problem is that mmiotrace only makes sense in combination with
> non-free drivers, and I'm not sure it would be welcome in the kernel
> even if you say so.

It can trace every driver in theory although it's of course not
really interesting for free drivers. But it's not actually
functionality used by the drivers but functionlity to trace the drivers
so it's quite different anyway.

> Exactly. In MadWifi, they are inlined on i386 and x86_64, and I cannot
> ask every user with an unsupported card to get a Mac.

Maybe it's time to do some simple xoring in the ioremap return value
to force them not to do such stupid things..

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