Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106103706
D27878.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
395 B
Referenced Files
None
Subscribers
None
D27878.diff
View Options
diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c
--- a/sys/kern/sys_pipe.c
+++ b/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:18 AM (11 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15604184
Default Alt Text
D27878.diff (395 B)
Attached To
Mode
D27878: Track pipe(3) I/O in rusage
Attached
Detach File
Event Timeline
Log In to Comment