[PATCH v2 18/19] ARC: [plat-eznps] replace sync with proper cpu barrier

Vineet Gupta Vineet.Gupta1 at synopsys.com
Tue Nov 17 04:37:08 PST 2015


On Tuesday 17 November 2015 05:52 PM, Peter Zijlstra wrote:
>> > BTW since we are on the topic we have this loop in stack unwinder which can
>> > potentially cause RCU stalls, actual lockups etc. I was planning to add the
>> > following - does that seem fine to you.
> Worries me more than anything. How could you get stuck in there?

No we not getting stuck in there - but this has potential to - if say unwind info
were corrupt (not seen that ever though).

The old code won't even respond to say a Ctrl+C if it were stuck !
Plus the reschedule there will keeps sched happy when say unraveling deep stack
frames with perf ?





More information about the linux-snps-arc mailing list