Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106134907
D27878.id81923.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
430 B
Referenced Files
None
Subscribers
None
D27878.id81923.diff
View Options
Index: sys/kern/sys_pipe.c
===================================================================
--- sys/kern/sys_pipe.c
+++ sys/kern/sys_pipe.c
@@ -857,6 +857,8 @@
pipeselwakeup(rpipe);
PIPE_UNLOCK(rpipe);
+ if (nread > 0)
+ td->td_ru.ru_msgrcv++;
return (error);
}
@@ -1314,6 +1316,8 @@
pipeunlock(wpipe);
PIPE_UNLOCK(rpipe);
+ if (uio->uio_resid != orig_resid)
+ td->td_ru.ru_msgsnd++;
return (error);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 26, 11:40 PM (11 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15609041
Default Alt Text
D27878.id81923.diff (430 B)
Attached To
Mode
D27878: Track pipe(3) I/O in rusage
Attached
Detach File
Event Timeline
Log In to Comment