Trying to export per process network bandwidth stats under /proc/[pid]/

2018-07-13 Thread Amos Bird
Hello! I'm trying to add a proc entry under /proc/[pid] in order to get per process network bandwidth stats. I suppose it's similar to /proc/[pid]/io . However I couldn't find a modular way to add entries under /proc/[pid]. This thread

Re: Question about memcpy

2018-07-13 Thread valdis . kletnieks
On Fri, 13 Jul 2018 11:02:13 +0800, bing zhu said: > I‘m trying to write a simple fs in user space,if memcpy is slower than > kernel , i think it's unfair,as for only cpu for my task, > it's a bit of arbitrary ,i just want my task not interrupted during a > specific time is that possible ?