diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2021-05-08 18:31:41 +0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-05-08 20:32:55 +0200 |
commit | 4f79dd28d714dbaf225ac5062ca1f2527567a81d (patch) | |
tree | 0d782f954d030a518bafc13cd35ed27585e2fd80 /doc | |
parent | ff88e4aa1d70f2ef218080daf01282f38243d914 (diff) | |
download | hurd-4f79dd28d714dbaf225ac5062ca1f2527567a81d.tar.gz hurd-4f79dd28d714dbaf225ac5062ca1f2527567a81d.tar.bz2 hurd-4f79dd28d714dbaf225ac5062ca1f2527567a81d.zip |
libpager: pager_write_page () should not unmap page
Clarify this in the documentation, and fix the storeio implementation.
Message-Id: <20210508153144.332832-2-bugaevc@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/hurd.texi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/hurd.texi b/doc/hurd.texi index f63cfcda..0a38ca77 100644 --- a/doc/hurd.texi +++ b/doc/hurd.texi @@ -1536,9 +1536,9 @@ only permissible error returns are @code{EIO}, @code{EDQUOT}, and @deftypefun error_t pager_write_page (@w{struct user_pager_info *@var{pager}}, @w{vm_offset_t @var{page}}, @w{vm_address_t @var{buf}}) For pager @var{pager}, synchronously write one page from @var{buf} to -offset @var{page}. In addition, @code{vm_deallocate} (or equivalent) -@var{buf}. The only permissible error returns are @code{EIO}, -@code{EDQUOT}, and @code{ENOSPC}. +offset @var{page}. Do not deallocate @var{buf}, and do not keep any +references to @var{buf}. The only permissible error returns are +@code{EIO}, @code{EDQUOT}, and @code{ENOSPC}. @end deftypefun @deftypefun error_t pager_unlock_page (@w{struct user_pager_info *@var{pager}}, @w{vm_offset_t @var{address}}) |