Re: [PATCH v2 2/2] pidmap(2)

2017-09-27 Thread Andy Lutomirski
On Tue, Sep 26, 2017 at 11:46 AM, Alexey Dobriyan wrote: > On Sun, Sep 24, 2017 at 02:27:00PM -0700, Andy Lutomirski wrote: >> On Sun, Sep 24, 2017 at 1:08 PM, Alexey Dobriyan wrote: >> > From: Tatsiana Brouka >> > >> >

Re: [PATCH v2 2/2] pidmap(2)

2017-09-27 Thread Andy Lutomirski
On Tue, Sep 26, 2017 at 11:46 AM, Alexey Dobriyan wrote: > On Sun, Sep 24, 2017 at 02:27:00PM -0700, Andy Lutomirski wrote: >> On Sun, Sep 24, 2017 at 1:08 PM, Alexey Dobriyan wrote: >> > From: Tatsiana Brouka >> > >> > Implement system call for bulk retrieveing of pids in binary form. >> > >>

Re: [PATCH v2 2/2] pidmap(2)

2017-09-26 Thread Alexey Dobriyan
On Sun, Sep 24, 2017 at 02:27:00PM -0700, Andy Lutomirski wrote: > On Sun, Sep 24, 2017 at 1:08 PM, Alexey Dobriyan wrote: > > From: Tatsiana Brouka > > > > Implement system call for bulk retrieveing of pids in binary form. > > > > Using /proc is

Re: [PATCH v2 2/2] pidmap(2)

2017-09-26 Thread Alexey Dobriyan
On Sun, Sep 24, 2017 at 02:27:00PM -0700, Andy Lutomirski wrote: > On Sun, Sep 24, 2017 at 1:08 PM, Alexey Dobriyan wrote: > > From: Tatsiana Brouka > > > > Implement system call for bulk retrieveing of pids in binary form. > > > > Using /proc is slower than necessary: 3 syscalls + another 3 for

Re: [PATCH v2 2/2] pidmap(2)

2017-09-25 Thread kbuild test robot
Hi Tatsiana, [auto build test WARNING on linus/master] [also build test WARNING on v4.14-rc2 next-20170922] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v2 2/2] pidmap(2)

2017-09-25 Thread kbuild test robot
Hi Tatsiana, [auto build test WARNING on linus/master] [also build test WARNING on v4.14-rc2 next-20170922] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v2 2/2] pidmap(2)

2017-09-25 Thread Djalal Harouni
Hi Alexey, On Sun, Sep 24, 2017 at 9:08 PM, Alexey Dobriyan wrote: > From: Tatsiana Brouka > > Implement system call for bulk retrieveing of pids in binary form. > > Using /proc is slower than necessary: 3 syscalls + another 3 for each thread + >

Re: [PATCH v2 2/2] pidmap(2)

2017-09-25 Thread Djalal Harouni
Hi Alexey, On Sun, Sep 24, 2017 at 9:08 PM, Alexey Dobriyan wrote: > From: Tatsiana Brouka > > Implement system call for bulk retrieveing of pids in binary form. > > Using /proc is slower than necessary: 3 syscalls + another 3 for each thread + > converting with atoi() + instantiating dentries

Re: [PATCH v2 2/2] pidmap(2)

2017-09-25 Thread Michael Kerrisk (man-pages)
Hello Alexey, On 09/24/2017 10:08 PM, Alexey Dobriyan wrote: > From: Tatsiana Brouka > > Implement system call for bulk retrieveing of pids in binary form. > > Using /proc is slower than necessary: 3 syscalls + another 3 for each thread + > converting with atoi() +

Re: [PATCH v2 2/2] pidmap(2)

2017-09-25 Thread Michael Kerrisk (man-pages)
Hello Alexey, On 09/24/2017 10:08 PM, Alexey Dobriyan wrote: > From: Tatsiana Brouka > > Implement system call for bulk retrieveing of pids in binary form. > > Using /proc is slower than necessary: 3 syscalls + another 3 for each thread + > converting with atoi() + instantiating dentries and

Re: [PATCH v2 2/2] pidmap(2)

2017-09-24 Thread Andy Lutomirski
On Sun, Sep 24, 2017 at 1:08 PM, Alexey Dobriyan wrote: > From: Tatsiana Brouka > > Implement system call for bulk retrieveing of pids in binary form. > > Using /proc is slower than necessary: 3 syscalls + another 3 for each thread + > converting

Re: [PATCH v2 2/2] pidmap(2)

2017-09-24 Thread Andy Lutomirski
On Sun, Sep 24, 2017 at 1:08 PM, Alexey Dobriyan wrote: > From: Tatsiana Brouka > > Implement system call for bulk retrieveing of pids in binary form. > > Using /proc is slower than necessary: 3 syscalls + another 3 for each thread + > converting with atoi() + instantiating dentries and inodes.

[PATCH v2 2/2] pidmap(2)

2017-09-24 Thread Alexey Dobriyan
From: Tatsiana Brouka Implement system call for bulk retrieveing of pids in binary form. Using /proc is slower than necessary: 3 syscalls + another 3 for each thread + converting with atoi() + instantiating dentries and inodes. /proc may be not mounted especially in

[PATCH v2 2/2] pidmap(2)

2017-09-24 Thread Alexey Dobriyan
From: Tatsiana Brouka Implement system call for bulk retrieveing of pids in binary form. Using /proc is slower than necessary: 3 syscalls + another 3 for each thread + converting with atoi() + instantiating dentries and inodes. /proc may be not mounted especially in containers. Natural