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

2019-10-01 Thread Jacek Anaszewski
Hi Akinobu, Thank you for your work on this patch. On 9/29/19 4:18 PM, 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

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

2019-09-30 Thread Greg Kroah-Hartman
On Sun, Sep 29, 2019 at 11:18:49PM +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 C

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

2019-09-29 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 avai