> set_bit(PG_reserved, &page->flags);
> ioremap();
> ...
> iounmap();
> clear_bit(PG_reserved, &page->flags);
The problem with this is that between the ioremap and iounmap, the page is
reserved. What happens if that page belongs to some disk buffer or user
process, and some other process tries to free it. Won't that cause a problem?
-- Timur Tabi - ttabi@interactivesi.com Interactive Silicon - http://www.interactivesi.comWhen replying to a mailing-list message, please direct the reply to the mailing list only. Don't send another copy to me.
- 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/