Re: [RFC] proc: get_wchan() stack unwind only makes sense for sleeping/non-self tasks
From: Andrew Morton
Date: Sat Nov 07 2020 - 00:09:02 EST
On Thu, 5 Nov 2020 15:11:32 -0800 Vineet Gupta <Vineet.Gupta1@xxxxxxxxxxxx> wrote:
> Most architectures currently check this in their get_wchan() implementation
> (ARC doesn't hence this patch). However doing this in core code shows
> the semantics better so move the check one level up (eventually remove
> the boiler-plate code from arches)
It would be nice to clean up the arch callees in the same patch, at
least so it doesn't get forgotten about. Are you prepared to propose
such a change?