Re: [PATCH 1/2] asm-generic: io: remove {read,write} string functions

H. Peter Anvin
2012-04-27T16:24:42Z

On 04/27/2012 03:42 AM, Will Deacon wrote:
> The {read,write}s{b,w,l} functions are not defined across all
> architectures and therefore shouldn't be used by portable drivers. We
> should encourage driver writers to use the io{read,write}{8,16,32}_rep
> functions instead.

Why is that? ioread/write are great if the address space is undefined,
but do we need the extra overhead in any other cases?

-hpa