[PATCH 1/1] stp: rt: force to enable preempt

Frank Ch. Eigler fche@redhat.com
Mon Oct 26 14:21:00 GMT 2015


Zhu Yanjun <yanjun.zhu@windriver.com> writes:

> -rt mode preempt lead to __might_sleep calltrace.
> Enabling preempt solves the problem.
> [...]
> After this patch is applied, the above backtrace disappears.

Could you elaborate why this change is a good idea, beyond defeating
the kernel warning?  (It is possible that the warning is less bad than
a race condition or something that preemption in that area might
enable.)

- FChE



More information about the Systemtap mailing list