Re: sysctl_doeproc() race

2018-03-13 Thread Robert Elz
Date:Tue, 13 Mar 2018 12:04:42 +0100 From:Kamil Rytarowski Message-ID: <5be4edf8-4722-e586-ea3e-0021862a4...@gmx.com> | I was testing it on a headless desktop. Benchmarking with -j4 or -j8 in | the background couldn't be reliable so the system was idle. "Not reli

Re: sysctl_doeproc() race

2018-03-13 Thread Kamil Rytarowski
On 13.03.2018 09:17, Robert Elz wrote: > Not a surprise there either - where it might make a difference is when > the number of processes is more in the thousands. I'm not sure how > 20-30 processes counts as a "regular running system" though, my > laptop has > 130 processes at the minute, and it

Re: sysctl_doeproc() race

2018-03-13 Thread Robert Elz
Date:Tue, 13 Mar 2018 03:27:50 +0100 From:Kamil Rytarowski Message-ID: <24955bcc-ce92-150f-75cc-60bc62287...@gmx.com> | The approach with iterating over pid_table[] didn't work well for me and | I've abandoned it quickly. I am not surprised at that. | I've bee