Re: [PATCH] acpi: osl: Replace GFP_ATOMIC with GFP_KERNEL in acpi_os_execute

2018-02-08 Thread Rafael J. Wysocki
On Thu, Feb 8, 2018 at 2:41 PM, Jia-Ju Bai wrote: > > > On 2018/2/8 18:20, Rafael J. Wysocki wrote: >> >> On Thursday, February 8, 2018 11:13:10 AM CET Chris Wilson wrote: >>> >>> Quoting Rafael J. Wysocki (2018-02-08 09:51:41) On Thursday, January 25, 2018

Re: [PATCH] acpi: osl: Replace GFP_ATOMIC with GFP_KERNEL in acpi_os_execute

2018-02-08 Thread Rafael J. Wysocki
On Thu, Feb 8, 2018 at 2:41 PM, Jia-Ju Bai wrote: > > > On 2018/2/8 18:20, Rafael J. Wysocki wrote: >> >> On Thursday, February 8, 2018 11:13:10 AM CET Chris Wilson wrote: >>> >>> Quoting Rafael J. Wysocki (2018-02-08 09:51:41) On Thursday, January 25, 2018 11:13:41 AM CET Jia-Ju Bai

Re: [PATCH] acpi: osl: Replace GFP_ATOMIC with GFP_KERNEL in acpi_os_execute

2018-02-08 Thread Jia-Ju Bai
On 2018/2/8 18:20, Rafael J. Wysocki wrote: On Thursday, February 8, 2018 11:13:10 AM CET Chris Wilson wrote: Quoting Rafael J. Wysocki (2018-02-08 09:51:41) On Thursday, January 25, 2018 11:13:41 AM CET Jia-Ju Bai wrote: After checking all possible call chains to acpi_os_execute here, my

Re: [PATCH] acpi: osl: Replace GFP_ATOMIC with GFP_KERNEL in acpi_os_execute

2018-02-08 Thread Jia-Ju Bai
On 2018/2/8 18:20, Rafael J. Wysocki wrote: On Thursday, February 8, 2018 11:13:10 AM CET Chris Wilson wrote: Quoting Rafael J. Wysocki (2018-02-08 09:51:41) On Thursday, January 25, 2018 11:13:41 AM CET Jia-Ju Bai wrote: After checking all possible call chains to acpi_os_execute here, my

Re: [PATCH] acpi: osl: Replace GFP_ATOMIC with GFP_KERNEL in acpi_os_execute

2018-02-08 Thread Rafael J. Wysocki
On Thursday, February 8, 2018 11:13:10 AM CET Chris Wilson wrote: > Quoting Rafael J. Wysocki (2018-02-08 09:51:41) > > On Thursday, January 25, 2018 11:13:41 AM CET Jia-Ju Bai wrote: > > > After checking all possible call chains to acpi_os_execute here, > > > my tool finds that acpi_os_execute is

Re: [PATCH] acpi: osl: Replace GFP_ATOMIC with GFP_KERNEL in acpi_os_execute

2018-02-08 Thread Rafael J. Wysocki
On Thursday, February 8, 2018 11:13:10 AM CET Chris Wilson wrote: > Quoting Rafael J. Wysocki (2018-02-08 09:51:41) > > On Thursday, January 25, 2018 11:13:41 AM CET Jia-Ju Bai wrote: > > > After checking all possible call chains to acpi_os_execute here, > > > my tool finds that acpi_os_execute is

Re: [PATCH] acpi: osl: Replace GFP_ATOMIC with GFP_KERNEL in acpi_os_execute

2018-02-08 Thread Chris Wilson
Quoting Rafael J. Wysocki (2018-02-08 09:51:41) > On Thursday, January 25, 2018 11:13:41 AM CET Jia-Ju Bai wrote: > > After checking all possible call chains to acpi_os_execute here, > > my tool finds that acpi_os_execute is never called in atomic context. > > And acpi_os_execute calls

Re: [PATCH] acpi: osl: Replace GFP_ATOMIC with GFP_KERNEL in acpi_os_execute

2018-02-08 Thread Chris Wilson
Quoting Rafael J. Wysocki (2018-02-08 09:51:41) > On Thursday, January 25, 2018 11:13:41 AM CET Jia-Ju Bai wrote: > > After checking all possible call chains to acpi_os_execute here, > > my tool finds that acpi_os_execute is never called in atomic context. > > And acpi_os_execute calls

Re: [PATCH] acpi: osl: Replace GFP_ATOMIC with GFP_KERNEL in acpi_os_execute

2018-02-08 Thread Rafael J. Wysocki
On Thursday, January 25, 2018 11:13:41 AM CET Jia-Ju Bai wrote: > After checking all possible call chains to acpi_os_execute here, > my tool finds that acpi_os_execute is never called in atomic context. > And acpi_os_execute calls acpi_debugger_create_thread > which calls mutex_lock, > thus it

Re: [PATCH] acpi: osl: Replace GFP_ATOMIC with GFP_KERNEL in acpi_os_execute

2018-02-08 Thread Rafael J. Wysocki
On Thursday, January 25, 2018 11:13:41 AM CET Jia-Ju Bai wrote: > After checking all possible call chains to acpi_os_execute here, > my tool finds that acpi_os_execute is never called in atomic context. > And acpi_os_execute calls acpi_debugger_create_thread > which calls mutex_lock, > thus it

[PATCH] acpi: osl: Replace GFP_ATOMIC with GFP_KERNEL in acpi_os_execute

2018-01-25 Thread Jia-Ju Bai
After checking all possible call chains to acpi_os_execute here, my tool finds that acpi_os_execute is never called in atomic context. And acpi_os_execute calls acpi_debugger_create_thread which calls mutex_lock, thus it proves again that acpi_os_execute can call functions which may sleep. Thus

[PATCH] acpi: osl: Replace GFP_ATOMIC with GFP_KERNEL in acpi_os_execute

2018-01-25 Thread Jia-Ju Bai
After checking all possible call chains to acpi_os_execute here, my tool finds that acpi_os_execute is never called in atomic context. And acpi_os_execute calls acpi_debugger_create_thread which calls mutex_lock, thus it proves again that acpi_os_execute can call functions which may sleep. Thus