From f3011a7c10193b1ca088bc599a19bba4ea2998ec Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Tue, 15 Mar 2005 23:58:55 +0000 Subject: [PATCH] Clarify that the end argument meaning for rman_reserve_resource_bound is the highest acceptable value for the ending of the resource being allocated. One could also believe that it is the highest starting value of the resource. The code definitely expects the former, but I could find no documentation of this apart from TFSC. --- share/man/man9/rman.9 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/share/man/man9/rman.9 b/share/man/man9/rman.9 index 01339e41f91..a8924154961 100644 --- a/share/man/man9/rman.9 +++ b/share/man/man9/rman.9 @@ -187,6 +187,17 @@ and .Fa end of an acceptable range, as well as alignment, and the code will attempt to find a free segment which fits. +The +.Fa start +argument is the lowest acceptable starting value of the resource. +The +.Fa end +argument is the highest acceptable ending value of the resource. +Therefore, +.Fa start + count - 1 +must be <= +.Fa end +for any allocation to happen. The default behavior is to allocate an exclusive segment, unless the .Dv RF_SHAREABLE or