[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1586779466-4439-1-git-send-email-wangqing@vivo.com>
Date: Mon, 13 Apr 2020 20:04:22 +0800
From: Wang Qing <wangqing@...o.com>
To: Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>, Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Juri Lelli <juri.lelli@...hat.com>,
Vincent Guittot <vincent.guittot@...aro.org>,
Dietmar Eggemann <dietmar.eggemann@....com>,
Steven Rostedt <rostedt@...dmis.org>,
Ben Segall <bsegall@...gle.com>, Mel Gorman <mgorman@...e.de>,
James Morse <james.morse@....com>,
Mark Rutland <mark.rutland@....com>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Thomas Gleixner <tglx@...utronix.de>,
jinho lim <jordan.lim@...sung.com>,
Wang Qing <wangqing@...o.com>,
Dave Martin <Dave.Martin@....com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc: opensource.kernel@...o.com
Subject: [PATCH 0/2] fixed dump_backtrace() when task running on another cpu
We cannot get FP and PC when the task is running on another CPU,
task->thread.cpu_context is the last time the task was switched out,
it's better to give a reminder than to provide wrong information.
We have no interface whether the task is running,
so we need to add an interface and distinguish CONFIG_SMP.
Wang Qing (2):
[V2 1/2]sched:add task_running_oncpu
[V2 2/2]ARM64:fixed dump_backtrace() when task running on another cpu
arch/arm64/kernel/traps.c | 7 +++++++
include/linux/sched.h | 10 ++++++++++
2 files changed, 17 insertions(+)
--
2.7.4
Powered by blists - more mailing lists