[RFC] proc: get_wchan() stack unwind only makes sense for sleeping/non-self tasks

Andrew Morton akpm at linux-foundation.org
Sat Nov 7 00:08:45 EST 2020


On Thu,  5 Nov 2020 15:11:32 -0800 Vineet Gupta <Vineet.Gupta1 at synopsys.com> 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?




More information about the linux-snps-arc mailing list