]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use pipe_direct_write() optimization only if the data is in process' memory.
authorpjd <pjd@FreeBSD.org>
Tue, 19 Dec 2006 12:52:22 +0000 (12:52 +0000)
committerpjd <pjd@FreeBSD.org>
Tue, 19 Dec 2006 12:52:22 +0000 (12:52 +0000)
commit6cc6a8d100d03e9a0a7755a0375b250c3801de1b
tree12ed26ee46508ff5af9afcea433d0158acf60f16
parent73c3b50972f8ffdcfeaf5cecd9bb2a56c6c27121
Use pipe_direct_write() optimization only if the data is in process' memory.
This fixes sending data through pipe from the kernel.

Fix suggested by: rwatson
sys/kern/sys_pipe.c