SVNews r324541

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

2017-10-11 21:53:50 - r324541 by mjoras (mjoras)

Complete list of files affected by revision r324541:

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

  History   Contents   Diff   MODIFY   /head/share/man/man9/Makefile  
  History   Contents   Diff   MODIFY   /head/share/man/man9/unr.9  
  History   Contents   Diff   MODIFY   /head/sys/kern/subr_unit.c  
  History   Contents   Diff   MODIFY   /head/sys/sys/systm.h  

Commit message:

Add clearing function for unr(9).

Previously before you could call unrhdr_delete you needed to
individually free every allocated unit. It is useful to be able to tear
down the unr without having to go through this process, as it is
significantly faster than freeing the individual units.

Reviewed by: cem, lidl
Approved by: rstone (mentor)
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D12591

 


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

Page generated in 8 ms, 4 files printed. Current time is 2017-12-16 14:58:39. All times are in UTC/GMT.