freebsd-dev/sys/dev/nvme
Warner Losh 29077eb456 Use atomic load and stores to ensure that the compiler doesn't
optimize away these loops. Change boolean to int to match what atomic
API supplies. Remove wmb() since the atomic_store_rel() on status.done
ensure the prior writes to status. It also fixes the fact that there
wasn't a rmb() before reading done. This should also be more efficient
since wmb() is fairly heavy weight.

Sponsored by: Netflix
Reviewed by: kib@, jim harris
Differential Revision: https://reviews.freebsd.org/D14053
2018-01-29 00:00:52 +00:00
..
nvme_ctrlr_cmd.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
nvme_ctrlr.c Use atomic load and stores to ensure that the compiler doesn't 2018-01-29 00:00:52 +00:00
nvme_ns_cmd.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
nvme_ns.c Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
nvme_private.h Use atomic load and stores to ensure that the compiler doesn't 2018-01-29 00:00:52 +00:00
nvme_qpair.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
nvme_sim.c Move setting of CAM_SIM_QUEUED to before we actually submit it to the 2018-01-17 17:08:26 +00:00
nvme_sysctl.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
nvme_test.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
nvme_util.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
nvme.c Use atomic load and stores to ensure that the compiler doesn't 2018-01-29 00:00:52 +00:00
nvme.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00