freebsd-dev/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 lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
geom_getxml.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
geom_stats.c Modernize geom_stats_snapshot_get 2021-03-04 07:45:48 -07:00
geom_util.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
geom_xml2tree.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libgeom.3 Add a quick description of the geom_getxml(3), geom_xml2tree(3), 2017-10-16 17:21:52 +00:00
libgeom.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
Makefile pkgbase: Put a lot of binaries and lib in FreeBSD-runtime 2019-09-05 14:13:08 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00