diff options
author | imp <imp@FreeBSD.org> | 2005-03-15 23:58:55 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-03-15 23:58:55 +0000 |
commit | 8f67ba140acbebfb6ff6a0273db24b8f86bf5938 (patch) | |
tree | 3f48865a3c5d07d20fcecc58c7fd5a5a71159f13 | |
parent | aee111f2a1aff7692a349d18defdabc9b35e3f4f (diff) | |
download | FreeBSD-src-8f67ba140acbebfb6ff6a0273db24b8f86bf5938.zip FreeBSD-src-8f67ba140acbebfb6ff6a0273db24b8f86bf5938.tar.gz |
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.
-rw-r--r-- | share/man/man9/rman.9 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/share/man/man9/rman.9 b/share/man/man9/rman.9 index 01339e4..a892415 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 |