Re: task_diag: add a new interface to get information about processes

2016-05-16 Thread Andrew Vagin
On Wed, May 04, 2016 at 08:39:51PM -0700, Andy Lutomirski wrote: > > Linus, this is Yet Another Credential Fuckup, except that it hasn't > happened yet, so it's okay. The tl;dr is that Andrey wants to add an > interface to ask a pidns some questions, and netlink looks natural, > except that using

Re: task_diag: add a new interface to get information about processes

2016-05-04 Thread Andy Lutomirski
On May 4, 2016 7:14 PM, "Stephen Hemminger" wrote: > > On Wed, 4 May 2016 15:34:21 -0700 > Andrey Vagin wrote: > > > Hi Stephen, > > > > On Wed, May 4, 2016 at 1:22 PM, Stephen Hemminger > > wrote: > > > I understand how reading /proc or /sys can be a bottleneck, but this > > > proposed method u

Re: task_diag: add a new interface to get information about processes

2016-05-04 Thread Stephen Hemminger
On Wed, 4 May 2016 15:34:21 -0700 Andrey Vagin wrote: > Hi Stephen, > > On Wed, May 4, 2016 at 1:22 PM, Stephen Hemminger > wrote: > > I understand how reading /proc or /sys can be a bottleneck, but this > > proposed method using a system call is the wrong way to do this. > > > > Why not use ne