Re: [PATCH 1/5] leds: remove PAGE_SIZE limit of /sys/class/leds//trigger

2019-09-11 Thread Akinobu Mita
2019年9月12日(木) 0:36 Greg Kroah-Hartman : > > On Thu, Sep 12, 2019 at 12:25:28AM +0900, Akinobu Mita wrote: > > 2019年9月8日(日) 22:10 Greg Kroah-Hartman : > > > > > > On Sun, Sep 08, 2019 at 09:41:08PM +0900, Akinobu Mita wrote: > > > > Reading /sys/class/leds//trigger returns all available LED > > >

Re: [PATCH 1/5] leds: remove PAGE_SIZE limit of /sys/class/leds//trigger

2019-09-11 Thread Greg Kroah-Hartman
On Thu, Sep 12, 2019 at 12:25:28AM +0900, Akinobu Mita wrote: > 2019年9月8日(日) 22:10 Greg Kroah-Hartman : > > > > On Sun, Sep 08, 2019 at 09:41:08PM +0900, Akinobu Mita wrote: > > > Reading /sys/class/leds//trigger returns all available LED triggers. > > > However, the size of this file is limited

Re: [PATCH 1/5] leds: remove PAGE_SIZE limit of /sys/class/leds//trigger

2019-09-11 Thread Akinobu Mita
2019年9月8日(日) 22:10 Greg Kroah-Hartman : > > On Sun, Sep 08, 2019 at 09:41:08PM +0900, Akinobu Mita wrote: > > Reading /sys/class/leds//trigger returns all available LED triggers. > > However, the size of this file is limited to PAGE_SIZE because of the > > limitation for sysfs attribute. > > > >

Re: [PATCH 1/5] leds: remove PAGE_SIZE limit of /sys/class/leds//trigger

2019-09-08 Thread Greg Kroah-Hartman
On Sun, Sep 08, 2019 at 09:41:08PM +0900, Akinobu Mita wrote: > Reading /sys/class/leds//trigger returns all available LED triggers. > However, the size of this file is limited to PAGE_SIZE because of the > limitation for sysfs attribute. > > Enabling LED CPU trigger on systems with thousands of

Re: [PATCH 1/5] leds: remove PAGE_SIZE limit of /sys/class/leds//trigger

2019-09-08 Thread Greg Kroah-Hartman
On Sun, Sep 08, 2019 at 09:41:08PM +0900, Akinobu Mita wrote: > Reading /sys/class/leds//trigger returns all available LED triggers. > However, the size of this file is limited to PAGE_SIZE because of the > limitation for sysfs attribute. > > Enabling LED CPU trigger on systems with thousands of

[PATCH 1/5] leds: remove PAGE_SIZE limit of /sys/class/leds//trigger

2019-09-08 Thread Akinobu Mita
Reading /sys/class/leds//trigger returns all available LED triggers. However, the size of this file is limited to PAGE_SIZE because of the limitation for sysfs attribute. Enabling LED CPU trigger on systems with thousands of CPUs easily hits PAGE_SIZE limit, and makes it impossible to see all