Re: New resources - pls, explain :-(

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 13 Aug 1999 11:29:25 +0100 (BST)


> In your opinion, should there be a guarantee that accesses initiated
> by readl/writel/etc. will not be reordered?

Most drivers assume this except for areas they've used MTRR on (thats x86
only of course)

> Alternatively, should device driver writers be required to put in an
> explicit statement (mb() or something similar) when they use
> readl/writel/etc. and want to prevent the accesses being reordered?

Not reordering is a safer default.

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