Thread (10 messages) 10 messages, 4 authors, 2021-12-17

Re: [PATCH 2/4] Scheduler changes

From: Peter Zijlstra <peterz@infradead.org>
Date: 2021-08-31 07:15:19
Also in: lkml

On Tue, Aug 31, 2021 at 09:59:17AM +0800, Tianqiang Xu wrote:
Authors: Tianqiang Xu, Dingji Li, Zeyu Mi
	 Shanghai Jiao Tong University

Signed-off-by: Tianqiang Xu <redacted>
Authors is not a valid tag, please see our Documentation on submitting
patches.
quoted hunk ↗ jump to hunk
@@ -10504,3 +10515,9 @@ void call_trace_sched_update_nr_running(struct rq *rq, int count)
 {
         trace_sched_update_nr_running_tp(rq, count);
 }
+
+int get_cpu_nr_running(int cpu)
+{
+	return cpu_rq(cpu)->nr_running;
+}
+EXPORT_SYMBOL_GPL(get_cpu_nr_running);
Yeah, not going to happen.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help