Re: iounmap() - can't always unmap memory I've mappedt

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Oct 02 2000 - 11:18:59 EST


> Anyway, my original question has not yet been answered: why is it that I can
> ioremap() any physical page by simply setting one bit, but I cannot always
> iounmap() it? Why can't iounmap() simply undo what ioremap() did?

The fact you can doesn't mean you should. You need to be sole owner of that
page before you can fiddle with the reserved bit. You were not sole owner

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Oct 07 2000 - 21:00:10 EST