SVNews r330669

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-03-08 21:33:52 - r330669 by mav (Alexander Motin)

Complete list of files affected by revision r330669:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

   Contents     MODIFY   /stable/11  
  History   Contents   Diff   MODIFY   /stable/11/sys/dev/nvme/nvme.c  
  History   Contents   Diff   MODIFY   /stable/11/sys/dev/nvme/nvme_ctrlr.c  
  History   Contents   Diff   MODIFY   /stable/11/sys/dev/nvme/nvme_private.h  

Commit message:

MFC r328521 (by imp):
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.


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 9 ms, 4 files printed. Current time is 2018-03-18 11:54:45. All times are in UTC/GMT.