Update a comment. The sending process has not mapped the buffer pages

since before r127501.  Strictly speaking, the buffer pages are not
"wired".  They remain in the paging queues.  However, they are pinned in
memory using vm_page_hold().
This commit is contained in:
Alan Cox 2011-03-20 15:04:43 +00:00
parent e1c9ab494d
commit 09a196a7de
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=219801

View File

@ -29,9 +29,9 @@
* write mode. The small write mode acts like conventional pipes with
* a kernel buffer. If the buffer is less than PIPE_MINDIRECT, then the
* "normal" pipe buffering is done. If the buffer is between PIPE_MINDIRECT
* and PIPE_SIZE in size, it is fully mapped and wired into the kernel, and
* the receiving process can copy it directly from the pages in the sending
* process.
* and PIPE_SIZE in size, the sending process pins the underlying pages in
* memory, and the receiving process copies directly from these pinned pages
* in the sending process.
*
* If the sending process receives a signal, it is possible that it will
* go away, and certainly its address space can change, because control