Re: [PATCH] trace: Return ENOTCONN instead of EBADF

2020-10-12 Thread Enderborg, Peter
On 10/12/20 3:53 PM, Steven Rostedt wrote: > On Mon, 12 Oct 2020 10:26:42 +0200 > Peter Enderborg wrote: > >> When there is no clients listening on event the trace return >> EBADF. The file is not a bad file descriptor and to get the >> userspace able to do a proper error handling it need a

Re: [PATCH 2/2] debugfs: Add access restriction option

2020-07-21 Thread Enderborg, Peter
On 7/15/20 11:39 AM, Greg Kroah-Hartman wrote: > On Wed, Jul 15, 2020 at 10:42:07AM +0200, Peter Enderborg wrote: >> Since debugfs include sensitive information it need to be treated >> carefully. But it also has many very useful debug functions for userspace. >> With this option we can have same

Re: [PATCH 2/2] debugfs: Add access restriction option

2020-07-15 Thread Enderborg, Peter
On 7/15/20 12:35 PM, Greg Kroah-Hartman wrote: > On Wed, Jul 15, 2020 at 10:03:19AM +0000, Enderborg, Peter wrote: >> On 7/15/20 11:39 AM, Greg Kroah-Hartman wrote: >>> On Wed, Jul 15, 2020 at 10:42:07AM +0200, Peter Enderborg wrote: >>>> Since debugfs include

Re: [PATCH 2/2] debugfs: Add access restriction option

2020-07-15 Thread Enderborg, Peter
On 7/15/20 11:39 AM, Greg Kroah-Hartman wrote: > On Wed, Jul 15, 2020 at 10:42:07AM +0200, Peter Enderborg wrote: >> Since debugfs include sensitive information it need to be treated >> carefully. But it also has many very useful debug functions for userspace. >> With this option we can have same

Re: [PATCH v3] debugfs: Add access restriction option

2020-06-17 Thread Enderborg, Peter
On 6/17/20 4:15 PM, Greg Kroah-Hartman wrote: > On Wed, Jun 17, 2020 at 03:37:38PM +0200, Peter Enderborg wrote: >> Since debugfs include sensitive information it need to be treated >> carefully. But it also has many very useful debug functions for userspace. >> With this option we can have same

Re: [PATCH] debugfs: Add mount restriction option

2020-05-28 Thread Enderborg, Peter
On 5/28/20 2:23 PM, Greg Kroah-Hartman wrote: > On Thu, May 28, 2020 at 12:04:32PM +0000, Enderborg, Peter wrote: >> On 5/28/20 11:27 AM, Greg Kroah-Hartman wrote: >>> On Thu, May 28, 2020 at 08:39:02AM +, Enderborg, Peter wrote: >>>> On 5/28/20 10:27 AM, Greg Kro

Re: [PATCH] debugfs: Add mount restriction option

2020-05-28 Thread Enderborg, Peter
On 5/28/20 11:27 AM, Greg Kroah-Hartman wrote: > On Thu, May 28, 2020 at 08:39:02AM +0000, Enderborg, Peter wrote: >> On 5/28/20 10:27 AM, Greg Kroah-Hartman wrote: >>> On Thu, May 28, 2020 at 10:00:31AM +0200, Peter Enderborg wrote: >>>> Since debugfs include

Re: [PATCH] debugfs: Add mount restriction option

2020-05-28 Thread Enderborg, Peter
On 5/28/20 10:27 AM, Greg Kroah-Hartman wrote: > On Thu, May 28, 2020 at 10:00:31AM +0200, Peter Enderborg wrote: >> Since debugfs include sensitive information it need to be treated >> carefully. But it also has many very useful debug functions for userspace. >> With this option we can have same

Re: [PATCH] mm, compaction: Indicate when compaction is manually triggered by sysctl

2020-05-18 Thread Enderborg, Peter
On 5/18/20 2:14 PM, Guilherme Piccoli wrote: > Hi Peter, thanks for the feedback. What do you mean by "trace > notification" ? We seem to have a trace event in that function you > mentioned. Also, accounting for that function is enough to > differentiate when the compaction is triggered by the