On Sun, 10 Mar 2013 20:35:37 +0100, Jagath Weerasinghe said:
> readq and writeq do the job.

Please double-check how those are implemented on your architecture. I seem
to remember that on some systems, readq and writeq may not be atomic and
may become two bus cycles.  And some hardware cares about that.

It was a discussion on linux-kernel maybe a year or so ago...

Attachment: pgpacFTwAj9hl.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to