Re: [PATCH 1/2] sched/wait: Break up long wake list walk
From: Davidlohr Bueso
Date: Tue Aug 15 2017 - 18:47:46 EST
On Mon, 14 Aug 2017, Linus Torvalds wrote:
On Mon, Aug 14, 2017 at 8:15 PM, Andi Kleen <ak@xxxxxxxxxxxxxxx> wrote:
But what should we do when some other (non page) wait queue runs into the
same problem?
Hopefully the same: root-cause it.
Or you can always use wake_qs; which exists _exactly_ for the issues you
are running into. Note that Linus does not want them in general wait:
https://lkml.org/lkml/2017/7/7/605
... but you can always use them on your own if you really need to (ie locks,
ipc, etc).
Thanks,
Davidlohr