CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/07/15 03:05:46
Modified files:
sys/kern : sys_pipe.c
Log message:
revisit pipe initialization and buffer management
- in dopipe(), get an already zeroed struct (PR_ZERO) instead of manually
initialize each member (in pipe_create)
- rename pipespace() and pipe_free_kmem() to pipe_buffer_realloc() and
pipe_buffer_free(): it is more evident that the functions works on the same
thing
- in pipe_buffer_free(), return early and move the if-body as function body
No functional change intented.
ok anton@ visa@ mpi@