diff options
author | alc <alc@FreeBSD.org> | 2011-03-20 15:04:43 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2011-03-20 15:04:43 +0000 |
commit | e498ba0188d6d46e6f7b58ddbd5e9e8ef14d0819 (patch) | |
tree | e5636119252ba4dd472e356075a4aeec47993c99 | |
parent | 98f46dcc77f7c59d57bc8f12e4cffae457ab412f (diff) | |
download | FreeBSD-src-e498ba0188d6d46e6f7b58ddbd5e9e8ef14d0819.zip FreeBSD-src-e498ba0188d6d46e6f7b58ddbd5e9e8ef14d0819.tar.gz |
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().
-rw-r--r-- | sys/kern/sys_pipe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c index 65839d6..d3929b4 100644 --- a/sys/kern/sys_pipe.c +++ b/sys/kern/sys_pipe.c @@ -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 |