]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r351705:
authorWarner Losh <imp@FreeBSD.org>
Thu, 5 Sep 2019 23:12:56 +0000 (23:12 +0000)
committerWarner Losh <imp@FreeBSD.org>
Thu, 5 Sep 2019 23:12:56 +0000 (23:12 +0000)
commited1586b14179d3fd120b382c663a3191adbe8b37
treef069dcec1fcdf9e3d9b11a60bd95ceb393aeb97f
parented449b634bdd7c3a894364538c5da50ed78615a1
MFC r351705:

  In all the places that we use the polled for completion interface, except
  crash dump support code, move the while loop into an inline function. These
  aren't done in the fast path, so if the compiler choses to not inline, any
  performance hit is tiny.
sys/dev/nvme/nvme_ctrlr.c
sys/dev/nvme/nvme_ns.c
sys/dev/nvme/nvme_private.h