Re: [PATCH] block: ioprio: Replace GFP_ATOMIC with GFP_KERNEL in set_task_ioprio()

From: Jia-Ju Bai
Date: Mon Jul 23 2018 - 21:42:34 EST




On 2018/7/24 5:49, Tetsuo Handa wrote:
On 2018/07/23 16:18, Christoph Hellwig wrote:
Looks good,
Looks bad. :-(

SYSCALL_DEFINE3(ioprio_set, int, which, int, who, int, ioprio)
{
(...snipped...)
rcu_read_lock();
(...snipped...)
ret = set_task_ioprio(p, ioprio);
(...snipped...)
rcu_read_unlock();
(...snipped...)

Oops, my tool does not handle SYSCALL_DEFINE3()...
Sorry for my incorrect report.


Best wishes,
Jia-Ju Bai