Re: [PATCH 1/1] Improve kernfs_notify() poll notification latency

2018-11-20 Thread Greg Kroah-Hartman
On Tue, Nov 20, 2018 at 08:14:19AM -0800, Tejun Heo wrote: > On Thu, Nov 15, 2018 at 09:09:54PM -0500, Radu Rendec wrote: > > kernfs_notify() does two notifications: poll and fsnotify. Originally, > > both notifications were done from scheduled work context and all that > > kernfs_notify() did was

Re: [PATCH 1/1] Improve kernfs_notify() poll notification latency

2018-11-20 Thread Greg Kroah-Hartman
On Tue, Nov 20, 2018 at 08:14:19AM -0800, Tejun Heo wrote: > On Thu, Nov 15, 2018 at 09:09:54PM -0500, Radu Rendec wrote: > > kernfs_notify() does two notifications: poll and fsnotify. Originally, > > both notifications were done from scheduled work context and all that > > kernfs_notify() did was

Re: [PATCH 1/1] Improve kernfs_notify() poll notification latency

2018-11-20 Thread Tejun Heo
On Thu, Nov 15, 2018 at 09:09:54PM -0500, Radu Rendec wrote: > kernfs_notify() does two notifications: poll and fsnotify. Originally, > both notifications were done from scheduled work context and all that > kernfs_notify() did was schedule the work. > > This patch simply moves the poll

Re: [PATCH 1/1] Improve kernfs_notify() poll notification latency

2018-11-20 Thread Tejun Heo
On Thu, Nov 15, 2018 at 09:09:54PM -0500, Radu Rendec wrote: > kernfs_notify() does two notifications: poll and fsnotify. Originally, > both notifications were done from scheduled work context and all that > kernfs_notify() did was schedule the work. > > This patch simply moves the poll

[PATCH 1/1] Improve kernfs_notify() poll notification latency

2018-11-15 Thread Radu Rendec
kernfs_notify() does two notifications: poll and fsnotify. Originally, both notifications were done from scheduled work context and all that kernfs_notify() did was schedule the work. This patch simply moves the poll notification from the scheduled work handler to kernfs_notify(). The fsnotify

[PATCH 1/1] Improve kernfs_notify() poll notification latency

2018-11-15 Thread Radu Rendec
kernfs_notify() does two notifications: poll and fsnotify. Originally, both notifications were done from scheduled work context and all that kernfs_notify() did was schedule the work. This patch simply moves the poll notification from the scheduled work handler to kernfs_notify(). The fsnotify