summaryrefslogtreecommitdiffstats
path: root/Documentation/iio
diff options
context:
space:
mode:
authorJens Axboe2017-10-04 19:22:24 +0200
committerJens Axboe2017-10-04 19:22:24 +0200
commitfc13457f74dcf054b0d17efb7b94b46fdf17f412 (patch)
treeb7a6a14246cf9e9c9967c7072d96a0010d117164 /Documentation/iio
parentblk-mq: attempt to fix atomic flag memory ordering (diff)
downloadkernel-qcow2-linux-fc13457f74dcf054b0d17efb7b94b46fdf17f412.tar.gz
kernel-qcow2-linux-fc13457f74dcf054b0d17efb7b94b46fdf17f412.tar.xz
kernel-qcow2-linux-fc13457f74dcf054b0d17efb7b94b46fdf17f412.zip
blk-mq: document the need to have STARTED and COMPLETED share a byte
For memory ordering guarantees on stores, we need to ensure that these two bits share the same byte of storage in the unsigned long. Add a comment as to why, and a BUILD_BUG_ON() to ensure that we don't violate this requirement. Suggested-by: Boqun Feng <boqun.feng@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/iio')
0 files changed, 0 insertions, 0 deletions