Re: [RFC][patch 0/2] mm: remove PageReserved

Arjan van de Ven
2005-08-09T13:26:35Z

On Tue, 2005-08-09 at 23:15 +1000, Nick Piggin wrote:

> I understand what you mean, and I agree. Though as far away from the
> business end of the drivers I am, I tend to get the feeling that
> drivers need the most hand holding.

they do. It's important to make driver APIs as fool proof as possible.

>
> Anyway, I guess the way to understand the problem is finding the
> reason why ioremap checks PageReserved, and whether or not ioremap
> should be expected (or allowed) to remap physical RAM in use by
> the kernel.

I can't think of ANY valid reason for that, in fact, it'll break a lot
due to cache aliases etc etc, on various cpus if not even on x86