Re: [PATCH v2] sched/core: add __sched tag for io_schedule()

2019-06-12 Thread Gao Xiang
Friendly ping... Thanks, Gao Xiang On 2019/6/3 17:13, Gao Xiang wrote: > non-inline io_schedule() was introduced in > commit 10ab56434f2f ("sched/core: Separate out io_schedule_prepare() and > io_schedule_finish()") > Keep in line with io_schedule_timeout, Otherwise > "/proc//wchan" will report

Re: [PATCH v2] sched/core: add __sched tag for io_schedule()

2019-06-03 Thread Peter Zijlstra
On Mon, Jun 03, 2019 at 05:13:38PM +0800, Gao Xiang wrote: > non-inline io_schedule() was introduced in > commit 10ab56434f2f ("sched/core: Separate out io_schedule_prepare() and > io_schedule_finish()") > Keep in line with io_schedule_timeout, Otherwise > "/proc//wchan" will report io_schedule()

[PATCH v2] sched/core: add __sched tag for io_schedule()

2019-06-03 Thread Gao Xiang
non-inline io_schedule() was introduced in commit 10ab56434f2f ("sched/core: Separate out io_schedule_prepare() and io_schedule_finish()") Keep in line with io_schedule_timeout, Otherwise "/proc//wchan" will report io_schedule() rather than its callers when waiting io. Reported-by: Jilong Kou