Merge branch 'sched/fast-headers' into sched/core
Merge the scheduler build speedup of the fast-headers tree.
Cumulative scheduler (kernel/sched/) build time speedup on a
Linux distribution's config, which enables all scheduler features,
compared to the vanilla kernel:
_____________________________________________________________________________
|
| Vanilla kernel (v5.13-rc7):
|_____________________________________________________________________________
|
| Performance counter stats for 'make -j96 kernel/sched/' (3 runs):
|
| 126,975,564,374 instructions # 1.45 insn per cycle ( +- 0.00% )
| 87,637,847,671 cycles # 3.959 GHz ( +- 0.30% )
| 22,136.96 msec cpu-clock # 7.499 CPUs utilized ( +- 0.29% )
|
| 2.9520 +- 0.0169 seconds time elapsed ( +- 0.57% )
|_____________________________________________________________________________
|
| Patched kernel:
|_____________________________________________________________________________
|
| Performance counter stats for 'make -j96 kernel/sched/' (3 runs):
|
| 50,420,496,914 instructions # 1.47 insn per cycle ( +- 0.00% )
| 34,234,322,038 cycles # 3.946 GHz ( +- 0.31% )
| 8,675.81 msec cpu-clock # 3.053 CPUs utilized ( +- 0.45% )
|
| 2.8420 +- 0.0181 seconds time elapsed ( +- 0.64% )
|_____________________________________________________________________________
Summary:
- CPU time used to build the scheduler dropped by -60.9%, a reduction
from 22.1 clock-seconds to 8.7 clock-seconds.
- Wall-clock time to build the scheduler dropped by -3.9%, a reduction
from 2.95 seconds to 2.84 seconds.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
commit
ccacfe56d7
69 changed files with 407 additions and 163 deletions
|
|
@ -6,28 +6,89 @@
|
|||
*
|
||||
* Copyright (C) 1991-2002 Linus Torvalds
|
||||
*/
|
||||
#define CREATE_TRACE_POINTS
|
||||
#include <trace/events/sched.h>
|
||||
#undef CREATE_TRACE_POINTS
|
||||
#include <linux/highmem.h>
|
||||
#include <linux/hrtimer_api.h>
|
||||
#include <linux/ktime_api.h>
|
||||
#include <linux/sched/signal.h>
|
||||
#include <linux/syscalls_api.h>
|
||||
#include <linux/debug_locks.h>
|
||||
#include <linux/prefetch.h>
|
||||
#include <linux/capability.h>
|
||||
#include <linux/pgtable_api.h>
|
||||
#include <linux/wait_bit.h>
|
||||
#include <linux/jiffies.h>
|
||||
#include <linux/spinlock_api.h>
|
||||
#include <linux/cpumask_api.h>
|
||||
#include <linux/lockdep_api.h>
|
||||
#include <linux/hardirq.h>
|
||||
#include <linux/softirq.h>
|
||||
#include <linux/refcount_api.h>
|
||||
#include <linux/topology.h>
|
||||
#include <linux/sched/clock.h>
|
||||
#include <linux/sched/cond_resched.h>
|
||||
#include <linux/sched/debug.h>
|
||||
#include <linux/sched/isolation.h>
|
||||
#include <linux/sched/loadavg.h>
|
||||
#include <linux/sched/mm.h>
|
||||
#include <linux/sched/nohz.h>
|
||||
#include <linux/sched/rseq_api.h>
|
||||
#include <linux/sched/rt.h>
|
||||
|
||||
#include "sched.h"
|
||||
|
||||
#include <linux/nospec.h>
|
||||
#include <linux/blkdev.h>
|
||||
#include <linux/jump_label.h>
|
||||
#include <linux/context_tracking.h>
|
||||
#include <linux/cpuset.h>
|
||||
#include <linux/delayacct.h>
|
||||
#include <linux/init_task.h>
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/ioprio.h>
|
||||
#include <linux/kallsyms.h>
|
||||
#include <linux/kcov.h>
|
||||
#include <linux/kprobes.h>
|
||||
#include <linux/llist_api.h>
|
||||
#include <linux/mmu_context.h>
|
||||
#include <linux/mmzone.h>
|
||||
#include <linux/mutex_api.h>
|
||||
#include <linux/nmi.h>
|
||||
#include <linux/nospec.h>
|
||||
#include <linux/perf_event_api.h>
|
||||
#include <linux/profile.h>
|
||||
#include <linux/psi.h>
|
||||
#include <linux/rcuwait_api.h>
|
||||
#include <linux/sched/wake_q.h>
|
||||
#include <linux/scs.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/syscalls.h>
|
||||
#include <linux/vtime.h>
|
||||
#include <linux/wait_api.h>
|
||||
#include <linux/workqueue_api.h>
|
||||
|
||||
#ifdef CONFIG_PREEMPT_DYNAMIC
|
||||
# include <linux/entry-common.h>
|
||||
#endif
|
||||
|
||||
#include <uapi/linux/sched/types.h>
|
||||
|
||||
#include <asm/switch_to.h>
|
||||
#include <asm/tlb.h>
|
||||
|
||||
#define CREATE_TRACE_POINTS
|
||||
#include <linux/sched/rseq_api.h>
|
||||
#include <trace/events/sched.h>
|
||||
#undef CREATE_TRACE_POINTS
|
||||
|
||||
#include "sched.h"
|
||||
#include "stats.h"
|
||||
#include "autogroup.h"
|
||||
|
||||
#include "autogroup.h"
|
||||
#include "pelt.h"
|
||||
#include "smp.h"
|
||||
#include "stats.h"
|
||||
|
||||
#include "../workqueue_internal.h"
|
||||
#include "../../fs/io-wq.h"
|
||||
#include "../smpboot.h"
|
||||
|
||||
#include "pelt.h"
|
||||
#include "smp.h"
|
||||
|
||||
/*
|
||||
* Export tracepoints that act as a bare tracehook (ie: have no trace event
|
||||
* associated with them) to allow external modules to probe them.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue