freebsd-skq/lib/libgeom
Alan Somers f05b724ecb Modernize geom_stats_snapshot_get
* A logically useless memset() is used to fault in some memory pages.
  Change it to explicit_bzero so the compiler won't eliminate it.

* Eliminate the second memset.  It made sense in the days of the Big
  Kernel Lock, but not in the days of fine-grained SMP and especially
  not in the days of VDSO.

MFC after:	2 weeks
Sponsored by:	Axcient
Reviewed by:	phk
Differential Revision:	https://reviews.freebsd.org/D29047
2021-03-04 07:45:48 -07:00
..
geom_ctl.c
geom_getxml.c
geom_stats.c Modernize geom_stats_snapshot_get 2021-03-04 07:45:48 -07:00
geom_util.c
geom_xml2tree.c
libgeom.3
libgeom.h
Makefile
Makefile.depend