This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCH 1/1] stp: rt: force to enable preempt
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Zhu Yanjun <yanjun dot zhu at windriver dot com>
- Cc: <sshukla at mvista dot com>, <systemtap at sourceware dot org>
- Date: Mon, 26 Oct 2015 10:21:52 -0400
- Subject: Re: [PATCH 1/1] stp: rt: force to enable preempt
- Authentication-results: sourceware.org; auth=none
- References: <1445843319-27811-1-git-send-email-yanjun dot zhu at windriver dot com> <1445843319-27811-2-git-send-email-yanjun dot zhu at windriver dot com>
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