From aa0445b7dbd7930e93b4cdf93615d0666af8a8fa Mon Sep 17 00:00:00 2001 From: Benjamin Kaduk Date: Sat, 23 Jan 2016 20:01:46 +0000 Subject: [PATCH] Document that hashinit(9) can wait for memory to be available Also tweak nearby grammar while here. Submitted by: Daniel O'Connor (original version) --- share/man/man9/hashinit.9 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/share/man/man9/hashinit.9 b/share/man/man9/hashinit.9 index b72cd7551195..65ef10e5b6a8 100644 --- a/share/man/man9/hashinit.9 +++ b/share/man/man9/hashinit.9 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 10, 2004 +.Dd January 23, 2016 .Dt HASHINIT 9 .Os .Sh NAME @@ -102,9 +102,11 @@ Any malloc performed by the .Fn hashinit_flags function will not be allowed to wait, and therefore may fail. .It Dv HASH_WAITOK -Any malloc performed by the +Any malloc performed by .Fn hashinit_flags function is allowed to wait for memory. +This is also the behavior of +.Fn hashinit . .El .Sh IMPLEMENTATION NOTES The largest prime hash value chosen by