mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-18 02:19:39 +00:00
sys_pipe: consistently use cr_ruidinfo for accounting of pipebuf
Tested by: yasu Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
401516dbc5
commit
a52b30ff98
@ -1677,7 +1677,7 @@ pipe_free_kmem(struct pipe *cpipe)
|
||||
|
||||
if (cpipe->pipe_buffer.buffer != NULL) {
|
||||
atomic_subtract_long(&amountpipekva, cpipe->pipe_buffer.size);
|
||||
chgpipecnt(cpipe->pipe_pair->pp_owner->cr_uidinfo,
|
||||
chgpipecnt(cpipe->pipe_pair->pp_owner->cr_ruidinfo,
|
||||
-cpipe->pipe_buffer.size, 0);
|
||||
vm_map_remove(pipe_map,
|
||||
(vm_offset_t)cpipe->pipe_buffer.buffer,
|
||||
|
Loading…
Reference in New Issue
Block a user