cputime: Full dynticks task/cputime accounting v7
Ingo,
Please pull the new full dynticks cputime accounting code that can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
tags/full-dynticks-cputime-for-mingo
My last concern is the dependency on CONFIG_64BIT. We rely on cputime_t being u64 for reasonable nanosec granularity implementation. And therefore we need a single instruction fetch to read kernel cpustat for atomicity requirement against concurrent incrementation, which only 64 bit archs can provide.
It's probably no big deal to solve this issue. What we need is simply some atomic accessors.
There is just no emergency though as this new option depends on the context tracking subsystem that only x86-64 (and soon ppc64) implements yet. And this set is complex enough already. I think we can deal with that later.
Thanks.
---
This implements the cputime accounting on full dynticks CPUs.
Typical cputime stats infrastructure relies on the timer tick and its periodic polling on the CPU to account the amount of time spent by the CPUs and the tasks per high level domains such as userspace, kernelspace, guest, ...
Now we are preparing to implement full dynticks capability on Linux for Real Time and HPC users who want full CPU isolation. This feature requires a cputime accounting that doesn't depend on the timer tick.
To implement it, this new cputime infrastructure plugs into kernel/user/guest boundaries to take snapshots of cputime and flush these to the stats when needed. This performs pretty much like CONFIG_VIRT_CPU_ACCOUNTING except that context location and cputime snaphots are synchronized between write and read side such that the latter can safely retrieve the pending tickless cputime of a task and add it to its latest cputime snapshot to return the correct result to the user.
---
Changes since v6:
* Fix build error with kvm modules (Thanks Sedat Dilek and Wu Fenguang)
* Fix mistyped header inclusion in ia64
* Fix more missing symbols for kvm
---
Frederic Weisbecker (8):
context_tracking: Export context state for generic vtime
cputime: Librarize per nsecs resolution cputime definitions
cputime: Move default nsecs_to_cputime() to jiffies based cputime
file
cputime: Generic on-demand virtual cputime accounting
cputime: Allow dynamic switch between tick/virtual based cputime
accounting
cputime: Use accessors to read task cputime stats
kvm: Prepare to add generic guest entry/exit callbacks
cputime: Safely read cputime of full dynticks CPUs
arch/alpha/kernel/osf_sys.c | 6 +- arch/ia64/include/asm/cputime.h | 92 +-------- arch/ia64/include/asm/thread_info.h | 4 +- arch/ia64/include/asm/xen/minstate.h | 2 +- arch/ia64/kernel/asm-offsets.c | 2 +- arch/ia64/kernel/entry.S | 16 +- arch/ia64/kernel/fsys.S | 4 +- arch/ia64/kernel/head.S | 4 +- arch/ia64/kernel/ivt.S | 8 +- arch/ia64/kernel/minstate.h | 2 +- arch/ia64/kernel/time.c | 5 +- arch/powerpc/configs/chroma_defconfig | 2 +- arch/powerpc/configs/corenet64_smp_defconfig | 2 +- arch/powerpc/configs/pasemi_defconfig | 2 +- arch/powerpc/include/asm/cputime.h | 6 +- arch/powerpc/include/asm/lppaca.h | 2 +- arch/powerpc/include/asm/ppc_asm.h | 4 +- arch/powerpc/kernel/entry_64.S | 4 +- arch/powerpc/kernel/time.c | 5 +- arch/powerpc/platforms/pseries/dtl.c | 6 +- arch/powerpc/platforms/pseries/setup.c | 6 +- arch/s390/kernel/vtime.c | 6 +- arch/x86/kernel/apm_32.c | 11 +- drivers/isdn/mISDN/stack.c | 7 +- fs/binfmt_elf.c | 8 +- fs/binfmt_elf_fdpic.c | 7 +- fs/proc/array.c | 4 +- include/asm-generic/cputime.h | 66 +----- include/asm-generic/cputime_jiffies.h | 72 ++++++ include/asm-generic/cputime_nsecs.h | 104 +++++++++ include/linux/context_tracking.h | 28 +++ include/linux/hardirq.h | 4 +- include/linux/init_task.h | 11 + include/linux/kernel_stat.h | 2 +- include/linux/kvm_host.h | 55 ++++- include/linux/sched.h | 40 ++++ include/linux/tsacct_kern.h | 3 + include/linux/vtime.h | 59 ++++-- init/Kconfig | 23 ++- kernel/acct.c | 6 +- kernel/context_tracking.c | 43 +++-- kernel/cpu.c | 4 +- kernel/delayacct.c | 7 +- kernel/exit.c | 10 +- kernel/fork.c | 6 + kernel/posix-cpu-timers.c | 28 ++- kernel/sched/core.c | 1 + kernel/sched/cputime.c | 298 +++++++++++++++++++++++--- kernel/signal.c | 12 +- kernel/softirq.c | 6 +- kernel/time/tick-sched.c | 5 +- kernel/tsacct.c | 44 +++- 52 files changed, 842 insertions(+), 322 deletions(-) create mode 100644 include/asm-generic/cputime_jiffies.h create mode 100644 include/asm-generic/cputime_nsecs.h
Signature · 1 line
1.7.5.4
PATCH 2/8 cputime: Librarize per nsecs resolution cputime definitions
The full dynticks cputime accounting that we'll soon introduce will rely on sched_clock(). And its clock can have a per nanosecond granularity.
To prepare for this, we need to have a cputime_t implementation that has this precision.
ia64 virtual cputime accounting already uses that granularity so all we need is to librarize its implementation in the asm generic headers.
Also librarize the default per jiffy granularity cputime_t as well so that we can easily pick either implementation depending on the cputime accounting config we choose.
--- arch/ia64/include/asm/cputime.h | 88 ++---------------------------- include/asm-generic/cputime.h | 62 +--------------------- include/asm-generic/cputime_jiffies.h | 66 ++++++++++++++++++++++ include/asm-generic/cputime_nsecs.h | 96 +++++++++++++++++++++++++++++++++ 4 files changed, 167 insertions(+), 145 deletions(-) create mode 100644 include/asm-generic/cputime_jiffies.h create mode 100644 include/asm-generic/cputime_nsecs.h
arch/ia64/include/asm/cputime.h +4 -84
@@ -19,91 +19,11 @@#define __IA64_CPUTIME_H#ifndef CONFIG_VIRT_CPU_ACCOUNTING -#include <asm-generic/cputime.h> +# include <asm-generic/cputime.h> #else - -#include <linux/time.h> -#include <linux/jiffies.h> -#include <asm/processor.h> - -typedef u64 __nocast cputime_t ; -typedef u64 __nocast cputime64_t ; - -#define cputime_one_jiffy jiffies_to_cputime(1) - -/* -* Convert cputime <-> jiffies (HZ) -*/ -#define cputime_to_jiffies (__ct) \ - ((__force u64)(__ct) / (NSEC_PER_SEC / HZ)) -#define jiffies_to_cputime (__jif) \ - (__force cputime_t)((__jif) * (NSEC_PER_SEC / HZ)) -#define cputime64_to_jiffies64 (__ct) \ - ((__force u64)(__ct) / (NSEC_PER_SEC / HZ)) -#define jiffies64_to_cputime64 (__jif) \ - (__force cputime64_t)((__jif) * (NSEC_PER_SEC / HZ)) - -/* -* Convert cputime <-> microseconds -*/ -#define cputime_to_usecs (__ct) \ - ((__force u64)(__ct) / NSEC_PER_USEC) -#define usecs_to_cputime (__usecs) \ - (__force cputime_t)((__usecs) * NSEC_PER_USEC) -#define usecs_to_cputime64 (__usecs) \ - (__force cputime64_t)((__usecs) * NSEC_PER_USEC) - -/* -* Convert cputime <-> seconds -*/ -#define cputime_to_secs (__ct) \ - ((__force u64)(__ct) / NSEC_PER_SEC) -#define secs_to_cputime (__secs) \ - (__force cputime_t)((__secs) * NSEC_PER_SEC) - -/* -* Convert cputime <-> timespec (nsec) -*/ -static inline cputime_t timespec_to_cputime (const struct timespec *val) -{ -u64 ret = val->tv_sec *NSEC_PER_SEC + val->tv_nsec; -return (__force cputime_t ) ret; -} -static inline void cputime_to_timespec (const cputime_t ct,struct timespec *val) -{ - val->tv_sec = (__force u64 ) ct /NSEC_PER_SEC ; - val->tv_nsec = (__force u64 ) ct %NSEC_PER_SEC ; -} - -/* -* Convert cputime <-> timeval (msec) -*/ -static inline cputime_t timeval_to_cputime (struct timeval *val) -{ -u64 ret = val->tv_sec *NSEC_PER_SEC + val->tv_usec *NSEC_PER_USEC ; -return (__force cputime_t ) ret; -} -static inline void cputime_to_timeval (const cputime_t ct,struct timeval *val) -{ - val->tv_sec = (__force u64 ) ct /NSEC_PER_SEC ; - val->tv_usec = ((__force u64 ) ct %NSEC_PER_SEC ) /NSEC_PER_USEC ; -} - -/* -* Convert cputime <-> clock (USER_HZ) -*/ -#define cputime_to_clock_t (__ct) \ - ((__force u64)(__ct) / (NSEC_PER_SEC / USER_HZ)) -#define clock_t_to_cputime (__x) \ - (__force cputime_t)((__x) * (NSEC_PER_SEC / USER_HZ)) - -/* -* Convert cputime64 to clock. -*/ -#define cputime64_to_clock_t (__ct) \ - cputime_to_clock_t((__force cputime_t)__ct) - +# include <asm/processor.h> +# include <asm-generic/cputime_nsecs.h> extern void arch_vtime_task_switch (struct task_struct *tsk); -#endif /* CONFIG_VIRT_CPU_ACCOUNTING */ +#endif /* __IA64_CPUTIME_H */
include/asm-generic/cputime.h +1 -61
67 lines not on this page · raw message
include/asm-generic/cputime_jiffies.h new file +66 -0
66 lines not on this page · raw message
include/asm-generic/cputime_nsecs.h new file +96 -0
96 lines not on this page · raw message
Signature · 1 line
1.7.5.4
PATCH 1/8 context_tracking: Export context state for generic vtime
In reply to Frederic WeisbeckerExport the context state: whether we run in user / kernel from the context tracking subsystem point of view.
This is going to be used by the generic virtual cputime accounting subsystem that is needed to implement the full dynticks.
--- include/linux/context_tracking.h | 28 ++++++++++++++++++++++++++++ kernel/context_tracking.c | 16 +--------------- 2 files changed, 29 insertions(+), 15 deletions(-)
include/linux/context_tracking.h +28 -0
@@ -3,12 +3,40 @@#ifdef CONFIG_CONTEXT_TRACKING #include <linux/sched.h> +#include <linux/percpu.h> + +struct context_tracking { +/* +* When active is false, probes are unset in order +* to minimize overhead: TIF flags are cleared +* and calls to user_enter/exit are ignored. This +* may be further optimized using static keys. +*/ +bool active; +enum { +IN_KERNEL =0 , +IN_USER , + } state; +}; + +DECLARE_PER_CPU(struct context_tracking, context_tracking); + +static inline bool context_tracking_in_user (void ) +{ +return __this_cpu_read (context_tracking.state) ==IN_USER ; +} + +static inline bool context_tracking_active (void ) +{ +return __this_cpu_read (context_tracking.active); +}extern void user_enter (void );extern void user_exit (void );extern void context_tracking_task_switch (struct task_struct *prev,struct task_struct *next);#else +static inline bool context_tracking_in_user (void ) {return false; }static inline void user_enter (void ) { }static inline void user_exit (void ) { } static inline void context_tracking_task_switch(struct task_struct *prev,
kernel/context_tracking.c +1 -15
@@ -1,24 +1,10 @@#include <linux/context_tracking.h> #include <linux/rcupdate.h> #include <linux/sched.h> -#include <linux/percpu.h> #include <linux/hardirq.h> -struct context_tracking { -/* -* When active is false, hooks are not set to -* minimize overhead: TIF flags are cleared -* and calls to user_enter/exit are ignored. This -* may be further optimized using static keys. -*/ -bool active; -enum { -IN_KERNEL =0 , -IN_USER , - } state; -}; -static DEFINE_PER_CPU(struct context_tracking, context_tracking) = { +DEFINE_PER_CPU(struct context_tracking, context_tracking) = {#ifdef CONFIG_CONTEXT_TRACKING_FORCE .active = true,#endif
Signature · 1 line
1.7.5.4
PATCH 5/8 cputime: Allow dynamic switch between tick/virtual based cputime accounting
In reply to Frederic WeisbeckerAllow to dynamically switch between tick and virtual based cputime accounting. This way we can provide a kind of "on-demand" virtual based cputime accounting. In this mode, the kernel relies on the context tracking subsystem to dynamically probe on kernel boundaries.
This is in preparation for being able to stop the timer tick in more places than just the idle state. Doing so will depend on CONFIG_VIRT_CPU_ACCOUNTING_GEN which makes it possible to account the cputime without the tick by hooking on kernel/user boundaries.
Depending whether the tick is stopped or not, we can switch between tick and vtime based accounting anytime in order to minimize the overhead associated to user hooks.
--- include/linux/vtime.h | 8 ++++++++ kernel/sched/cputime.c | 41 +++++++++++++++++++++++++++++++---------- kernel/time/tick-sched.c | 5 ++++- 3 files changed, 43 insertions(+), 11 deletions(-)
include/linux/vtime.h +8 -0
@@ -10,12 +10,20 @@ extern void vtime_account_system_irqsafe(struct task_struct *tsk);extern void vtime_account_idle (struct task_struct *tsk);extern void vtime_account_user (struct task_struct *tsk);extern void vtime_account (struct task_struct *tsk); + +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_GEN +extern bool vtime_accounting_enabled (void );#else +static inline bool vtime_accounting_enabled (void ) {return true; } +#endif + +#else /* !CONFIG_VIRT_CPU_ACCOUNTING */ static inline void vtime_task_switch (struct task_struct *prev) { }static inline void vtime_account_system (struct task_struct *tsk) { }static inline void vtime_account_system_irqsafe (struct task_struct *tsk) { }static inline void vtime_account_user (struct task_struct *tsk) { }static inline void vtime_account (struct task_struct *tsk) { } +static inline bool vtime_accounting_enabled (void ) {return false; }#endif #ifdef CONFIG_VIRT_CPU_ACCOUNTING_GEN
kernel/sched/cputime.c +31 -10
108 lines not on this page · raw message
kernel/time/tick-sched.c +4 -1
@@ -631,8 +631,11 @@ static void tick_nohz_restart_sched_tick(struct tick_sched *ts, ktime_t now)static void tick_nohz_account_idle_ticks (struct tick_sched *ts) { -#ifndef CONFIG_VIRT_CPU_ACCOUNTING +#ifndef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE unsigned long ticks; + +if (vtime_accounting_enabled ()) +return ;/* * We stopped the tick in idle. Update process times would miss the * time we slept as update_process_times does only a 1 tick
Signature · 1 line
1.7.5.4
PATCH 8/8 cputime: Safely read cputime of full dynticks CPUs
In reply to Frederic WeisbeckerWhile remotely reading the cputime of a task running in a full dynticks CPU, the values stored in utime/stime fields of struct task_struct may be stale. Its values may be those of the last kernel <-> user transition time snapshot and we need to add the tickless time spent since this snapshot.
To fix this, flush the cputime of the dynticks CPUs on kernel <-> user transition and record the time / context where we did this. Then on top of this snapshot and the current time, perform the fixup on the reader side from task_times() accessors.
--- arch/s390/kernel/vtime.c | 6 +- include/linux/hardirq.h | 4 +- include/linux/init_task.h | 11 +++ include/linux/kvm_host.h | 20 ++++- include/linux/sched.h | 27 +++++- include/linux/vtime.h | 47 ++++++------ kernel/context_tracking.c | 21 +++++- kernel/fork.c | 6 ++ kernel/sched/core.c | 1 + kernel/sched/cputime.c | 193 ++++++++++++++++++++++++++++++++++++++++++--- kernel/softirq.c | 6 +- 11 files changed, 290 insertions(+), 52 deletions(-)
arch/s390/kernel/vtime.c +3 -3
@@ -127,7 +127,7 @@ void vtime_account_user(struct task_struct *tsk)* Update process times based on virtual cpu times stored by entry.S * to the lowcore fields user_timer, system_timer & steal_clock. */ -void vtime_account (struct task_struct *tsk) +void vtime_account_irq_enter (struct task_struct *tsk) {struct thread_info *ti =task_thread_info (tsk);u64 timer, system;
@@ -145,10 +145,10 @@ void vtime_account(struct task_struct *tsk)virt_timer_forward (system); } -EXPORT_SYMBOL_GPL (vtime_account); +EXPORT_SYMBOL_GPL (vtime_account_irq_enter);void vtime_account_system (struct task_struct *tsk) -__attribute__((alias ("vtime_account" ))); +__attribute__((alias ("vtime_account_irq_enter" )));EXPORT_SYMBOL_GPL (vtime_account_system);void __kprobes vtime_stop_cpu (void )
include/linux/hardirq.h +2 -2
@@ -153,7 +153,7 @@ extern void rcu_nmi_exit(void);*/ #define __irq_enter () \ do { \ - vtime_account_irq_enter(current); \ + account_irq_enter_time(current); \ add_preempt_count(HARDIRQ_OFFSET); \ trace_hardirq_enter(); \ } while (0)
@@ -169,7 +169,7 @@ extern void irq_enter(void);#define __irq_exit () \ do { \ trace_hardirq_exit(); \ - vtime_account_irq_exit(current); \ + account_irq_exit_time(current); \ sub_preempt_count(HARDIRQ_OFFSET); \ } while (0)
include/linux/init_task.h +11 -0
@@ -10,6 +10,7 @@#include <linux/pid_namespace.h> #include <linux/user_namespace.h> #include <linux/securebits.h> +#include <linux/seqlock.h> #include <net/net_namespace.h> #ifdef CONFIG_SMP
@@ -141,6 +142,15 @@ extern struct task_group root_task_group;# define INIT_PERF_EVENTS (tsk)#endif +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_GEN +# define INIT_VTIME (tsk) \ + .vtime_seqlock = __SEQLOCK_UNLOCKED(tsk.vtime_seqlock), \ + .vtime_snap = 0, \ + .vtime_snap_whence = VTIME_SYS, +#else +# define INIT_VTIME (tsk) +#endif +#define INIT_TASK_COMM "swapper"/*
@@ -210,6 +220,7 @@ extern struct task_group root_task_group; INIT_TRACE_RECURSION \ INIT_TASK_RCU_PREEMPT(tsk) \ INIT_CPUSET_SEQ \ + INIT_VTIME(tsk) \ }
include/linux/kvm_host.h +18 -2
@@ -741,7 +741,7 @@ static inline int kvm_deassign_device(struct kvm *kvm, }#endif /* CONFIG_IOMMU_API */ -static inline void guest_enter (void ) +static inline void __guest_enter (void ) {/* * This is running in ioctl context so we can avoid
@@ -751,7 +751,7 @@ static inline void guest_enter(void) current->flags |=PF_VCPU ; } -static inline void guest_exit (void ) +static inline void __guest_exit (void ) {/* * This is running in ioctl context so we can avoid
@@ -761,6 +761,22 @@ static inline void guest_exit(void) current->flags &= ~PF_VCPU ; } +#ifdef CONFIG_CONTEXT_TRACKING +extern void guest_enter (void ); +extern void guest_exit (void ); + +#else /* !CONFIG_CONTEXT_TRACKING */ +static inline void guest_enter (void ) +{ +__guest_enter (); +} + +static inline void guest_exit (void ) +{ +__guest_exit (); +} +#endif /* !CONFIG_CONTEXT_TRACKING */ +static inline void kvm_guest_enter (void ) {unsigned long flags;
include/linux/sched.h +22 -5
@@ -1368,6 +1368,15 @@ struct task_struct {#ifndef CONFIG_VIRT_CPU_ACCOUNTING struct cputime prev_cputime;#endif +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_GEN +seqlock_t vtime_seqlock; +unsigned long long vtime_snap; +enum { +VTIME_SLEEPING =0 , +VTIME_USER , +VTIME_SYS , + } vtime_snap_whence; +#endif unsigned long nvcsw, nivcsw;/* context switch counts */ struct timespec start_time;/* monotonic time */ struct timespec real_start_time;/* boot based time */
@@ -1792,11 +1801,13 @@ static inline void put_task_struct(struct task_struct *t)__put_task_struct (t); } -static inline cputime_t task_gtime (struct task_struct *t) -{ -return t->gtime; -} - +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_GEN +extern void task_cputime (struct task_struct *t, +cputime_t *utime,cputime_t *stime); +extern void task_cputime_scaled (struct task_struct *t, +cputime_t *utimescaled,cputime_t *stimescaled); +extern cputime_t task_gtime (struct task_struct *t); +#else static inline void task_cputime (struct task_struct *t,cputime_t *utime,cputime_t *stime) {
@@ -1815,6 +1826,12 @@ static inline void task_cputime_scaled(struct task_struct *t,if (stimescaled) *stimescaled = t->stimescaled; } + +static inline cputime_t task_gtime (struct task_struct *t) +{ +return t->gtime; +} +#endif extern void task_cputime_adjusted (struct task_struct *p,cputime_t *ut,cputime_t *st);extern void thread_group_cputime_adjusted (struct task_struct *p,cputime_t *ut,cputime_t *st);
include/linux/vtime.h +23 -24
83 lines not on this page · raw message
kernel/context_tracking.c +20 -1
@@ -1,8 +1,9 @@#include <linux/context_tracking.h> +#include <linux/kvm_host.h> #include <linux/rcupdate.h> #include <linux/sched.h> #include <linux/hardirq.h> - +#include <linux/export.h> DEFINE_PER_CPU(struct context_tracking, context_tracking) = {#ifdef CONFIG_CONTEXT_TRACKING_FORCE
@@ -61,6 +62,24 @@ void user_exit(void)local_irq_restore (flags); } +void guest_enter (void ) +{ +if (vtime_accounting_enabled ()) +vtime_guest_enter (current); +else +__guest_enter (); +} +EXPORT_SYMBOL_GPL (guest_enter); + +void guest_exit (void ) +{ +if (vtime_accounting_enabled ()) +vtime_guest_exit (current); +else +__guest_exit (); +} +EXPORT_SYMBOL_GPL (guest_exit); +void context_tracking_task_switch (struct task_struct *prev,struct task_struct *next) {
kernel/fork.c +6 -0
@@ -1233,6 +1233,12 @@ static struct task_struct *copy_process(unsigned long clone_flags,#ifndef CONFIG_VIRT_CPU_ACCOUNTING p->prev_cputime.utime = p->prev_cputime.stime =0 ;#endif +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_GEN +seqlock_init (&p->vtime_seqlock); + p->vtime_snap =0 ; + p->vtime_snap_whence =VTIME_SLEEPING ; +#endif +#if defined(SPLIT_RSS_COUNTING )memset (&p->rss_stat,0 ,sizeof (p->rss_stat));#endif
kernel/sched/core.c +1 -0
@@ -4666,6 +4666,7 @@ void __cpuinit init_idle(struct task_struct *idle, int cpu)*/ idle->sched_class = &idle_sched_class;ftrace_graph_init_idle_task (idle, cpu); +vtime_init_idle (idle);#if defined(CONFIG_SMP )sprintf (idle->comm,"%s/%d" ,INIT_TASK_COMM , cpu);#endif
kernel/sched/cputime.c +181 -12
241 lines not on this page · raw message
kernel/softirq.c +3 -3
@@ -221,7 +221,7 @@ asmlinkage void __do_softirq(void) current->flags &= ~PF_MEMALLOC ; pending =local_softirq_pending (); -vtime_account_irq_enter (current); +account_irq_enter_time (current);__local_bh_disable ((unsigned long )__builtin_return_address (0 ),SOFTIRQ_OFFSET );
@@ -272,7 +272,7 @@ restart:lockdep_softirq_exit (); -vtime_account_irq_exit (current); +account_irq_exit_time (current);__local_bh_enable (SOFTIRQ_OFFSET );tsk_restore_flags (current, old_flags,PF_MEMALLOC ); }
@@ -341,7 +341,7 @@ static inline void invoke_softirq(void)*/ void irq_exit (void ) { -vtime_account_irq_exit (current); +account_irq_exit_time (current);trace_hardirq_exit ();sub_preempt_count (IRQ_EXIT_OFFSET );if (!in_interrupt () &&local_softirq_pending ())
Signature · 1 line
1.7.5.4
PATCH 7/8 kvm: Prepare to add generic guest entry/exit callbacks
In reply to Frederic WeisbeckerDo some ground preparatory work before adding guest_enter() and guest_exit() context tracking callbacks. Those will be later used to read the guest cputime safely when we run in full dynticks mode.
--- arch/ia64/kernel/time.c | 1 + arch/powerpc/kernel/time.c | 1 + include/linux/kvm_host.h | 39 ++++++++++++++++++++++++++++++--------- include/linux/vtime.h | 2 -- kernel/sched/cputime.c | 10 ---------- 5 files changed, 32 insertions(+), 21 deletions(-)
arch/ia64/kernel/time.c +1 -0
@@ -136,6 +136,7 @@ void vtime_account_system(struct task_struct *tsk)account_system_time (tsk,0 , delta, delta); } +EXPORT_SYMBOL_GPL (vtime_account_system);void vtime_account_idle (struct task_struct *tsk) {
arch/powerpc/kernel/time.c +1 -0
@@ -347,6 +347,7 @@ void vtime_account_system(struct task_struct *tsk)if (stolen)account_steal_time (stolen); } +EXPORT_SYMBOL_GPL (vtime_account_system);void vtime_account_idle (struct task_struct *tsk) {
include/linux/kvm_host.h +30 -9
@@ -22,6 +22,7 @@#include <linux/rcupdate.h> #include <linux/ratelimit.h> #include <linux/err.h> +#include <linux/irqflags.h> #include <asm/signal.h> #include <linux/kvm.h>
@@ -740,15 +741,36 @@ static inline int kvm_deassign_device(struct kvm *kvm, }#endif /* CONFIG_IOMMU_API */ -static inline void kvm_guest_enter (void ) +static inline void guest_enter (void ) { -BUG_ON (preemptible ());/* * This is running in ioctl context so we can avoid * the call to vtime_account() with its unnecessary idle check. */ -vtime_account_system_irqsafe (current); +vtime_account_system (current); current->flags |=PF_VCPU ; +} + +static inline void guest_exit (void ) +{ +/* +* This is running in ioctl context so we can avoid +* the call to vtime_account() with its unnecessary idle check. +*/ +vtime_account_system (current); + current->flags &= ~PF_VCPU ; +} + +static inline void kvm_guest_enter (void ) +{ +unsigned long flags; + +BUG_ON (preemptible ()); + +local_irq_save (flags); +guest_enter (); +local_irq_restore (flags); +/* KVM does not hold any references to rcu protected data when it * switches CPU into a guest mode. In fact switching to a guest mode * is very similar to exiting to userspase from rcu point of view. In
@@ -761,12 +783,11 @@ static inline void kvm_guest_enter(void)static inline void kvm_guest_exit (void ) { -/* -* This is running in ioctl context so we can avoid -* the call to vtime_account() with its unnecessary idle check. -*/ -vtime_account_system_irqsafe (current); - current->flags &= ~PF_VCPU ; +unsigned long flags; + +local_irq_save (flags); +guest_exit (); +local_irq_restore (flags); }/*
include/linux/vtime.h +0 -2
@@ -6,7 +6,6 @@ struct task_struct;#ifdef CONFIG_VIRT_CPU_ACCOUNTING extern void vtime_task_switch (struct task_struct *prev);extern void vtime_account_system (struct task_struct *tsk); -extern void vtime_account_system_irqsafe (struct task_struct *tsk);extern void vtime_account_idle (struct task_struct *tsk);extern void vtime_account_user (struct task_struct *tsk);extern void vtime_account (struct task_struct *tsk);
@@ -20,7 +19,6 @@ static inline bool vtime_accounting_enabled(void) { return true; }#else /* !CONFIG_VIRT_CPU_ACCOUNTING */ static inline void vtime_task_switch (struct task_struct *prev) { }static inline void vtime_account_system (struct task_struct *tsk) { } -static inline void vtime_account_system_irqsafe (struct task_struct *tsk) { }static inline void vtime_account_user (struct task_struct *tsk) { }static inline void vtime_account (struct task_struct *tsk) { }static inline bool vtime_accounting_enabled (void ) {return false; }
kernel/sched/cputime.c +0 -10
@@ -465,16 +465,6 @@ void thread_group_cputime_adjusted(struct task_struct *p, cputime_t *ut, cputime *st = cputime.stime; } -void vtime_account_system_irqsafe (struct task_struct *tsk) -{ -unsigned long flags; - -local_irq_save (flags); -vtime_account_system (tsk); -local_irq_restore (flags); -} -EXPORT_SYMBOL_GPL (vtime_account_system_irqsafe); -#ifndef __ARCH_HAS_VTIME_TASK_SWITCHvoid vtime_task_switch (struct task_struct *prev) {
Signature · 1 line
1.7.5.4
PATCH 6/8 cputime: Use accessors to read task cputime stats
In reply to Frederic WeisbeckerThis is in preparation for the full dynticks feature. While remotely reading the cputime of a task running in a full dynticks CPU, we'll need to do some extra-computation. This way we can account the time it spent tickless in userspace since its last cputime snapshot.
--- arch/alpha/kernel/osf_sys.c | 6 +++- arch/x86/kernel/apm_32.c | 11 +++++---- drivers/isdn/mISDN/stack.c | 7 +++++- fs/binfmt_elf.c | 8 +++++- fs/binfmt_elf_fdpic.c | 7 ++++- fs/proc/array.c | 4 +- include/linux/sched.h | 23 ++++++++++++++++++++++ include/linux/tsacct_kern.h | 3 ++ kernel/acct.c | 6 +++- kernel/cpu.c | 4 ++- kernel/delayacct.c | 7 ++++- kernel/exit.c | 10 +++++--- kernel/posix-cpu-timers.c | 28 +++++++++++++++++++++----- kernel/sched/cputime.c | 13 ++++++----- kernel/signal.c | 12 +++++++--- kernel/tsacct.c | 44 +++++++++++++++++++++++++++++++++--------- 16 files changed, 144 insertions(+), 49 deletions(-)
arch/alpha/kernel/osf_sys.c +4 -2
@@ -1139,6 +1139,7 @@ struct rusage32 { SYSCALL_DEFINE2(osf_getrusage, int, who, struct rusage32 __user *, ru) {struct rusage32 r; +cputime_t utime, stime;if (who !=RUSAGE_SELF && who !=RUSAGE_CHILDREN )return -EINVAL ;
@@ -1146,8 +1147,9 @@ SYSCALL_DEFINE2(osf_getrusage, int, who, struct rusage32 __user *, ru)memset (&r,0 ,sizeof (r));switch (who) {case RUSAGE_SELF : -jiffies_to_timeval32 (current->utime, &r.ru_utime); -jiffies_to_timeval32 (current->stime, &r.ru_stime); +task_cputime (current, &utime, &stime); +jiffies_to_timeval32 (utime, &r.ru_utime); +jiffies_to_timeval32 (stime, &r.ru_stime); r.ru_minflt = current->min_flt; r.ru_majflt = current->maj_flt;break ;
arch/x86/kernel/apm_32.c +6 -5
@@ -899,6 +899,7 @@ static void apm_cpu_idle(void)static int use_apm_idle;/* = 0 */ static unsigned int last_jiffies;/* = 0 */ static unsigned int last_stime;/* = 0 */ +cputime_t stime;int apm_idle_done =0 ;unsigned int jiffies_since_last_check = jiffies - last_jiffies;
@@ -906,23 +907,23 @@ static void apm_cpu_idle(void)WARN_ONCE (1 ,"deprecated apm_cpu_idle will be deleted in 2012" ); recalc: +task_cputime (current,NULL , &stime);if (jiffies_since_last_check >IDLE_CALC_LIMIT ) { use_apm_idle =0 ; - last_jiffies = jiffies; - last_stime = current->stime; }else if (jiffies_since_last_check > idle_period) {unsigned int idle_percentage; - idle_percentage = current->stime - last_stime; + idle_percentage = stime - last_stime; idle_percentage *=100 ; idle_percentage /= jiffies_since_last_check; use_apm_idle = (idle_percentage > idle_threshold);if (apm_info.forbid_idle) use_apm_idle =0 ; - last_jiffies = jiffies; - last_stime = current->stime; } + last_jiffies = jiffies; + last_stime = stime; + bucket =IDLE_LEAKY_MAX ;while (!need_resched ()) {
drivers/isdn/mISDN/stack.c +6 -1
@@ -18,6 +18,7 @@#include <linux/slab.h> #include <linux/mISDNif.h> #include <linux/kthread.h> +#include <linux/sched.h> #include "core.h" static u_int *debug;
@@ -202,6 +203,9 @@ static int mISDNStackd(void *data) {struct mISDNstack *st = data; +#ifdef MISDN_MSG_STATS +cputime_t utime, stime; +#endif int err =0 ;sigfillset (¤t->blocked);
@@ -303,9 +307,10 @@ mISDNStackd(void *data)"msg %d sleep %d stopped\n" ,dev_name (&st->dev->dev), st->msg_cnt, st->sleep_cnt, st->stopped_cnt); +task_cputime (st->thread, &utime, &stime);printk (KERN_DEBUG "mISDNStackd daemon for %s utime(%ld) stime(%ld)\n" , -dev_name (&st->dev->dev), st->thread->utime, st->thread->stime); +dev_name (&st->dev->dev), utime, stime);printk (KERN_DEBUG "mISDNStackd daemon for %s nvcsw(%ld) nivcsw(%ld)\n" ,dev_name (&st->dev->dev), st->thread->nvcsw, st->thread->nivcsw);
fs/binfmt_elf.c +6 -2
@@ -33,6 +33,7 @@#include <linux/elf.h> #include <linux/utsname.h> #include <linux/coredump.h> +#include <linux/sched.h> #include <asm/uaccess.h> #include <asm/param.h> #include <asm/page.h>
@@ -1320,8 +1321,11 @@ static void fill_prstatus(struct elf_prstatus *prstatus,cputime_to_timeval (cputime.utime, &prstatus->pr_utime);cputime_to_timeval (cputime.stime, &prstatus->pr_stime); }else { -cputime_to_timeval (p->utime, &prstatus->pr_utime); -cputime_to_timeval (p->stime, &prstatus->pr_stime); +cputime_t utime, stime; + +task_cputime (p, &utime, &stime); +cputime_to_timeval (utime, &prstatus->pr_utime); +cputime_to_timeval (stime, &prstatus->pr_stime); }cputime_to_timeval (p->signal->cutime, &prstatus->pr_cutime);cputime_to_timeval (p->signal->cstime, &prstatus->pr_cstime);
fs/binfmt_elf_fdpic.c +5 -2
@@ -1375,8 +1375,11 @@ static void fill_prstatus(struct elf_prstatus *prstatus,cputime_to_timeval (cputime.utime, &prstatus->pr_utime);cputime_to_timeval (cputime.stime, &prstatus->pr_stime); }else { -cputime_to_timeval (p->utime, &prstatus->pr_utime); -cputime_to_timeval (p->stime, &prstatus->pr_stime); +cputime_t utime, stime; + +task_cputime (p, &utime, &stime); +cputime_to_timeval (utime, &prstatus->pr_utime); +cputime_to_timeval (stime, &prstatus->pr_stime); }cputime_to_timeval (p->signal->cutime, &prstatus->pr_cutime);cputime_to_timeval (p->signal->cstime, &prstatus->pr_cstime);
fs/proc/array.c +2 -2
@@ -449,7 +449,7 @@ static int do_task_stat(struct seq_file *m, struct pid_namespace *ns,do { min_flt += t->min_flt; maj_flt += t->maj_flt; - gtime += t->gtime; + gtime +=task_gtime (t); t =next_thread (t); }while (t != task);
@@ -472,7 +472,7 @@ static int do_task_stat(struct seq_file *m, struct pid_namespace *ns, min_flt = task->min_flt; maj_flt = task->maj_flt;task_cputime_adjusted (task, &utime, &stime); - gtime = task->gtime; + gtime =task_gtime (task); }/* scale priority and nice values from timeslices to -20..20 */
include/linux/sched.h +23 -0
@@ -1792,6 +1792,29 @@ static inline void put_task_struct(struct task_struct *t)__put_task_struct (t); } +static inline cputime_t task_gtime (struct task_struct *t) +{ +return t->gtime; +} + +static inline void task_cputime (struct task_struct *t, +cputime_t *utime,cputime_t *stime) +{ +if (utime) + *utime = t->utime; +if (stime) + *stime = t->stime; +} + +static inline void task_cputime_scaled (struct task_struct *t, +cputime_t *utimescaled, +cputime_t *stimescaled) +{ +if (utimescaled) + *utimescaled = t->utimescaled; +if (stimescaled) + *stimescaled = t->stimescaled; +}extern void task_cputime_adjusted (struct task_struct *p,cputime_t *ut,cputime_t *st);extern void thread_group_cputime_adjusted (struct task_struct *p,cputime_t *ut,cputime_t *st);
include/linux/tsacct_kern.h +3 -0
@@ -23,12 +23,15 @@ static inline void bacct_add_tsk(struct user_namespace *user_ns,#ifdef CONFIG_TASK_XACCT extern void xacct_add_tsk (struct taskstats *stats,struct task_struct *p);extern void acct_update_integrals (struct task_struct *tsk); +extern void acct_account_cputime (struct task_struct *tsk);extern void acct_clear_integrals (struct task_struct *tsk);#else static inline void xacct_add_tsk (struct taskstats *stats,struct task_struct *p) {}static inline void acct_update_integrals (struct task_struct *tsk) {} +static inline void acct_account_cputime (struct task_struct *tsk) +{}static inline void acct_clear_integrals (struct task_struct *tsk) {}#endif /* CONFIG_TASK_XACCT */
kernel/acct.c +4 -2
@@ -566,6 +566,7 @@ out:void acct_collect (long exitcode,int group_dead) {struct pacct_struct *pacct = ¤t->signal->pacct; +cputime_t utime, stime;unsigned long vsize =0 ;if (group_dead && current->mm) {
@@ -593,8 +594,9 @@ void acct_collect(long exitcode, int group_dead) pacct->ac_flag |=ACORE ;if (current->flags &PF_SIGNALED ) pacct->ac_flag |=AXSIG ; - pacct->ac_utime += current->utime; - pacct->ac_stime += current->stime; +task_cputime (current, &utime, &stime); + pacct->ac_utime += utime; + pacct->ac_stime += stime; pacct->ac_minflt += current->min_flt; pacct->ac_majflt += current->maj_flt;spin_unlock_irq (¤t->sighand->siglock);
kernel/cpu.c +3 -1
@@ -224,11 +224,13 @@ void clear_tasks_mm_cpumask(int cpu)static inline void check_for_tasks (int cpu) {struct task_struct *p; +cputime_t utime, stime;write_lock_irq (&tasklist_lock);for_each_process (p) { +task_cputime (p, &utime, &stime);if (task_cpu (p) == cpu && p->state ==TASK_RUNNING && - (p->utime || p->stime)) + (utime || stime)) printk(KERN_WARNING "Task %s (pid = %d) is on cpu %d " "(state = %ld, flags = %x)\n", p->comm, task_pid_nr(p), cpu,
kernel/delayacct.c +5 -2
@@ -106,6 +106,7 @@ int __delayacct_add_tsk(struct taskstats *d, struct task_struct *tsk)unsigned long long t2, t3;unsigned long flags;struct timespec ts; +cputime_t utime, stime, stimescaled, utimescaled;/* Though tsk->delays accessed later, early exit avoids * unnecessary returning of other data
@@ -114,12 +115,14 @@ int __delayacct_add_tsk(struct taskstats *d, struct task_struct *tsk) goto done; tmp = (s64 )d->cpu_run_real_total; -cputime_to_timespec (tsk->utime + tsk->stime, &ts); +task_cputime (tsk, &utime, &stime); +cputime_to_timespec (utime + stime, &ts); tmp +=timespec_to_ns (&ts); d->cpu_run_real_total = (tmp < (s64 )d->cpu_run_real_total) ?0 : tmp; tmp = (s64 )d->cpu_scaled_run_real_total; -cputime_to_timespec (tsk->utimescaled + tsk->stimescaled, &ts); +task_cputime_scaled (tsk, &utimescaled, &stimescaled); +cputime_to_timespec (utimescaled + stimescaled, &ts); tmp +=timespec_to_ns (&ts); d->cpu_scaled_run_real_total = (tmp < (s64 )d->cpu_scaled_run_real_total) ?0 : tmp;
kernel/exit.c +6 -4
@@ -85,6 +85,7 @@ static void __exit_signal(struct task_struct *tsk)bool group_dead =thread_group_leader (tsk);struct sighand_struct *sighand;struct tty_struct *uninitialized_var (tty ); +cputime_t utime, stime; sighand =rcu_dereference_check (tsk->sighand,lockdep_tasklist_lock_is_held ());
@@ -123,9 +124,10 @@ static void __exit_signal(struct task_struct *tsk)* We won't ever get here for the group leader, since it * will have been the last reference on the signal_struct. */ - sig->utime += tsk->utime; - sig->stime += tsk->stime; - sig->gtime += tsk->gtime; +task_cputime (tsk, &utime, &stime); + sig->utime += utime; + sig->stime += stime; + sig->gtime +=task_gtime (tsk); sig->min_flt += tsk->min_flt; sig->maj_flt += tsk->maj_flt; sig->nvcsw += tsk->nvcsw;
@@ -1092,7 +1094,7 @@ static int wait_task_zombie(struct wait_opts *wo, struct task_struct *p) sig = p->signal; psig->cutime += tgutime + sig->cutime; psig->cstime += tgstime + sig->cstime; - psig->cgtime += p->gtime + sig->gtime + sig->cgtime; + psig->cgtime +=task_gtime (p) + sig->gtime + sig->cgtime; psig->cmin_flt += p->min_flt + sig->min_flt + sig->cmin_flt; psig->cmaj_flt +=
kernel/posix-cpu-timers.c +22 -6
@@ -155,11 +155,19 @@ static void bump_cpu_timer(struct k_itimer *timer,static inline cputime_t prof_ticks (struct task_struct *p) { -return p->utime + p->stime; +cputime_t utime, stime; + +task_cputime (p, &utime, &stime); + +return utime + stime; }static inline cputime_t virt_ticks (struct task_struct *p) { -return p->utime; +cputime_t utime; + +task_cputime (p, &utime,NULL ); + +return utime; } static int
@@ -471,18 +479,23 @@ static void cleanup_timers(struct list_head *head,*/ void posix_cpu_timers_exit (struct task_struct *tsk) { +cputime_t utime, stime; +add_device_randomness ((const void *) &tsk->se.sum_exec_runtime,sizeof (unsigned long long )); +task_cputime (tsk, &utime, &stime);cleanup_timers (tsk->cpu_timers, - tsk->utime, tsk->stime, tsk->se.sum_exec_runtime); + utime, stime, tsk->se.sum_exec_runtime); }void posix_cpu_timers_exit_group (struct task_struct *tsk) {struct signal_struct *const sig = tsk->signal; +cputime_t utime, stime; +task_cputime (tsk, &utime, &stime);cleanup_timers (tsk->signal->cpu_timers, - tsk->utime + sig->utime, tsk->stime + sig->stime, + utime + sig->utime, stime + sig->stime, tsk->se.sum_exec_runtime + sig->sum_sched_runtime); }
@@ -1226,11 +1239,14 @@ static inline int task_cputime_expired(const struct task_cputime *sample,static inline int fastpath_timer_check (struct task_struct *tsk) {struct signal_struct *sig; +cputime_t utime, stime; + +task_cputime (tsk, &utime, &stime);if (!task_cputime_zero (&tsk->cputime_expires)) {struct task_cputime task_sample = { - .utime = tsk->utime, - .stime = tsk->stime, + .utime = utime, + .stime = stime, .sum_exec_runtime = tsk->se.sum_exec_runtime };
kernel/sched/cputime.c +7 -6
@@ -164,7 +164,7 @@ void account_user_time(struct task_struct *p, cputime_t cputime,task_group_account_field (p, index, (__force u64 ) cputime);/* Account for user time used */ -acct_update_integrals (p); +acct_account_cputime (p); }/*
@@ -214,7 +214,7 @@ void __account_system_time(struct task_struct *p, cputime_t cputime,task_group_account_field (p, index, (__force u64 ) cputime);/* Account for system time used */ -acct_update_integrals (p); +acct_account_cputime (p); }/*
@@ -296,6 +296,7 @@ static __always_inline bool steal_account_process_tick(void)void thread_group_cputime (struct task_struct *tsk,struct task_cputime *times) {struct signal_struct *sig = tsk->signal; +cputime_t utime, stime;struct task_struct *t; times->utime = sig->utime;
@@ -309,8 +310,9 @@ void thread_group_cputime(struct task_struct *tsk, struct task_cputime *times) t = tsk; do { - times->utime += t->utime; - times->stime += t->stime; + task_cputime(tsk, &utime, &stime); + times->utime += utime; + times->stime += stime; times->sum_exec_runtime += task_sched_runtime(t); } while_each_thread(tsk, t); out:
@@ -588,11 +590,10 @@ static void cputime_adjust(struct task_cputime *curr,void task_cputime_adjusted (struct task_struct *p,cputime_t *ut,cputime_t *st) {struct task_cputime cputime = { - .utime = p->utime, - .stime = p->stime, .sum_exec_runtime = p->se.sum_exec_runtime, }; +task_cputime (p, &cputime.utime, &cputime.stime);cputime_adjust (&cputime, &p->prev_cputime, ut, st); }
kernel/signal.c +8 -4
@@ -1638,6 +1638,7 @@ bool do_notify_parent(struct task_struct *tsk, int sig)unsigned long flags;struct sighand_struct *psig;bool autoreap = false; +cputime_t utime, stime;BUG_ON (sig ==-1 );
@@ -1675,8 +1676,9 @@ bool do_notify_parent(struct task_struct *tsk, int sig) task_uid(tsk));rcu_read_unlock (); - info.si_utime =cputime_to_clock_t (tsk->utime + tsk->signal->utime); - info.si_stime =cputime_to_clock_t (tsk->stime + tsk->signal->stime); +task_cputime (tsk, &utime, &stime); + info.si_utime =cputime_to_clock_t (utime + tsk->signal->utime); + info.si_stime =cputime_to_clock_t (stime + tsk->signal->stime); info.si_status = tsk->exit_code &0x7f ;if (tsk->exit_code &0x80 )
@@ -1740,6 +1742,7 @@ static void do_notify_parent_cldstop(struct task_struct *tsk,unsigned long flags;struct task_struct *parent;struct sighand_struct *sighand; +cputime_t utime, stime;if (for_ptracer) { parent = tsk->parent;
@@ -1758,8 +1761,9 @@ static void do_notify_parent_cldstop(struct task_struct *tsk, info.si_uid =from_kuid_munged (task_cred_xxx (parent, user_ns),task_uid (tsk));rcu_read_unlock (); - info.si_utime =cputime_to_clock_t (tsk->utime); - info.si_stime =cputime_to_clock_t (tsk->stime); +task_cputime (tsk, &utime, &stime); + info.si_utime =cputime_to_clock_t (utime); + info.si_stime =cputime_to_clock_t (stime); info.si_code = why;switch (why) {
kernel/tsacct.c +34 -10
74 lines not on this page · raw message
Signature · 1 line
1.7.5.4
PATCH 4/8 cputime: Generic on-demand virtual cputime accounting
In reply to Frederic WeisbeckerIf we want to stop the tick further idle, we need to be able to account the cputime without using the tick.
Virtual based cputime accounting solves that problem by hooking into kernel/user boundaries.
However implementing CONFIG_VIRT_CPU_ACCOUNTING require low level hooks and involves more overhead. But we already have a generic context tracking subsystem that is required for RCU needs by archs which plan to shut down the tick outside idle.
This patch implements a generic virtual based cputime accounting that relies on these generic kernel/user hooks.
There are some upsides of doing this:
- This requires no arch code to implement CONFIG_VIRT_CPU_ACCOUNTING if context tracking is already built (already necessary for RCU in full tickless mode).
- We can rely on the generic context tracking subsystem to dynamically (de)activate the hooks, so that we can switch anytime between virtual and tick based accounting. This way we don't have the overhead of the virtual accounting when the tick is running periodically.
And one downside:
- There is probably more overhead than a native virtual based cputime accounting. But this relies on hooks that are already set anyway.
--- arch/ia64/include/asm/cputime.h | 6 +- arch/ia64/include/asm/thread_info.h | 4 +- arch/ia64/include/asm/xen/minstate.h | 2 +- arch/ia64/kernel/asm-offsets.c | 2 +- arch/ia64/kernel/entry.S | 16 +++--- arch/ia64/kernel/fsys.S | 4 +- arch/ia64/kernel/head.S | 4 +- arch/ia64/kernel/ivt.S | 8 ++-- arch/ia64/kernel/minstate.h | 2 +- arch/ia64/kernel/time.c | 4 +- arch/powerpc/configs/chroma_defconfig | 2 +- arch/powerpc/configs/corenet64_smp_defconfig | 2 +- arch/powerpc/configs/pasemi_defconfig | 2 +- arch/powerpc/include/asm/cputime.h | 6 +- arch/powerpc/include/asm/lppaca.h | 2 +- arch/powerpc/include/asm/ppc_asm.h | 4 +- arch/powerpc/kernel/entry_64.S | 4 +- arch/powerpc/kernel/time.c | 4 +- arch/powerpc/platforms/pseries/dtl.c | 6 +- arch/powerpc/platforms/pseries/setup.c | 6 +- include/asm-generic/cputime.h | 8 +++- include/asm-generic/cputime_nsecs.h | 8 +++ include/linux/kernel_stat.h | 2 +- include/linux/vtime.h | 16 +++++++ init/Kconfig | 23 +++++++++- kernel/context_tracking.c | 6 ++- kernel/sched/cputime.c | 61 ++++++++++++++++++++++++-- 27 files changed, 160 insertions(+), 54 deletions(-)
arch/ia64/include/asm/cputime.h +3 -3
@@ -11,19 +11,19 @@* as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. * -* If we have CONFIG_VIRT_CPU_ACCOUNTING, we measure cpu time in nsec. +* If we have CONFIG_VIRT_CPU_ACCOUNTING_NATIVE, we measure cpu time in nsec. * Otherwise we measure cpu time in jiffies using the generic definitions. */ #ifndef __IA64_CPUTIME_H#define __IA64_CPUTIME_H -#ifndef CONFIG_VIRT_CPU_ACCOUNTING +#ifndef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE # include <asm-generic/cputime.h> #else # include <asm/processor.h> # include <asm-generic/cputime_nsecs.h> extern void arch_vtime_task_switch (struct task_struct *tsk); -#endif /* CONFIG_VIRT_CPU_ACCOUNTING */ +#endif /* CONFIG_VIRT_CPU_ACCOUNTING_NATIVE */ #endif /* __IA64_CPUTIME_H */
arch/ia64/include/asm/thread_info.h +2 -2
@@ -31,7 +31,7 @@ struct thread_info {mm_segment_t addr_limit;/* user-level address space limit */ int preempt_count;/* 0=premptable, <0=BUG; will also serve as bh-counter */ struct restart_block restart_block; -#ifdef CONFIG_VIRT_CPU_ACCOUNTING +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE __u64 ac_stamp;__u64 ac_leave;__u64 ac_stime;
@@ -69,7 +69,7 @@ struct thread_info {#define task_stack_page (tsk) ((void *)(tsk))#define __HAVE_THREAD_FUNCTIONS -#ifdef CONFIG_VIRT_CPU_ACCOUNTING +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE #define setup_thread_stack (p, org) \ *task_thread_info(p) = *task_thread_info(org); \ task_thread_info(p)->ac_stime = 0; \
arch/ia64/include/asm/xen/minstate.h +1 -1
@@ -1,5 +1,5 @@ -#ifdef CONFIG_VIRT_CPU_ACCOUNTING +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE /* read ar.itc in advance, and use it before leaving bank 0 */ #define XEN_ACCOUNT_GET_STAMP \ MOV_FROM_ITC(pUStk, p6, r20, r2);
arch/ia64/kernel/asm-offsets.c +1 -1
@@ -41,7 +41,7 @@ void foo(void)DEFINE (TI_FLAGS , offsetof(struct thread_info , flags));DEFINE (TI_CPU , offsetof(struct thread_info , cpu));DEFINE (TI_PRE_COUNT , offsetof(struct thread_info , preempt_count)); -#ifdef CONFIG_VIRT_CPU_ACCOUNTING +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE DEFINE (TI_AC_STAMP , offsetof(struct thread_info , ac_stamp));DEFINE (TI_AC_LEAVE , offsetof(struct thread_info , ac_leave));DEFINE (TI_AC_STIME , offsetof(struct thread_info , ac_stime));
arch/ia64/kernel/entry.S +8 -8
@@ -724,7 +724,7 @@ GLOBAL_ENTRY(__paravirt_leave_syscall) #endif .global __paravirt_work_processed_syscall; __paravirt_work_processed_syscall: -#ifdef CONFIG_VIRT_CPU_ACCOUNTING +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE adds r2=PT(LOADRS)+16,r12 MOV_FROM_ITC(pUStk, p9, r22, r19) // fetch time at leave adds r18=TI_FLAGS+IA64_TASK_SIZE,r13
@@ -762,7 +762,7 @@ __paravirt_work_processed_syscall: ld8 r29=[r2],16 // M0|1 load cr.ipsr ld8 r28=[r3],16 // M0|1 load cr.iip -#ifdef CONFIG_VIRT_CPU_ACCOUNTING +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE (pUStk) add r14=TI_AC_LEAVE+IA64_TASK_SIZE,r13 ;; ld8 r30=[r2],16 // M0|1 load cr.ifs
@@ -793,7 +793,7 @@ __paravirt_work_processed_syscall: ld8.fill r1=[r3],16 // M0|1 load r1 (pUStk) mov r17=1 // A ;; -#ifdef CONFIG_VIRT_CPU_ACCOUNTING +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE (pUStk) st1 [r15]=r17 // M2|3 #else (pUStk) st1 [r14]=r17 // M2|3
@@ -813,7 +813,7 @@ __paravirt_work_processed_syscall: shr.u r18=r19,16 // I0|1 get byte size of existing "dirty" partition COVER // B add current frame into dirty partition & set cr.ifs ;; -#ifdef CONFIG_VIRT_CPU_ACCOUNTING +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE mov r19=ar.bsp // M2 get new backing store pointer st8 [r14]=r22 // M save time at leave mov f10=f0 // F clear f10
@@ -948,7 +948,7 @@ GLOBAL_ENTRY(__paravirt_leave_kernel) adds r16=PT(CR_IPSR)+16,r12 adds r17=PT(CR_IIP)+16,r12 -#ifdef CONFIG_VIRT_CPU_ACCOUNTING +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE .pred.rel.mutex pUStk,pKStk MOV_FROM_PSR(pKStk, r22, r29) // M2 read PSR now that interrupts are disabled MOV_FROM_ITC(pUStk, p9, r22, r29) // M fetch time at leave
@@ -981,7 +981,7 @@ GLOBAL_ENTRY(__paravirt_leave_kernel) ;; ld8.fill r12=[r16],16 ld8.fill r13=[r17],16 -#ifdef CONFIG_VIRT_CPU_ACCOUNTING +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE (pUStk) adds r3=TI_AC_LEAVE+IA64_TASK_SIZE,r18 #else (pUStk) adds r18=IA64_TASK_THREAD_ON_USTACK_OFFSET,r18
@@ -989,7 +989,7 @@ GLOBAL_ENTRY(__paravirt_leave_kernel) ;; ld8 r20=[r16],16 // ar.fpsr ld8.fill r15=[r17],16 -#ifdef CONFIG_VIRT_CPU_ACCOUNTING +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE (pUStk) adds r18=IA64_TASK_THREAD_ON_USTACK_OFFSET,r18 // deferred #endif ;;
@@ -997,7 +997,7 @@ GLOBAL_ENTRY(__paravirt_leave_kernel) ld8.fill r2=[r17] (pUStk) mov r17=1 ;; -#ifdef CONFIG_VIRT_CPU_ACCOUNTING +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE // mmi_ : ld8 st1 shr;; mmi_ : st8 st1 shr;; // mib : mov add br -> mib : ld8 add br // bbb_ : br nop cover;; mbb_ : mov br cover;;
arch/ia64/kernel/fsys.S +2 -2
@@ -529,7 +529,7 @@ GLOBAL_ENTRY(paravirt_fsys_bubble_down) nop.i 0 ;; mov ar.rsc=0 // M2 set enforced lazy mode, pl 0, LE, loadrs=0 -#ifdef CONFIG_VIRT_CPU_ACCOUNTING +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE MOV_FROM_ITC(p0, p6, r30, r23) // M get cycle for accounting #else nop.m 0
@@ -555,7 +555,7 @@ GLOBAL_ENTRY(paravirt_fsys_bubble_down) cmp.ne pKStk,pUStk=r0,r0 // A set pKStk <- 0, pUStk <- 1 br.call.sptk.many b7=ia64_syscall_setup // B ;; -#ifdef CONFIG_VIRT_CPU_ACCOUNTING +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE // mov.m r30=ar.itc is called in advance add r16=TI_AC_STAMP+IA64_TASK_SIZE,r2 add r17=TI_AC_LEAVE+IA64_TASK_SIZE,r2
arch/ia64/kernel/head.S +2 -2
@@ -1073,7 +1073,7 @@ END(ia64_native_sched_clock) sched_clock = ia64_native_sched_clock #endif -#ifdef CONFIG_VIRT_CPU_ACCOUNTING +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE GLOBAL_ENTRY(cycle_to_cputime) alloc r16=ar.pfs,1,0,0,0 addl r8=THIS_CPU(ia64_cpu_info) + IA64_CPUINFO_NSEC_PER_CYC_OFFSET,r0
@@ -1091,7 +1091,7 @@ GLOBAL_ENTRY(cycle_to_cputime) shrp r8=r9,r8,IA64_NSEC_PER_CYC_SHIFT br.ret.sptk.many rp END(cycle_to_cputime) -#endif /* CONFIG_VIRT_CPU_ACCOUNTING */ +#endif /* CONFIG_VIRT_CPU_ACCOUNTING_NATIVE */ #ifdef CONFIG_IA64_BRL_EMU
arch/ia64/kernel/ivt.S +4 -4
@@ -784,7 +784,7 @@ ENTRY(break_fault) (p8) adds r28=16,r28 // A switch cr.iip to next bundle (p9) adds r8=1,r8 // A increment ei to next slot -#ifdef CONFIG_VIRT_CPU_ACCOUNTING +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE ;; mov b6=r30 // I0 setup syscall handler branch reg early #else
@@ -801,7 +801,7 @@ ENTRY(break_fault) // /////////////////////////////////////////////////////////////////////// st1 [r16]=r0 // M2|3 clear current->thread.on_ustack flag -#ifdef CONFIG_VIRT_CPU_ACCOUNTING +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE MOV_FROM_ITC(p0, p14, r30, r18) // M get cycle for accounting #else mov b6=r30 // I0 setup syscall handler branch reg early
@@ -817,7 +817,7 @@ ENTRY(break_fault) cmp.eq p14,p0=r9,r0 // A are syscalls being traced/audited? br.call.sptk.many b7=ia64_syscall_setup // B 1: -#ifdef CONFIG_VIRT_CPU_ACCOUNTING +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE // mov.m r30=ar.itc is called in advance, and r13 is current add r16=TI_AC_STAMP+IA64_TASK_SIZE,r13 // A add r17=TI_AC_LEAVE+IA64_TASK_SIZE,r13 // A
@@ -1043,7 +1043,7 @@ END(ia64_syscall_setup) DBG_FAULT(16) FAULT(16) -#if defined(CONFIG_VIRT_CPU_ACCOUNTING) && defined(__IA64_ASM_PARAVIRTUALIZED_NATIVE) +#if defined(CONFIG_VIRT_CPU_ACCOUNTING_NATIVE) && defined(__IA64_ASM_PARAVIRTUALIZED_NATIVE) /* * There is no particular reason for this code to be here, other than * that there happens to be space here that would go unused otherwise.
arch/ia64/kernel/minstate.h +1 -1
@@ -4,7 +4,7 @@#include "entry.h" #include "paravirt_inst.h" -#ifdef CONFIG_VIRT_CPU_ACCOUNTING +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE /* read ar.itc in advance, and use it before leaving bank 0 */ #define ACCOUNT_GET_STAMP \ (pUStk) mov.m r20=ar.itc;
arch/ia64/kernel/time.c +2 -2
@@ -77,7 +77,7 @@ static struct clocksource clocksource_itc = { };static struct clocksource *itc_clocksource; -#ifdef CONFIG_VIRT_CPU_ACCOUNTING +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE #include <linux/kernel_stat.h>
@@ -142,7 +142,7 @@ void vtime_account_idle(struct task_struct *tsk) account_idle_time(vtime_delta(tsk)); } -#endif /* CONFIG_VIRT_CPU_ACCOUNTING */ +#endif /* CONFIG_VIRT_CPU_ACCOUNTING_NATIVE */ static irqreturn_t timer_interrupt (int irq,void *dev_id)
arch/powerpc/configs/chroma_defconfig +1 -1
@@ -1,6 +1,6 @@ CONFIG_PPC64=y CONFIG_PPC_BOOK3E_64=y -# CONFIG_VIRT_CPU_ACCOUNTING is not set +# CONFIG_VIRT_CPU_ACCOUNTING_NATIVE is not set CONFIG_SMP=y CONFIG_NR_CPUS=256 CONFIG_EXPERIMENTAL=y
arch/powerpc/configs/corenet64_smp_defconfig +1 -1
@@ -1,6 +1,6 @@ CONFIG_PPC64=y CONFIG_PPC_BOOK3E_64=y -# CONFIG_VIRT_CPU_ACCOUNTING is not set +# CONFIG_VIRT_CPU_ACCOUNTING_NATIVE is not set CONFIG_SMP=y CONFIG_NR_CPUS=2 CONFIG_EXPERIMENTAL=y
arch/powerpc/configs/pasemi_defconfig +1 -1
@@ -1,6 +1,6 @@ CONFIG_PPC64=y CONFIG_ALTIVEC=y -# CONFIG_VIRT_CPU_ACCOUNTING is not set +# CONFIG_VIRT_CPU_ACCOUNTING_NATIVE is not set CONFIG_SMP=y CONFIG_NR_CPUS=2 CONFIG_EXPERIMENTAL=y
arch/powerpc/include/asm/cputime.h +3 -3
@@ -8,7 +8,7 @@* as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. * -* If we have CONFIG_VIRT_CPU_ACCOUNTING, we measure cpu time in +* If we have CONFIG_VIRT_CPU_ACCOUNTING_NATIVE, we measure cpu time in * the same units as the timebase. Otherwise we measure cpu time * in jiffies using the generic definitions. */
@@ -16,7 +16,7 @@#ifndef __POWERPC_CPUTIME_H#define __POWERPC_CPUTIME_H -#ifndef CONFIG_VIRT_CPU_ACCOUNTING +#ifndef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE #include <asm-generic/cputime.h> #ifdef __KERNEL__static inline void setup_cputime_one_jiffy (void ) { }
@@ -231,5 +231,5 @@ static inline cputime_t clock_t_to_cputime(const unsigned long clk)static inline void arch_vtime_task_switch (struct task_struct *tsk) { }#endif /* __KERNEL__ */ -#endif /* CONFIG_VIRT_CPU_ACCOUNTING */ +#endif /* CONFIG_VIRT_CPU_ACCOUNTING_NATIVE */ #endif /* __POWERPC_CPUTIME_H */
arch/powerpc/include/asm/lppaca.h +1 -1
@@ -145,7 +145,7 @@ struct dtl_entry {extern struct kmem_cache *dtl_cache;/* -* When CONFIG_VIRT_CPU_ACCOUNTING = y, the cpu accounting code controls +* When CONFIG_VIRT_CPU_ACCOUNTING_NATIVE = y, the cpu accounting code controls * reading from the dispatch trace log. If other code wants to consume * DTL entries, it can set this pointer to a function that will get * called once for each DTL entry that gets processed.
arch/powerpc/include/asm/ppc_asm.h +2 -2
@@ -24,7 +24,7 @@* user_time and system_time fields in the paca. */ -#ifndef CONFIG_VIRT_CPU_ACCOUNTING +#ifndef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE #define ACCOUNT_CPU_USER_ENTRY (ra, rb)#define ACCOUNT_CPU_USER_EXIT (ra, rb)#define ACCOUNT_STOLEN_TIME
@@ -70,7 +70,7 @@ END_FW_FTR_SECTION_IFSET(FW_FEATURE_SPLPAR)#endif /* CONFIG_PPC_SPLPAR */ -#endif /* CONFIG_VIRT_CPU_ACCOUNTING */ +#endif /* CONFIG_VIRT_CPU_ACCOUNTING_NATIVE */ /* * Macros for storing registers into and loading registers from
arch/powerpc/kernel/entry_64.S +2 -2
@@ -94,7 +94,7 @@ system_call_common: addi r9,r1,STACK_FRAME_OVERHEAD ld r11,exception_marker@toc(r2) std r11,-16(r9) /* "regshere" marker */ -#if defined(CONFIG_VIRT_CPU_ACCOUNTING) && defined(CONFIG_PPC_SPLPAR) +#if defined(CONFIG_VIRT_CPU_ACCOUNTING_NATIVE) && defined(CONFIG_PPC_SPLPAR) BEGIN_FW_FTR_SECTION beq 33f /* if from user, see if there are any DTL entries to process */
@@ -110,7 +110,7 @@ BEGIN_FW_FTR_SECTION addi r9,r1,STACK_FRAME_OVERHEAD 33: END_FW_FTR_SECTION_IFSET(FW_FEATURE_SPLPAR) -#endif /* CONFIG_VIRT_CPU_ACCOUNTING && CONFIG_PPC_SPLPAR */ +#endif /* CONFIG_VIRT_CPU_ACCOUNTING_NATIVE && CONFIG_PPC_SPLPAR */ /* * A syscall should always be called with interrupts enabled
arch/powerpc/kernel/time.c +2 -2
@@ -143,7 +143,7 @@ EXPORT_SYMBOL_GPL(ppc_proc_freq);unsigned long ppc_tb_freq;EXPORT_SYMBOL_GPL (ppc_tb_freq); -#ifdef CONFIG_VIRT_CPU_ACCOUNTING +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE /* * Factors for converting from cputime_t (timebase ticks) to * jiffies, microseconds, seconds, and clock_t (1/USER_HZ seconds).
@@ -377,7 +377,7 @@ void vtime_account_user(struct task_struct *tsk) account_user_time(tsk, utime, utimescaled); } -#else /* ! CONFIG_VIRT_CPU_ACCOUNTING */ +#else /* ! CONFIG_VIRT_CPU_ACCOUNTING_NATIVE */ #define calc_cputime_factors ()#endif
arch/powerpc/platforms/pseries/dtl.c +3 -3
@@ -57,7 +57,7 @@ static u8 dtl_event_mask = 0x7;*/ static int dtl_buf_entries =N_DISPATCH_LOG ; -#ifdef CONFIG_VIRT_CPU_ACCOUNTING +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE struct dtl_ring { u64 write_index; struct dtl_entry *write_ptr;
@@ -142,7 +142,7 @@ static u64 dtl_current_index(struct dtl *dtl) return per_cpu(dtl_rings, dtl->cpu).write_index; } -#else /* CONFIG_VIRT_CPU_ACCOUNTING */ +#else /* CONFIG_VIRT_CPU_ACCOUNTING_NATIVE */ static int dtl_start (struct dtl *dtl) {
@@ -188,7 +188,7 @@ static u64 dtl_current_index(struct dtl *dtl) {return lppaca_of (dtl->cpu).dtl_idx; } -#endif /* CONFIG_VIRT_CPU_ACCOUNTING */ +#endif /* CONFIG_VIRT_CPU_ACCOUNTING_NATIVE */ static int dtl_enable (struct dtl *dtl) {
arch/powerpc/platforms/pseries/setup.c +3 -3
@@ -281,7 +281,7 @@ static struct notifier_block pci_dn_reconfig_nb = {struct kmem_cache *dtl_cache; -#ifdef CONFIG_VIRT_CPU_ACCOUNTING +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE /* * Allocate space for the dispatch trace log for all possible cpus * and register the buffers with the hypervisor. This is used for
@@ -332,12 +332,12 @@ static int alloc_dispatch_logs(void) return 0; } -#else /* !CONFIG_VIRT_CPU_ACCOUNTING */ +#else /* !CONFIG_VIRT_CPU_ACCOUNTING_NATIVE */ static inline int alloc_dispatch_logs (void ) {return 0 ; } -#endif /* CONFIG_VIRT_CPU_ACCOUNTING */ +#endif /* CONFIG_VIRT_CPU_ACCOUNTING_NATIVE */ static int alloc_dispatch_log_kmem_cache (void ) {
include/asm-generic/cputime.h +7 -1
@@ -4,6 +4,12 @@#include <linux/time.h> #include <linux/jiffies.h> -#include <asm-generic/cputime_jiffies.h> +#ifndef CONFIG_VIRT_CPU_ACCOUNTING +# include <asm-generic/cputime_jiffies.h> +#endif + +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_GEN +# include <asm-generic/cputime_nsecs.h> +#endif #endif
include/asm-generic/cputime_nsecs.h +8 -0
@@ -26,6 +26,7 @@ typedef u64 __nocast cputime64_t;*/ #define cputime_to_jiffies (__ct) \ ((__force u64)(__ct) / (NSEC_PER_SEC / HZ)) +#define cputime_to_scaled (__ct) (__ct)#define jiffies_to_cputime (__jif) \ (__force cputime_t)((__jif) * (NSEC_PER_SEC / HZ))#define cputime64_to_jiffies64 (__ct) \
@@ -33,6 +34,13 @@ typedef u64 __nocast cputime64_t;#define jiffies64_to_cputime64 (__jif) \ (__force cputime64_t)((__jif) * (NSEC_PER_SEC / HZ)) + +/* +* Convert cputime <-> nanoseconds +*/ +#define nsecs_to_cputime (__nsecs) ((__force u64)(__nsecs)) + +/* * Convert cputime <-> microseconds */
include/linux/kernel_stat.h +1 -1
@@ -127,7 +127,7 @@ extern void account_system_time(struct task_struct *, int, cputime_t, cputime_t)extern void account_steal_time (cputime_t );extern void account_idle_time (cputime_t ); -#ifdef CONFIG_VIRT_CPU_ACCOUNTING +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE static inline void account_process_tick (struct task_struct *tsk,int user) {vtime_account_user (tsk);
include/linux/vtime.h +16 -0
@@ -14,9 +14,25 @@ extern void vtime_account(struct task_struct *tsk);static inline void vtime_task_switch (struct task_struct *prev) { }static inline void vtime_account_system (struct task_struct *tsk) { }static inline void vtime_account_system_irqsafe (struct task_struct *tsk) { } +static inline void vtime_account_user (struct task_struct *tsk) { }static inline void vtime_account (struct task_struct *tsk) { }#endif +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_GEN +static inline void arch_vtime_task_switch (struct task_struct *tsk) { } +static inline void vtime_user_enter (struct task_struct *tsk) +{ +vtime_account_system (tsk); +} +static inline void vtime_user_exit (struct task_struct *tsk) +{ +vtime_account_user (tsk); +} +#else +static inline void vtime_user_enter (struct task_struct *tsk) { } +static inline void vtime_user_exit (struct task_struct *tsk) { } +#endif +#ifdef CONFIG_IRQ_TIME_ACCOUNTING extern void irqtime_account_irq (struct task_struct *tsk);#else
init/Kconfig +22 -1
@@ -326,6 +326,9 @@ source "kernel/time/Kconfig" menu "CPU/Task time and stats accounting" +config VIRT_CPU_ACCOUNTING + bool + choice prompt "Cputime accounting" default TICK_CPU_ACCOUNTING if !PPC64
@@ -342,9 +345,10 @@ config TICK_CPU_ACCOUNTING If unsure, say Y. -config VIRT_CPU_ACCOUNTING +config VIRT_CPU_ACCOUNTING_NATIVE bool "Deterministic task and CPU time accounting" depends on HAVE_VIRT_CPU_ACCOUNTING + select VIRT_CPU_ACCOUNTING help Select this option to enable more accurate task and CPU time accounting. This is done by reading a CPU counter on each
@@ -354,6 +358,23 @@ config VIRT_CPU_ACCOUNTING this also enables accounting of stolen time on logically-partitioned systems. +config VIRT_CPU_ACCOUNTING_GEN + bool "Full dynticks CPU time accounting" + depends on HAVE_CONTEXT_TRACKING && 64BIT + select VIRT_CPU_ACCOUNTING + select CONTEXT_TRACKING + help + Select this option to enable task and CPU time accounting on full + dynticks systems. This accounting is implemented by watching every + kernel-user boundaries using the context tracking subsystem. + The accounting is thus performed at the expense of some significant + overhead. + + For now this is only useful if you are working on the full + dynticks subsystem development. + + If unsure, say N. + config IRQ_TIME_ACCOUNTING bool "Fine granularity task level IRQ time accounting" depends on HAVE_IRQ_TIME_ACCOUNTING
kernel/context_tracking.c +4 -2
@@ -30,8 +30,9 @@ void user_enter(void)local_irq_save (flags);if (__this_cpu_read (context_tracking.active) &&__this_cpu_read (context_tracking.state) !=IN_USER ) { -__this_cpu_write (context_tracking.state,IN_USER ); +vtime_user_enter (current);rcu_user_enter (); +__this_cpu_write (context_tracking.state,IN_USER ); }local_irq_restore (flags); }
@@ -53,8 +54,9 @@ void user_exit(void)local_irq_save (flags);if (__this_cpu_read (context_tracking.state) ==IN_USER ) { -__this_cpu_write (context_tracking.state,IN_KERNEL );rcu_user_exit (); +vtime_user_exit (current); +__this_cpu_write (context_tracking.state,IN_KERNEL ); }local_irq_restore (flags); }
kernel/sched/cputime.c +57 -4
83 lines not on this page · raw message
Signature · 1 line
1.7.5.4
PATCH 3/8 cputime: Move default nsecs_to_cputime() to jiffies based cputime file
In reply to Frederic WeisbeckerIf the architecture doesn't provide an implementation of nsecs_to_cputime(), the cputime accounting core uses a default one that converts the nanoseconds to jiffies. However this only makes sense if we use the jiffies based cputime.
For now it doesn't matter much because this API is only called on code that uses jiffies based cputime accounting.
But the code may evolve and this API may be used more broadly in the future. Keeping this default implementation around is very error prone as it may introduce a bug and hide it on architectures that don't override this API.
Fix this by moving this definition to the jiffies based cputime headers as it is the only place where it belongs to.
--- include/asm-generic/cputime_jiffies.h | 10 ++++++++-- kernel/sched/cputime.c | 4 ---- 2 files changed, 8 insertions(+), 6 deletions(-)
include/asm-generic/cputime_jiffies.h +8 -2
@@ -13,8 +13,14 @@ typedef u64 __nocast cputime64_t;#define cputime64_to_jiffies64 (__ct) (__force u64)(__ct)#define jiffies64_to_cputime64 (__jif) (__force cputime64_t)(__jif) -#define nsecs_to_cputime64 (__ct) \ - jiffies64_to_cputime64(nsecs_to_jiffies64(__ct)) + +/* +* Convert nanoseconds to cputime +*/ +#define nsecs_to_cputime64 (__nsec) \ + jiffies64_to_cputime64(nsecs_to_jiffies64(__nsec)) +#define nsecs_to_cputime (__nsec) \ + jiffies_to_cputime(nsecs_to_jiffies(__nsec))/*
kernel/sched/cputime.c +0 -4
@@ -505,10 +505,6 @@ EXPORT_SYMBOL_GPL(vtime_account);#else -#ifndef nsecs_to_cputime -# define nsecs_to_cputime (__nsecs) nsecs_to_jiffies(__nsecs) -#endif -static cputime_t scale_utime (cputime_t utime,cputime_t rtime,cputime_t total) {u64 temp = (__force u64 ) rtime;
Signature · 1 line
1.7.5.4
Quoted 5 lines · Frederic Weisbecker
My last concern is the dependency on
CONFIG_64BIT. We rely oncputime_tbeing u64 for reasonable nanosec granularity implementation. And therefore we need a single instruction fetch to read kernel cpustat for atomicity requirement against concurrent incrementation, which only 64 bit archs can provide.
Most x86 cpus support cmpxchg8b on 32bit which can be abused for 64 bit reads (see cmpxchg64 in cmpxchg_32.h). Simply do a cmpxchg with zero and use whatever it returns.
A percpu version that uses the instruction is called this_cpu_cmpxchg_double().
Quoted 3 lines
There is just no emergency though as this new option depends on the context tracking subsystem that only x86-64 (and soon ppc64) implements yet. And this set is complex enough already. I think we can deal with that later.
Ok then this may not be that useful.
2013/1/28 Christoph Lameter <[email protected]>:
Quoted 8 lines · Frederic Weisbecker
Quoted 6 lines
My last concern is the dependency on
CONFIG_64BIT. We rely oncputime_tbeing u64 for reasonable nanosec granularity implementation. And therefore we need a single instruction fetch to read kernel cpustat for atomicity requirement against concurrent incrementation, which only 64 bit archs can provide.
Quoted 6 lines
Most x86 cpus support cmpxchg8b on 32bit which can be abused for 64 bit reads (see cmpxchg64 in
cmpxchg_32.h). Simply do a cmpxchg with zero and use whatever it returns.A percpu version that uses the instruction is called
this_cpu_cmpxchg_double().
Yeah but we need to be able to do remote read. In fact atomic_read() would do the trick.
Quoted 6 lines
Quoted 4 lines
There is just no emergency though as this new option depends on the context tracking subsystem that only x86-64 (and soon ppc64) implements yet. And this set is complex enough already. I think we can deal with that later.
Ok then this may not be that useful.
What is not useful?
Quoted 13 lines · Frederic Weisbecker
2013/1/28 Christoph Lameter <[email protected]>:
Quoted 12 lines · Frederic Weisbecker
Quoted 6 lines
My last concern is the dependency on
CONFIG_64BIT. We rely oncputime_tbeing u64 for reasonable nanosec granularity implementation. And therefore we need a single instruction fetch to read kernel cpustat for atomicity requirement against concurrent incrementation, which only 64 bit archs can provide.Most x86 cpus support cmpxchg8b on 32bit which can be abused for 64 bit reads (see cmpxchg64 in
cmpxchg_32.h). Simply do a cmpxchg with zero and use whatever it returns.
Quoted 5 lines
Quoted 2 lines
A percpu version that uses the instruction is called
this_cpu_cmpxchg_double().Yeah but we need to be able to do remote read. In fact
atomic_read()would do the trick.
Well yes, cmpxchg64() could do the same without the need for an atomic variable.
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
There is just no emergency though as this new option depends on the context tracking subsystem that only x86-64 (and soon ppc64) implements yet. And this set is complex enough already. I think we can deal with that later.
Ok then this may not be that useful.
What is not useful?
The information about the 64 bit reads that I posted.
Re: [PATCH 8/8] cputime: Safely read cputime of full dynticks CPUs
In reply to Frederic WeisbeckerQuoted 12 lines · Frederic Weisbecker
While remotely reading the cputime of a task running in a full dynticks CPU, the values stored in utime/stime fields of struct
task_structmay be stale. Its values may be those of the last kernel <-> user transition time snapshot and we need to add the tickless time spent since this snapshot.To fix this, flush the cputime of the dynticks CPUs on kernel <-> user transition and record the time / context where we did this. Then on top of this snapshot and the current time, perform the fixup on the reader side from
task_times()accessors.
Quoted 13 lines
Signed-off-by Frederic Weisbecker <[email protected]>Cc Andrew Morton <[email protected]>Cc Ingo Molnar <[email protected]>Cc Li Zhong <[email protected]>Cc Namhyung Kim <[email protected]>Cc Paul E. McKenney <[email protected]>Cc Paul Gortmaker <[email protected]>Cc Peter Zijlstra <[email protected]>Cc Steven Rostedt <[email protected]>Cc Thomas Gleixner <[email protected]>[fixed kvm module related build errors]Signed-off-by Sedat Dilek <[email protected]>
Can you explain a bit what is the difference between "3.8-rc4-nohz3" and "full-dynticks-cputime-for-mingo" patchsets?
Does the latter need no more EXPORT_SYMBOL_GPL for vtime_guest_enter() and vtime_guest_exit() when CONFIG_KVM=m (see [1])?
- Sedat -
Quoted 14 lines · Frederic Weisbecker
Ingo,
Please pull the new full dynticks cputime accounting code that can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
tags/full-dynticks-cputime-for-mingoMy last concern is the dependency on
CONFIG_64BIT. We rely oncputime_tbeing u64 for reasonable nanosec granularity implementation. And therefore we need a single instruction fetch to read kernel cpustat for atomicity requirement against concurrent incrementation, which only 64 bit archs can provide.
Quoted 6 lines
It's probably no big deal to solve this issue. What we need is simply some atomic accessors.
There is just no emergency though as this new option depends on the context tracking subsystem that only x86-64 (and soon ppc64) implements yet. And this set is complex enough already. I think we can deal with that later.
I've ran these through some basic tests and I don't see any issues. But why did you drop the 'comment' patch that you had in v6?
-- Steve
2013/1/29 Steven Rostedt <[email protected]>:
Quoted 18 lines · Frederic Weisbecker
Quoted 17 lines
Ingo,
Please pull the new full dynticks cputime accounting code that can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
tags/full-dynticks-cputime-for-mingoMy last concern is the dependency on
CONFIG_64BIT. We rely oncputime_tbeing u64 for reasonable nanosec granularity implementation. And therefore we need a single instruction fetch to read kernel cpustat for atomicity requirement against concurrent incrementation, which only 64 bit archs can provide.It's probably no big deal to solve this issue. What we need is simply some atomic accessors.
Quoted 6 lines
Quoted 3 lines
There is just no emergency though as this new option depends on the context tracking subsystem that only x86-64 (and soon ppc64) implements yet. And this set is complex enough already. I think we can deal with that later.
I've ran these through some basic tests and I don't see any issues. But why did you drop the 'comment' patch that you had in v6?
Because it's coming through paulmck's tree already.
Quoted 2 lines
Acked-by Steven Rostedt <[email protected]>
Thanks a lot!
2013/1/28 Christoph Lameter <[email protected]>:
Quoted 15 lines · Frederic Weisbecker
Quoted 14 lines
2013/1/28 Christoph Lameter <[email protected]>:
Quoted 12 lines · Frederic Weisbecker
Quoted 6 lines
My last concern is the dependency on
CONFIG_64BIT. We rely oncputime_tbeing u64 for reasonable nanosec granularity implementation. And therefore we need a single instruction fetch to read kernel cpustat for atomicity requirement against concurrent incrementation, which only 64 bit archs can provide.Most x86 cpus support cmpxchg8b on 32bit which can be abused for 64 bit reads (see cmpxchg64 in
cmpxchg_32.h). Simply do a cmpxchg with zero and use whatever it returns.
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
A percpu version that uses the instruction is called
this_cpu_cmpxchg_double().Yeah but we need to be able to do remote read. In fact
atomic_read()would do the trick.Well yes,
cmpxchg64()could do the same without the need for an atomic variable.
Yeah I'll have a look at this.
Quoted 10 lines
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
There is just no emergency though as this new option depends on the context tracking subsystem that only x86-64 (and soon ppc64) implements yet. And this set is complex enough already. I think we can deal with that later.
Ok then this may not be that useful.
What is not useful?
The information about the 64 bit reads that I posted.
Ah ok.
Thanks.
Steven Rostedt
reviewerQuoted 5 lines · Steven Rostedt
I've ran these through some basic tests and I don't see any issues. But why did you drop the 'comment' patch that you had in v6?
Acked-by Steven Rostedt <[email protected]>
I'm sorry but I need to un-Ack. Due to a test machine setup error, I've been testing the same config over and over and not other configs.
Everything works great up until I enabled the dynamic tick and force context tracking.
User time seems to be pretty much the same, but the kernel time is screwed:
For all my other tests (I finally tested other configs and without your patches) I had my kernel time test report something like this:
[root@bxtest ~]# time /work/c/kernelspin 10
real 0m10.001s
user 0m1.114s
sys 0m8.886s
But after enabling the force context_tracking I get this:
[root@bxtest ~]# time /work/c/kernelspin 10
real 0m10.001s
user 0m3.769s
sys 0m6.203s
Consistently. All the other runs always had a 1.X 8.X ratio. This seems to give 3.7x 6.2x ratio consistently. Maybe it's more accurate then the others. Or something else is broken.
I'll look deeper into it.
-- Steve
2013/1/29 Steven Rostedt <[email protected]>:
Quoted 36 lines · Steven Rostedt
Quoted 6 lines
I've ran these through some basic tests and I don't see any issues. But why did you drop the 'comment' patch that you had in v6?
Acked-by Steven Rostedt <[email protected]>I'm sorry but I need to un-Ack. Due to a test machine setup error, I've been testing the same config over and over and not other configs.
Everything works great up until I enabled the dynamic tick and force context tracking.
User time seems to be pretty much the same, but the kernel time is screwed:
For all my other tests (I finally tested other configs and without your patches) I had my kernel time test report something like this:
[root@bxtest ~]# time /work/c/kernelspin 10
real 0m10.001s user 0m1.114s sys 0m8.886sBut after enabling the force
context_trackingI get this:[root@bxtest ~]# time /work/c/kernelspin 10
real 0m10.001s user 0m3.769s sys 0m6.203s
Quoted 5 lines
Consistently. All the other runs always had a 1.X 8.X ratio. This seems to give 3.7x 6.2x ratio consistently. Maybe it's more accurate then the others. Or something else is broken.
I'll look deeper into it.
Please send me your kernelspin so I can test as well.
Thanks.
Quoted 4 lines
-- Steve
Steven Rostedt
reviewerQuoted 1 line · Frederic Weisbecker
Please send me your kernelspin so I can test as well.
http://rostedt.homelinux.com/private/kernelspin.c
http://rostedt.homelinux.com/private/userspin.c
-- Steve
2013/1/29 Steven Rostedt <[email protected]>:
Quoted 5 lines · Frederic Weisbecker
Quoted 2 lines
Please send me your kernelspin so I can test as well.
I can't reproduce your issue. I'm getting almost the same results with vtime + force context tracking and tick based cputime.
3 runs with tick based cputime:
real 0m10.005s
user 0m0.210s
sys 0m9.780s
real 0m10.005s
user 0m0.170s
sys 0m9.820s
real 0m10.005s
user 0m0.130s
sys 0m9.860s
3 runs with vtime + context tracking forced:
real 0m10.005s
user 0m0.807s
sys 0m9.197s
real 0m10.005s
user 0m0.832s
sys 0m9.172s
real 0m10.005s
user 0m0.787s
sys 0m9.218s
Quoted 5 lines
http://rostedt.homelinux.com/private/userspin.c
-- Steve
Steven Rostedt
reviewerQuoted 10 lines · Frederic Weisbecker
2013/1/29 Steven Rostedt <[email protected]>:
Quoted 5 lines · Frederic Weisbecker
Quoted 2 lines
Please send me your kernelspin so I can test as well.
I can't reproduce your issue. I'm getting almost the same results with vtime + force context tracking and tick based cputime.
Can you try my config.
Thanks,
-- Steve
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86_64 3.8.0-rc4 Kernel Configuration
#CONFIG_64BIT=yCONFIG_X86_64=yCONFIG_X86=yCONFIG_INSTRUCTION_DECODER=yCONFIG_OUTPUT_FORMAT="elf64-x86-64"CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"CONFIG_LOCKDEP_SUPPORT=yCONFIG_STACKTRACE_SUPPORT=yCONFIG_HAVE_LATENCYTOP_SUPPORT=yCONFIG_MMU=yCONFIG_NEED_DMA_MAP_STATE=yCONFIG_NEED_SG_DMA_LENGTH=yCONFIG_GENERIC_ISA_DMA=yCONFIG_GENERIC_BUG=yCONFIG_GENERIC_BUG_RELATIVE_POINTERS=yCONFIG_GENERIC_HWEIGHT=yCONFIG_GENERIC_GPIO=yCONFIG_ARCH_MAY_HAVE_PC_FDC=yCONFIG_RWSEM_XCHGADD_ALGORITHM=yCONFIG_GENERIC_CALIBRATE_DELAY=yCONFIG_ARCH_HAS_CPU_RELAX=yCONFIG_ARCH_HAS_DEFAULT_IDLE=yCONFIG_ARCH_HAS_CACHE_LINE_SIZE=yCONFIG_ARCH_HAS_CPU_AUTOPROBE=yCONFIG_HAVE_SETUP_PER_CPU_AREA=yCONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=yCONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=yCONFIG_ARCH_HIBERNATION_POSSIBLE=yCONFIG_ARCH_SUSPEND_POSSIBLE=yCONFIG_ZONE_DMA32=yCONFIG_AUDIT_ARCH=yCONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=yCONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=yCONFIG_X86_64_SMP=yCONFIG_X86_HT=yCONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-rdi -fcall-saved-rsi -fcall-saved-rdx -fcall-saved-rcx -fcall-saved-r8 -fcall-saved-r9 -fcall-saved-r10 -fcall-saved-r11" CONFIG_ARCH_CPU_PROBE_RELEASE=yCONFIG_ARCH_SUPPORTS_UPROBES=yCONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"CONFIG_HAVE_IRQ_WORK=yCONFIG_IRQ_WORK=yCONFIG_BUILDTIME_EXTABLE_SORT=y
#
# General setup
#CONFIG_EXPERIMENTAL=yCONFIG_INIT_ENV_ARG_LIMIT=32CONFIG_CROSS_COMPILE=""CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not setCONFIG_HAVE_KERNEL_GZIP=yCONFIG_HAVE_KERNEL_BZIP2=yCONFIG_HAVE_KERNEL_LZMA=yCONFIG_HAVE_KERNEL_XZ=yCONFIG_HAVE_KERNEL_LZO=yCONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not setCONFIG_DEFAULT_HOSTNAME="(none)"CONFIG_SWAP=yCONFIG_SYSVIPC=yCONFIG_SYSVIPC_SYSCTL=yCONFIG_POSIX_MQUEUE=yCONFIG_POSIX_MQUEUE_SYSCTL=y
# CONFIG_FHANDLE is not setCONFIG_AUDIT=yCONFIG_AUDITSYSCALL=yCONFIG_AUDIT_WATCH=yCONFIG_AUDIT_TREE=y
# CONFIG_AUDIT_LOGINUID_IMMUTABLE is not setCONFIG_HAVE_GENERIC_HARDIRQS=y
#
# IRQ subsystem
#CONFIG_GENERIC_HARDIRQS=yCONFIG_GENERIC_IRQ_PROBE=yCONFIG_GENERIC_IRQ_SHOW=yCONFIG_GENERIC_PENDING_IRQ=yCONFIG_IRQ_FORCED_THREADING=yCONFIG_SPARSE_IRQ=yCONFIG_CLOCKSOURCE_WATCHDOG=yCONFIG_ARCH_CLOCKSOURCE_DATA=yCONFIG_GENERIC_TIME_VSYSCALL=yCONFIG_GENERIC_CLOCKEVENTS=yCONFIG_GENERIC_CLOCKEVENTS_BUILD=yCONFIG_GENERIC_CLOCKEVENTS_BROADCAST=yCONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST=yCONFIG_GENERIC_CMOS_UPDATE=y
#
# Timers subsystem
#CONFIG_TICK_ONESHOT=yCONFIG_NO_HZ=yCONFIG_HIGH_RES_TIMERS=y
#
# CPU/Task time and stats accounting
#CONFIG_VIRT_CPU_ACCOUNTING=y
# CONFIG_TICK_CPU_ACCOUNTING is not setCONFIG_VIRT_CPU_ACCOUNTING_GEN=y
# CONFIG_IRQ_TIME_ACCOUNTING is not setCONFIG_BSD_PROCESS_ACCT=y
# CONFIG_BSD_PROCESS_ACCT_V3 is not setCONFIG_TASKSTATS=yCONFIG_TASK_DELAY_ACCT=yCONFIG_TASK_XACCT=yCONFIG_TASK_IO_ACCOUNTING=y
#
# RCU Subsystem
#CONFIG_TREE_PREEMPT_RCU=yCONFIG_PREEMPT_RCU=yCONFIG_CONTEXT_TRACKING=y
# CONFIG_RCU_USER_QS is not setCONFIG_CONTEXT_TRACKING_FORCE=yCONFIG_RCU_FANOUT=64CONFIG_RCU_FANOUT_LEAF=16
# CONFIG_RCU_FANOUT_EXACT is not set
# CONFIG_RCU_FAST_NO_HZ is not set
# CONFIG_TREE_RCU_TRACE is not set
# CONFIG_RCU_BOOST is not set
# CONFIG_RCU_NOCB_CPU is not setCONFIG_IKCONFIG=m
# CONFIG_IKCONFIG_PROC is not setCONFIG_LOG_BUF_SHIFT=18CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=yCONFIG_ARCH_SUPPORTS_NUMA_BALANCING=yCONFIG_ARCH_WANTS_PROT_NUMA_PROT_NONE=y
# CONFIG_NUMA_BALANCING is not setCONFIG_CGROUPS=y
# CONFIG_CGROUP_DEBUG is not setCONFIG_CGROUP_FREEZER=yCONFIG_CGROUP_DEVICE=yCONFIG_CPUSETS=yCONFIG_PROC_PID_CPUSET=yCONFIG_CGROUP_CPUACCT=yCONFIG_RESOURCE_COUNTERS=y
# CONFIG_MEMCG is not set
# CONFIG_CGROUP_HUGETLB is not set
# CONFIG_CGROUP_PERF is not setCONFIG_CGROUP_SCHED=yCONFIG_FAIR_GROUP_SCHED=y
# CONFIG_CFS_BANDWIDTH is not setCONFIG_RT_GROUP_SCHED=yCONFIG_BLK_CGROUP=y
# CONFIG_DEBUG_BLK_CGROUP is not set
# CONFIG_CHECKPOINT_RESTORE is not setCONFIG_NAMESPACES=yCONFIG_UTS_NS=yCONFIG_IPC_NS=yCONFIG_PID_NS=yCONFIG_NET_NS=y
# CONFIG_SCHED_AUTOGROUP is not set
# CONFIG_SYSFS_DEPRECATED is not setCONFIG_RELAY=yCONFIG_BLK_DEV_INITRD=yCONFIG_INITRAMFS_SOURCE=""CONFIG_RD_GZIP=yCONFIG_RD_BZIP2=yCONFIG_RD_LZMA=yCONFIG_RD_XZ=yCONFIG_RD_LZO=yCONFIG_CC_OPTIMIZE_FOR_SIZE=yCONFIG_SYSCTL=yCONFIG_ANON_INODES=yCONFIG_EXPERT=yCONFIG_HAVE_UID16=yCONFIG_UID16=yCONFIG_SYSCTL_SYSCALL=yCONFIG_SYSCTL_EXCEPTION_TRACE=yCONFIG_KALLSYMS=yCONFIG_KALLSYMS_ALL=yCONFIG_HOTPLUG=yCONFIG_PRINTK=yCONFIG_BUG=yCONFIG_ELF_CORE=yCONFIG_PCSPKR_PLATFORM=yCONFIG_HAVE_PCSPKR_PLATFORM=yCONFIG_BASE_FULL=yCONFIG_FUTEX=yCONFIG_EPOLL=yCONFIG_SIGNALFD=yCONFIG_TIMERFD=yCONFIG_EVENTFD=yCONFIG_SHMEM=yCONFIG_AIO=yCONFIG_EMBEDDED=yCONFIG_HAVE_PERF_EVENTS=y
#
# Kernel Performance Events And Counters
#CONFIG_PERF_EVENTS=y
# CONFIG_DEBUG_PERF_USE_VMALLOC is not setCONFIG_VM_EVENT_COUNTERS=yCONFIG_PCI_QUIRKS=y
# CONFIG_COMPAT_BRK is not setCONFIG_SLAB=y
# CONFIG_SLUB is not set
# CONFIG_SLOB is not setCONFIG_PROFILING=yCONFIG_TRACEPOINTS=yCONFIG_OPROFILE=m
# CONFIG_OPROFILE_EVENT_MULTIPLEX is not setCONFIG_HAVE_OPROFILE=yCONFIG_OPROFILE_NMI_TIMER=yCONFIG_KPROBES=yCONFIG_JUMP_LABEL=yCONFIG_UPROBES=yCONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=yCONFIG_KRETPROBES=yCONFIG_USER_RETURN_NOTIFIER=yCONFIG_HAVE_IOREMAP_PROT=yCONFIG_HAVE_KPROBES=yCONFIG_HAVE_KRETPROBES=yCONFIG_HAVE_OPTPROBES=yCONFIG_HAVE_ARCH_TRACEHOOK=yCONFIG_HAVE_DMA_ATTRS=yCONFIG_USE_GENERIC_SMP_HELPERS=yCONFIG_GENERIC_SMP_IDLE_THREAD=yCONFIG_HAVE_REGS_AND_STACK_ACCESS_API=yCONFIG_HAVE_DMA_API_DEBUG=yCONFIG_HAVE_HW_BREAKPOINT=yCONFIG_HAVE_MIXED_BREAKPOINTS_REGS=yCONFIG_HAVE_USER_RETURN_NOTIFIER=yCONFIG_HAVE_PERF_EVENTS_NMI=yCONFIG_HAVE_PERF_REGS=yCONFIG_HAVE_PERF_USER_STACK_DUMP=yCONFIG_HAVE_ARCH_JUMP_LABEL=yCONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=yCONFIG_HAVE_CMPXCHG_LOCAL=yCONFIG_HAVE_CMPXCHG_DOUBLE=yCONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=yCONFIG_ARCH_WANT_OLD_COMPAT_IPC=yCONFIG_HAVE_ARCH_SECCOMP_FILTER=yCONFIG_SECCOMP_FILTER=yCONFIG_HAVE_CONTEXT_TRACKING=yCONFIG_HAVE_IRQ_TIME_ACCOUNTING=yCONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=yCONFIG_MODULES_USE_ELF_RELA=yCONFIG_GENERIC_SIGALTSTACK=y
#
# GCOV-based kernel profiling
#
# CONFIG_GCOV_KERNEL is not set
# CONFIG_HAVE_GENERIC_DMA_COHERENT is not setCONFIG_SLABINFO=yCONFIG_RT_MUTEXES=yCONFIG_BASE_SMALL=0CONFIG_MODULES=y
# CONFIG_MODULE_FORCE_LOAD is not setCONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
# CONFIG_MODVERSIONS is not setCONFIG_MODULE_SRCVERSION_ALL=y
# CONFIG_MODULE_SIG is not setCONFIG_STOP_MACHINE=yCONFIG_BLOCK=yCONFIG_BLK_DEV_BSG=yCONFIG_BLK_DEV_BSGLIB=yCONFIG_BLK_DEV_INTEGRITY=y
# CONFIG_BLK_DEV_THROTTLING is not set
#
# Partition Types
#CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not setCONFIG_OSF_PARTITION=yCONFIG_AMIGA_PARTITION=y
# CONFIG_ATARI_PARTITION is not setCONFIG_MAC_PARTITION=yCONFIG_MSDOS_PARTITION=yCONFIG_BSD_DISKLABEL=yCONFIG_MINIX_SUBPARTITION=yCONFIG_SOLARIS_X86_PARTITION=yCONFIG_UNIXWARE_DISKLABEL=y
# CONFIG_LDM_PARTITION is not setCONFIG_SGI_PARTITION=y
# CONFIG_ULTRIX_PARTITION is not setCONFIG_SUN_PARTITION=yCONFIG_KARMA_PARTITION=yCONFIG_EFI_PARTITION=y
# CONFIG_SYSV68_PARTITION is not setCONFIG_BLOCK_COMPAT=y
#
# IO Schedulers
#CONFIG_IOSCHED_NOOP=yCONFIG_IOSCHED_DEADLINE=yCONFIG_IOSCHED_CFQ=yCONFIG_CFQ_GROUP_IOSCHED=y
# CONFIG_DEFAULT_DEADLINE is not setCONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not setCONFIG_DEFAULT_IOSCHED="cfq"CONFIG_PREEMPT_NOTIFIERS=yCONFIG_UNINLINE_SPIN_UNLOCK=yCONFIG_FREEZER=y
#
# Processor type and features
#CONFIG_ZONE_DMA=yCONFIG_SMP=yCONFIG_X86_MPPARSE=yCONFIG_X86_EXTENDED_PLATFORM=y
# CONFIG_X86_VSMP is not setCONFIG_X86_SUPPORTS_MEMORY_FAILURE=yCONFIG_SCHED_OMIT_FRAME_POINTER=yCONFIG_PARAVIRT_GUEST=y
# CONFIG_PARAVIRT_TIME_ACCOUNTING is not set
# CONFIG_XEN is not set
# CONFIG_XEN_PRIVILEGED_GUEST is not setCONFIG_KVM_GUEST=yCONFIG_PARAVIRT=yCONFIG_PARAVIRT_SPINLOCKS=yCONFIG_PARAVIRT_CLOCK=y
# CONFIG_PARAVIRT_DEBUG is not setCONFIG_NO_BOOTMEM=y
# CONFIG_MEMTEST is not set
# CONFIG_MK8 is not set
# CONFIG_MPSC is not set
# CONFIG_MCORE2 is not set
# CONFIG_MATOM is not setCONFIG_GENERIC_CPU=yCONFIG_X86_INTERNODE_CACHE_SHIFT=6CONFIG_X86_L1_CACHE_SHIFT=6CONFIG_X86_TSC=yCONFIG_X86_CMPXCHG64=yCONFIG_X86_CMOV=yCONFIG_X86_MINIMUM_CPU_FAMILY=64CONFIG_X86_DEBUGCTLMSR=y
# CONFIG_PROCESSOR_SELECT is not setCONFIG_CPU_SUP_INTEL=yCONFIG_CPU_SUP_AMD=yCONFIG_CPU_SUP_CENTAUR=yCONFIG_HPET_TIMER=yCONFIG_HPET_EMULATE_RTC=yCONFIG_DMI=yCONFIG_GART_IOMMU=yCONFIG_CALGARY_IOMMU=yCONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT=yCONFIG_SWIOTLB=yCONFIG_IOMMU_HELPER=y
# CONFIG_MAXSMP is not setCONFIG_NR_CPUS=128CONFIG_SCHED_SMT=yCONFIG_SCHED_MC=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not setCONFIG_PREEMPT=yCONFIG_PREEMPT_COUNT=yCONFIG_X86_LOCAL_APIC=yCONFIG_X86_IO_APIC=yCONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=yCONFIG_X86_MCE=yCONFIG_X86_MCE_INTEL=yCONFIG_X86_MCE_AMD=yCONFIG_X86_MCE_THRESHOLD=y
# CONFIG_X86_MCE_INJECT is not setCONFIG_X86_THERMAL_VECTOR=y
# CONFIG_I8K is not setCONFIG_MICROCODE=mCONFIG_MICROCODE_INTEL=yCONFIG_MICROCODE_AMD=yCONFIG_MICROCODE_OLD_INTERFACE=yCONFIG_X86_MSR=yCONFIG_X86_CPUID=yCONFIG_ARCH_PHYS_ADDR_T_64BIT=yCONFIG_ARCH_DMA_ADDR_T_64BIT=yCONFIG_DIRECT_GBPAGES=yCONFIG_NUMA=yCONFIG_AMD_NUMA=yCONFIG_X86_64_ACPI_NUMA=yCONFIG_NODES_SPAN_OTHER_NODES=y
# CONFIG_NUMA_EMU is not setCONFIG_NODES_SHIFT=9CONFIG_ARCH_SPARSEMEM_ENABLE=yCONFIG_ARCH_SPARSEMEM_DEFAULT=yCONFIG_ARCH_SELECT_MEMORY_MODEL=yCONFIG_ARCH_MEMORY_PROBE=yCONFIG_ARCH_PROC_KCORE_TEXT=yCONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000CONFIG_SELECT_MEMORY_MODEL=yCONFIG_SPARSEMEM_MANUAL=yCONFIG_SPARSEMEM=yCONFIG_NEED_MULTIPLE_NODES=yCONFIG_HAVE_MEMORY_PRESENT=yCONFIG_SPARSEMEM_EXTREME=yCONFIG_SPARSEMEM_VMEMMAP_ENABLE=yCONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER=yCONFIG_SPARSEMEM_VMEMMAP=yCONFIG_HAVE_MEMBLOCK=yCONFIG_HAVE_MEMBLOCK_NODE_MAP=yCONFIG_ARCH_DISCARD_MEMBLOCK=yCONFIG_MEMORY_ISOLATION=y
# CONFIG_MOVABLE_NODE is not setCONFIG_MEMORY_HOTPLUG=yCONFIG_MEMORY_HOTPLUG_SPARSE=yCONFIG_MEMORY_HOTREMOVE=yCONFIG_PAGEFLAGS_EXTENDED=yCONFIG_SPLIT_PTLOCK_CPUS=999999CONFIG_COMPACTION=yCONFIG_MIGRATION=yCONFIG_PHYS_ADDR_T_64BIT=yCONFIG_ZONE_DMA_FLAG=1CONFIG_BOUNCE=yCONFIG_VIRT_TO_BUS=yCONFIG_MMU_NOTIFIER=yCONFIG_KSM=yCONFIG_DEFAULT_MMAP_MIN_ADDR=4096CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=yCONFIG_MEMORY_FAILURE=y
# CONFIG_HWPOISON_INJECT is not set
# CONFIG_TRANSPARENT_HUGEPAGE is not setCONFIG_CROSS_MEMORY_ATTACH=y
# CONFIG_CLEANCACHE is not set
# CONFIG_FRONTSWAP is not set
# CONFIG_X86_CHECK_BIOS_CORRUPTION is not setCONFIG_X86_RESERVE_LOW=64CONFIG_MTRR=yCONFIG_MTRR_SANITIZER=yCONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=1CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1CONFIG_X86_PAT=yCONFIG_ARCH_USES_PG_UNCACHED=yCONFIG_ARCH_RANDOM=yCONFIG_X86_SMAP=yCONFIG_EFI=y
# CONFIG_EFI_STUB is not setCONFIG_SECCOMP=yCONFIG_CC_STACKPROTECTOR=y
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not setCONFIG_HZ_1000=yCONFIG_HZ=1000CONFIG_SCHED_HRTICK=yCONFIG_KEXEC=yCONFIG_CRASH_DUMP=yCONFIG_KEXEC_JUMP=yCONFIG_PHYSICAL_START=0x1000000CONFIG_RELOCATABLE=yCONFIG_PHYSICAL_ALIGN=0x1000000CONFIG_HOTPLUG_CPU=y
# CONFIG_BOOTPARAM_HOTPLUG_CPU0 is not set
# CONFIG_DEBUG_HOTPLUG_CPU0 is not setCONFIG_COMPAT_VDSO=y
# CONFIG_CMDLINE_BOOL is not setCONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=yCONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=yCONFIG_USE_PERCPU_NUMA_NODE_ID=y
#
# Power management and ACPI options
#CONFIG_ARCH_HIBERNATION_HEADER=yCONFIG_SUSPEND=yCONFIG_SUSPEND_FREEZER=yCONFIG_HIBERNATE_CALLBACKS=yCONFIG_HIBERNATION=yCONFIG_PM_STD_PARTITION=""CONFIG_PM_SLEEP=yCONFIG_PM_SLEEP_SMP=y
# CONFIG_PM_AUTOSLEEP is not set
# CONFIG_PM_WAKELOCKS is not setCONFIG_PM_RUNTIME=yCONFIG_PM=yCONFIG_PM_DEBUG=y
# CONFIG_PM_ADVANCED_DEBUG is not set
# CONFIG_PM_TEST_SUSPEND is not setCONFIG_PM_SLEEP_DEBUG=yCONFIG_PM_TRACE=yCONFIG_PM_TRACE_RTC=yCONFIG_ACPI=yCONFIG_ACPI_SLEEP=yCONFIG_ACPI_PROCFS=yCONFIG_ACPI_PROCFS_POWER=y
# CONFIG_ACPI_EC_DEBUGFS is not setCONFIG_ACPI_PROC_EVENT=yCONFIG_ACPI_AC=yCONFIG_ACPI_BATTERY=yCONFIG_ACPI_BUTTON=yCONFIG_ACPI_VIDEO=mCONFIG_ACPI_FAN=yCONFIG_ACPI_DOCK=yCONFIG_ACPI_I2C=mCONFIG_ACPI_PROCESSOR=yCONFIG_ACPI_HOTPLUG_CPU=y
# CONFIG_ACPI_PROCESSOR_AGGREGATOR is not setCONFIG_ACPI_THERMAL=yCONFIG_ACPI_NUMA=y
# CONFIG_ACPI_CUSTOM_DSDT is not set
# CONFIG_ACPI_INITRD_TABLE_OVERRIDE is not setCONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not setCONFIG_ACPI_PCI_SLOT=yCONFIG_X86_PM_TIMER=yCONFIG_ACPI_CONTAINER=y
# CONFIG_ACPI_HOTPLUG_MEMORY is not set
# CONFIG_ACPI_SBS is not set
# CONFIG_ACPI_HED is not set
# CONFIG_ACPI_CUSTOM_METHOD is not set
# CONFIG_ACPI_BGRT is not set
# CONFIG_ACPI_APEI is not setCONFIG_SFI=y
#
# CPU Frequency scaling
#CONFIG_CPU_FREQ=y
# CONFIG_CPU_FREQ_STAT is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set CONFIG_CPU_FREQ_GOV_USERSPACE=y
# CONFIG_CPU_FREQ_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
#
# x86 CPU frequency scaling drivers # # CONFIG_X86_PCC_CPUFREQ is not set # CONFIG_X86_ACPI_CPUFREQ is not set # CONFIG_X86_POWERNOW_K8 is not set # CONFIG_X86_SPEEDSTEP_CENTRINO is not set # CONFIG_X86_P4_CLOCKMOD is not set
#
# shared options # # CONFIG_X86_SPEEDSTEP_LIB is not set CONFIG_CPU_IDLE=y # CONFIG_CPU_IDLE_MULTIPLE_DRIVERS is not set CONFIG_CPU_IDLE_GOV_LADDER=y CONFIG_CPU_IDLE_GOV_MENU=y # CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set # CONFIG_INTEL_IDLE is not set
#
# Memory power savings
#
# CONFIG_I7300_IDLE is not set
#
# Bus options (PCI etc.)
#CONFIG_PCI=yCONFIG_PCI_DIRECT=yCONFIG_PCI_MMCONFIG=yCONFIG_PCI_DOMAINS=y
# CONFIG_PCI_CNB20LE_QUIRK is not setCONFIG_PCIEPORTBUS=yCONFIG_HOTPLUG_PCI_PCIE=yCONFIG_PCIEAER=yCONFIG_PCIE_ECRC=y
# CONFIG_PCIEAER_INJECT is not setCONFIG_PCIEASPM=y
# CONFIG_PCIEASPM_DEBUG is not setCONFIG_PCIEASPM_DEFAULT=y
# CONFIG_PCIEASPM_POWERSAVE is not set
# CONFIG_PCIEASPM_PERFORMANCE is not setCONFIG_PCIE_PME=yCONFIG_ARCH_SUPPORTS_MSI=yCONFIG_PCI_MSI=y
# CONFIG_PCI_DEBUG is not set
# CONFIG_PCI_REALLOC_ENABLE_AUTO is not setCONFIG_PCI_STUB=yCONFIG_HT_IRQ=yCONFIG_PCI_ATS=yCONFIG_PCI_IOV=yCONFIG_PCI_PRI=yCONFIG_PCI_PASID=yCONFIG_PCI_IOAPIC=yCONFIG_PCI_LABEL=yCONFIG_ISA_DMA_API=yCONFIG_AMD_NB=yCONFIG_PCCARD=yCONFIG_PCMCIA=yCONFIG_PCMCIA_LOAD_CIS=yCONFIG_CARDBUS=y
#
# PC-card bridges
#
# CONFIG_YENTA is not set
# CONFIG_PD6729 is not set
# CONFIG_I82092 is not setCONFIG_HOTPLUG_PCI=yCONFIG_HOTPLUG_PCI_ACPI=y
# CONFIG_HOTPLUG_PCI_ACPI_IBM is not set
# CONFIG_HOTPLUG_PCI_CPCI is not setCONFIG_HOTPLUG_PCI_SHPC=m
# CONFIG_RAPIDIO is not set
#
# Executable file formats / Emulations
#CONFIG_BINFMT_ELF=yCONFIG_COMPAT_BINFMT_ELF=yCONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=yCONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
# CONFIG_HAVE_AOUT is not setCONFIG_BINFMT_MISC=yCONFIG_COREDUMP=yCONFIG_IA32_EMULATION=y
# CONFIG_IA32_AOUT is not set
# CONFIG_X86_X32 is not setCONFIG_COMPAT=yCONFIG_COMPAT_FOR_U64_ALIGNMENT=yCONFIG_SYSVIPC_COMPAT=yCONFIG_KEYS_COMPAT=yCONFIG_HAVE_TEXT_POKE_SMP=yCONFIG_X86_DEV_DMA_OPS=yCONFIG_NET=y
#
# Networking options
#CONFIG_PACKET=y
# CONFIG_PACKET_DIAG is not setCONFIG_UNIX=y
# CONFIG_UNIX_DIAG is not set
# CONFIG_XFRM_USER is not set
# CONFIG_NET_KEY is not setCONFIG_INET=yCONFIG_IP_MULTICAST=y CONFIG_IP_ADVANCED_ROUTER=y
# CONFIG_IP_FIB_TRIE_STATS is not set CONFIG_IP_MULTIPLE_TABLES=y CONFIG_IP_ROUTE_MULTIPATH=y CONFIG_IP_ROUTE_VERBOSE=y
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE_DEMUX is not set CONFIG_IP_MROUTE=y
# CONFIG_IP_MROUTE_MULTIPLE_TABLES is not set CONFIG_IP_PIMSM_V1=yCONFIG_IP_PIMSM_V2=yCONFIG_ARPD=yCONFIG_SYN_COOKIES=y
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set
# CONFIG_INET_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set # CONFIG_INET_XFRM_MODE_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_BEET is not set CONFIG_INET_LRO=y
# CONFIG_INET_DIAG is not set CONFIG_TCP_CONG_ADVANCED=y
# CONFIG_TCP_CONG_BIC is not set CONFIG_TCP_CONG_CUBIC=y
# CONFIG_TCP_CONG_WESTWOOD is not set
# CONFIG_TCP_CONG_HTCP is not set
# CONFIG_TCP_CONG_HSTCP is not set
# CONFIG_TCP_CONG_HYBLA is not set
# CONFIG_TCP_CONG_VEGAS is not set
# CONFIG_TCP_CONG_SCALABLE is not set
# CONFIG_TCP_CONG_LP is not set
# CONFIG_TCP_CONG_VENO is not set
# CONFIG_TCP_CONG_YEAH is not set
# CONFIG_TCP_CONG_ILLINOIS is not set CONFIG_DEFAULT_CUBIC=y
# CONFIG_DEFAULT_RENO is not set CONFIG_DEFAULT_TCP_CONG="cubic" CONFIG_TCP_MD5SIG=yCONFIG_IPV6=yCONFIG_IPV6_PRIVACY=y CONFIG_IPV6_ROUTER_PREF=y CONFIG_IPV6_ROUTE_INFO=y CONFIG_IPV6_OPTIMISTIC_DAD=y
# CONFIG_INET6_AH is not set
# CONFIG_INET6_ESP is not set
# CONFIG_INET6_IPCOMP is not set
# CONFIG_IPV6_MIP6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
# CONFIG_INET6_XFRM_MODE_TRANSPORT is not set # CONFIG_INET6_XFRM_MODE_TUNNEL is not set
# CONFIG_INET6_XFRM_MODE_BEET is not set
# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set # CONFIG_IPV6_SIT is not set
# CONFIG_IPV6_TUNNEL is not set
# CONFIG_IPV6_GRE is not set CONFIG_IPV6_MULTIPLE_TABLES=y CONFIG_IPV6_SUBTREES=yCONFIG_IPV6_MROUTE=y
# CONFIG_IPV6_MROUTE_MULTIPLE_TABLES is not set CONFIG_IPV6_PIMSM_V2=yCONFIG_NETLABEL=yCONFIG_NETWORK_SECMARK=y
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set CONFIG_NETFILTER_ADVANCED=y CONFIG_BRIDGE_NETFILTER=y
#
# Core Netfilter Configuration
#
# CONFIG_NETFILTER_NETLINK_ACCT is not set
# CONFIG_NETFILTER_NETLINK_QUEUE is not set
# CONFIG_NETFILTER_NETLINK_LOG is not setCONFIG_NF_CONNTRACK=yCONFIG_NF_CONNTRACK_MARK=yCONFIG_NF_CONNTRACK_SECMARK=yCONFIG_NF_CONNTRACK_PROCFS=yCONFIG_NF_CONNTRACK_EVENTS=y
# CONFIG_NF_CONNTRACK_TIMEOUT is not set
# CONFIG_NF_CONNTRACK_TIMESTAMP is not set
# CONFIG_NF_CT_PROTO_DCCP is not set
# CONFIG_NF_CT_PROTO_SCTP is not set
# CONFIG_NF_CT_PROTO_UDPLITE is not set
# CONFIG_NF_CONNTRACK_AMANDA is not set
# CONFIG_NF_CONNTRACK_FTP is not set
# CONFIG_NF_CONNTRACK_H323 is not set
# CONFIG_NF_CONNTRACK_IRC is not set
# CONFIG_NF_CONNTRACK_NETBIOS_NS is not set
# CONFIG_NF_CONNTRACK_SNMP is not set
# CONFIG_NF_CONNTRACK_PPTP is not set
# CONFIG_NF_CONNTRACK_SANE is not set
# CONFIG_NF_CONNTRACK_SIP is not set
# CONFIG_NF_CONNTRACK_TFTP is not set
# CONFIG_NF_CT_NETLINK is not set
# CONFIG_NF_CT_NETLINK_TIMEOUT is not setCONFIG_NF_NAT=yCONFIG_NF_NAT_NEEDED=y
# CONFIG_NF_NAT_AMANDA is not set
# CONFIG_NF_NAT_FTP is not set
# CONFIG_NF_NAT_IRC is not set
# CONFIG_NF_NAT_SIP is not set
# CONFIG_NF_NAT_TFTP is not setCONFIG_NETFILTER_XTABLES=y
#
# Xtables combined modules
#
# CONFIG_NETFILTER_XT_MARK is not set
# CONFIG_NETFILTER_XT_CONNMARK is not set
#
# Xtables targets
#
# CONFIG_NETFILTER_XT_TARGET_AUDIT is not set # CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set # CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set # CONFIG_NETFILTER_XT_TARGET_CONNSECMARK is not set # CONFIG_NETFILTER_XT_TARGET_HMARK is not set # CONFIG_NETFILTER_XT_TARGET_IDLETIMER is not set # CONFIG_NETFILTER_XT_TARGET_LED is not set # CONFIG_NETFILTER_XT_TARGET_LOG is not set # CONFIG_NETFILTER_XT_TARGET_MARK is not set # CONFIG_NETFILTER_XT_TARGET_NETMAP is not set # CONFIG_NETFILTER_XT_TARGET_NFLOG is not set # CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set # CONFIG_NETFILTER_XT_TARGET_RATEEST is not set # CONFIG_NETFILTER_XT_TARGET_REDIRECT is not set # CONFIG_NETFILTER_XT_TARGET_TEE is not set # CONFIG_NETFILTER_XT_TARGET_SECMARK is not set # CONFIG_NETFILTER_XT_TARGET_TCPMSS is not set
#
# Xtables matches
#
# CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is not set
# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set
# CONFIG_NETFILTER_XT_MATCH_COMMENT is not set
# CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set
# CONFIG_NETFILTER_XT_MATCH_CONNLIMIT is not set
# CONFIG_NETFILTER_XT_MATCH_CONNMARK is not setCONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
# CONFIG_NETFILTER_XT_MATCH_CPU is not set
# CONFIG_NETFILTER_XT_MATCH_DCCP is not set
# CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not set
# CONFIG_NETFILTER_XT_MATCH_DSCP is not set
# CONFIG_NETFILTER_XT_MATCH_ECN is not set
# CONFIG_NETFILTER_XT_MATCH_ESP is not set
# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set
# CONFIG_NETFILTER_XT_MATCH_HELPER is not set
# CONFIG_NETFILTER_XT_MATCH_HL is not set
# CONFIG_NETFILTER_XT_MATCH_IPRANGE is not set
# CONFIG_NETFILTER_XT_MATCH_LENGTH is not set
# CONFIG_NETFILTER_XT_MATCH_LIMIT is not set
# CONFIG_NETFILTER_XT_MATCH_MAC is not set
# CONFIG_NETFILTER_XT_MATCH_MARK is not set
# CONFIG_NETFILTER_XT_MATCH_MULTIPORT is not set
# CONFIG_NETFILTER_XT_MATCH_NFACCT is not set
# CONFIG_NETFILTER_XT_MATCH_OWNER is not set
# CONFIG_NETFILTER_XT_MATCH_PHYSDEV is not set
# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set
# CONFIG_NETFILTER_XT_MATCH_QUOTA is not set
# CONFIG_NETFILTER_XT_MATCH_RATEEST is not set
# CONFIG_NETFILTER_XT_MATCH_REALM is not set
# CONFIG_NETFILTER_XT_MATCH_RECENT is not set
# CONFIG_NETFILTER_XT_MATCH_SCTP is not setCONFIG_NETFILTER_XT_MATCH_STATE=y
# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set
# CONFIG_NETFILTER_XT_MATCH_STRING is not set
# CONFIG_NETFILTER_XT_MATCH_TCPMSS is not set
# CONFIG_NETFILTER_XT_MATCH_TIME is not set
# CONFIG_NETFILTER_XT_MATCH_U32 is not set
# CONFIG_IP_VS is not set
#
# IP: Netfilter Configuration
#CONFIG_NF_DEFRAG_IPV4=yCONFIG_NF_CONNTRACK_IPV4=y
# CONFIG_NF_CONNTRACK_PROC_COMPAT is not set
# CONFIG_IP_NF_QUEUE is not setCONFIG_IP_NF_IPTABLES=y
# CONFIG_IP_NF_MATCH_AH is not set
# CONFIG_IP_NF_MATCH_ECN is not set
# CONFIG_IP_NF_MATCH_RPFILTER is not set
# CONFIG_IP_NF_MATCH_TTL is not setCONFIG_IP_NF_FILTER=yCONFIG_IP_NF_TARGET_REJECT=y
# CONFIG_IP_NF_TARGET_ULOG is not setCONFIG_NF_NAT_IPV4=yCONFIG_IP_NF_TARGET_MASQUERADE=m
# CONFIG_IP_NF_TARGET_NETMAP is not set
# CONFIG_IP_NF_TARGET_REDIRECT is not set
# CONFIG_NF_NAT_PPTP is not set
# CONFIG_NF_NAT_H323 is not set
# CONFIG_IP_NF_MANGLE is not set
# CONFIG_IP_NF_RAW is not set
# CONFIG_IP_NF_SECURITY is not set
# CONFIG_IP_NF_ARPTABLES is not set
#
# IPv6: Netfilter Configuration
#CONFIG_NF_DEFRAG_IPV6=mCONFIG_NF_CONNTRACK_IPV6=mCONFIG_IP6_NF_IPTABLES=m
# CONFIG_IP6_NF_MATCH_AH is not set
# CONFIG_IP6_NF_MATCH_EUI64 is not set
# CONFIG_IP6_NF_MATCH_FRAG is not set
# CONFIG_IP6_NF_MATCH_OPTS is not set
# CONFIG_IP6_NF_MATCH_HL is not set
# CONFIG_IP6_NF_MATCH_IPV6HEADER is not set
# CONFIG_IP6_NF_MATCH_MH is not set
# CONFIG_IP6_NF_MATCH_RPFILTER is not set
# CONFIG_IP6_NF_MATCH_RT is not setCONFIG_IP6_NF_FILTER=mCONFIG_IP6_NF_TARGET_REJECT=m
# CONFIG_IP6_NF_MANGLE is not set
# CONFIG_IP6_NF_RAW is not set
# CONFIG_IP6_NF_SECURITY is not set
# CONFIG_NF_NAT_IPV6 is not set
# CONFIG_BRIDGE_NF_EBTABLES is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_RDS is not set
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_L2TP is not setCONFIG_STP=mCONFIG_GARP=mCONFIG_BRIDGE=mCONFIG_BRIDGE_IGMP_SNOOPING=yCONFIG_HAVE_NET_DSA=yCONFIG_NET_DSA=yCONFIG_NET_DSA_TAG_DSA=yCONFIG_NET_DSA_TAG_EDSA=yCONFIG_NET_DSA_TAG_TRAILER=yCONFIG_VLAN_8021Q=mCONFIG_VLAN_8021Q_GVRP=y
# CONFIG_DECNET is not setCONFIG_LLC=m
# CONFIG_LLC2 is not setCONFIG_IPX=m
# CONFIG_IPX_INTERN is not setCONFIG_ATALK=m
# CONFIG_DEV_APPLETALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_PHONET is not set
# CONFIG_IEEE802154 is not setCONFIG_NET_SCHED=y
#
# Queueing/Scheduling
#
# CONFIG_NET_SCH_CBQ is not set
# CONFIG_NET_SCH_HTB is not set
# CONFIG_NET_SCH_HFSC is not set
# CONFIG_NET_SCH_PRIO is not set
# CONFIG_NET_SCH_MULTIQ is not set
# CONFIG_NET_SCH_RED is not set
# CONFIG_NET_SCH_SFB is not set
# CONFIG_NET_SCH_SFQ is not set
# CONFIG_NET_SCH_TEQL is not set
# CONFIG_NET_SCH_TBF is not set
# CONFIG_NET_SCH_GRED is not set
# CONFIG_NET_SCH_DSMARK is not set
# CONFIG_NET_SCH_NETEM is not set
# CONFIG_NET_SCH_DRR is not set
# CONFIG_NET_SCH_MQPRIO is not set
# CONFIG_NET_SCH_CHOKE is not set
# CONFIG_NET_SCH_QFQ is not set
# CONFIG_NET_SCH_CODEL is not set
# CONFIG_NET_SCH_FQ_CODEL is not set
# CONFIG_NET_SCH_INGRESS is not set
# CONFIG_NET_SCH_PLUG is not set
#
# Classification
#CONFIG_NET_CLS=y
# CONFIG_NET_CLS_BASIC is not set
# CONFIG_NET_CLS_TCINDEX is not set
# CONFIG_NET_CLS_ROUTE4 is not set
# CONFIG_NET_CLS_FW is not set
# CONFIG_NET_CLS_U32 is not set
# CONFIG_NET_CLS_RSVP is not set
# CONFIG_NET_CLS_RSVP6 is not set
# CONFIG_NET_CLS_FLOW is not setCONFIG_NET_CLS_CGROUP=yCONFIG_NET_EMATCH=yCONFIG_NET_EMATCH_STACK=32
# CONFIG_NET_EMATCH_CMP is not set
# CONFIG_NET_EMATCH_NBYTE is not set
# CONFIG_NET_EMATCH_U32 is not set
# CONFIG_NET_EMATCH_META is not set
# CONFIG_NET_EMATCH_TEXT is not setCONFIG_NET_CLS_ACT=y
# CONFIG_NET_ACT_POLICE is not set
# CONFIG_NET_ACT_GACT is not set
# CONFIG_NET_ACT_MIRRED is not set
# CONFIG_NET_ACT_IPT is not set
# CONFIG_NET_ACT_NAT is not set
# CONFIG_NET_ACT_PEDIT is not set
# CONFIG_NET_ACT_SIMP is not set
# CONFIG_NET_ACT_SKBEDIT is not set
# CONFIG_NET_ACT_CSUM is not setCONFIG_NET_SCH_FIFO=yCONFIG_DCB=yCONFIG_DNS_RESOLVER=y
# CONFIG_BATMAN_ADV is not set
# CONFIG_OPENVSWITCH is not setCONFIG_RPS=yCONFIG_RFS_ACCEL=yCONFIG_XPS=y
# CONFIG_NETPRIO_CGROUP is not setCONFIG_BQL=y
# CONFIG_BPF_JIT is not set
#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_NET_TCPPROBE is not setCONFIG_NET_DROP_MONITOR=yCONFIG_HAMRADIO=y
#
# Packet Radio protocols
#
# CONFIG_AX25 is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_AF_RXRPC is not setCONFIG_FIB_RULES=yCONFIG_WIRELESS=y
# CONFIG_CFG80211 is not set
# CONFIG_LIB80211 is not set
#
# CFG80211 needs to be enabled for MAC80211
#
# CONFIG_WIMAX is not setCONFIG_RFKILL=mCONFIG_RFKILL_LEDS=y
# CONFIG_RFKILL_INPUT is not set
# CONFIG_RFKILL_REGULATOR is not set
# CONFIG_NET_9P is not set
# CONFIG_CAIF is not set
# CONFIG_CEPH_LIB is not set
# CONFIG_NFC is not setCONFIG_HAVE_BPF_JIT=y
#
# Device Drivers
#
#
# Generic Driver Options
#CONFIG_UEVENT_HELPER_PATH=""CONFIG_DEVTMPFS=yCONFIG_DEVTMPFS_MOUNT=yCONFIG_STANDALONE=yCONFIG_PREVENT_FIRMWARE_BUILD=yCONFIG_FW_LOADER=y
# CONFIG_FIRMWARE_IN_KERNEL is not setCONFIG_EXTRA_FIRMWARE=""
# CONFIG_DEBUG_DRIVER is not setCONFIG_DEBUG_DEVRES=y
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_GENERIC_CPU_DEVICES is not setCONFIG_DMA_SHARED_BUFFER=y
#
# Bus devices
#CONFIG_CONNECTOR=yCONFIG_PROC_EVENTS=y
# CONFIG_MTD is not setCONFIG_PARPORT=mCONFIG_PARPORT_PC=m
# CONFIG_PARPORT_SERIAL is not set
# CONFIG_PARPORT_PC_FIFO is not set
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_PC_PCMCIA is not set
# CONFIG_PARPORT_GSC is not set
# CONFIG_PARPORT_AX88796 is not setCONFIG_PARPORT_1284=yCONFIG_PNP=y
# CONFIG_PNP_DEBUG_MESSAGES is not set
#
# Protocols
#CONFIG_PNPACPI=yCONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_FD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not setCONFIG_BLK_DEV_LOOP=yCONFIG_BLK_DEV_LOOP_MIN_COUNT=8
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_DRBD is not set
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_NVME is not set
# CONFIG_BLK_DEV_SX8 is not setCONFIG_BLK_DEV_RAM=yCONFIG_BLK_DEV_RAM_COUNT=16CONFIG_BLK_DEV_RAM_SIZE=16384
# CONFIG_BLK_DEV_XIP is not set
# CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not set
# CONFIG_BLK_DEV_HD is not set
# CONFIG_BLK_DEV_RBD is not set
#
# Misc devices
#
# CONFIG_SENSORS_LIS3LV02D is not set
# CONFIG_AD525X_DPOT is not set
# CONFIG_IBM_ASM is not set
# CONFIG_PHANTOM is not set
# CONFIG_INTEL_MID_PTI is not set
# CONFIG_SGI_IOC4 is not set
# CONFIG_TIFM_CORE is not set
# CONFIG_ICS932S401 is not set
# CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_HP_ILO is not set
# CONFIG_APDS9802ALS is not set
# CONFIG_ISL29003 is not set
# CONFIG_ISL29020 is not set
# CONFIG_SENSORS_TSL2550 is not set
# CONFIG_SENSORS_BH1780 is not set
# CONFIG_SENSORS_BH1770 is not set
# CONFIG_SENSORS_APDS990X is not set
# CONFIG_HMC6352 is not set
# CONFIG_DS1682 is not set
# CONFIG_VMWARE_BALLOON is not set
# CONFIG_BMP085_I2C is not set
# CONFIG_PCH_PHUB is not set
# CONFIG_USB_SWITCH_FSA9480 is not set
# CONFIG_C2PORT is not set
#
# EEPROM support
#
# CONFIG_EEPROM_AT24 is not set
# CONFIG_EEPROM_LEGACY is not set
# CONFIG_EEPROM_MAX6875 is not set
# CONFIG_EEPROM_93CX6 is not set
# CONFIG_CB710_CORE is not set
#
# Texas Instruments shared transport line discipline #
# CONFIG_TI_ST is not set
# CONFIG_SENSORS_LIS3_I2C is not set
#
# Altera FPGA firmware download module
#
# CONFIG_ALTERA_STAPL is not setCONFIG_HAVE_IDE=y
# CONFIG_IDE is not set
#
# SCSI device support
#CONFIG_SCSI_MOD=y
# CONFIG_RAID_ATTRS is not setCONFIG_SCSI=yCONFIG_SCSI_DMA=y
# CONFIG_SCSI_TGT is not setCONFIG_SCSI_NETLINK=yCONFIG_SCSI_PROC_FS=y
#
# SCSI support type (disk, tape, CD-ROM)
#CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not setCONFIG_BLK_DEV_SR=yCONFIG_BLK_DEV_SR_VENDOR=yCONFIG_CHR_DEV_SG=y
# CONFIG_CHR_DEV_SCH is not setCONFIG_SCSI_MULTI_LUN=yCONFIG_SCSI_CONSTANTS=yCONFIG_SCSI_LOGGING=yCONFIG_SCSI_SCAN_ASYNC=y
#
# SCSI Transports
#
# CONFIG_SCSI_SPI_ATTRS is not setCONFIG_SCSI_FC_ATTRS=mCONFIG_SCSI_ISCSI_ATTRS=m
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not setCONFIG_SCSI_LOWLEVEL=y
# CONFIG_ISCSI_TCP is not set
# CONFIG_ISCSI_BOOT_SYSFS is not set
# CONFIG_SCSI_CXGB3_ISCSI is not set
# CONFIG_SCSI_CXGB4_ISCSI is not setCONFIG_SCSI_BNX2_ISCSI=m
# CONFIG_SCSI_BNX2X_FCOE is not set
# CONFIG_BE2ISCSI is not set
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_HPSA is not set
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_3W_SAS is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_AIC94XX is not set
# CONFIG_SCSI_MVSAS is not set
# CONFIG_SCSI_MVUMI is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_ARCMSR is not setCONFIG_MEGARAID_NEWGEN=y
# CONFIG_MEGARAID_MM is not set
# CONFIG_MEGARAID_LEGACY is not set
# CONFIG_MEGARAID_SAS is not set
# CONFIG_SCSI_MPT2SAS is not set
# CONFIG_SCSI_MPT3SAS is not set
# CONFIG_SCSI_UFSHCD is not set
# CONFIG_SCSI_HPTIOP is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_VMWARE_PVSCSI is not set
# CONFIG_LIBFC is not set
# CONFIG_LIBFCOE is not set
# CONFIG_FCOE is not set
# CONFIG_FCOE_FNIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_ISCI is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
# CONFIG_SCSI_STEX is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLA_FC is not set
# CONFIG_SCSI_QLA_ISCSI is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_PMCRAID is not set
# CONFIG_SCSI_PM8001 is not set
# CONFIG_SCSI_SRP is not set
# CONFIG_SCSI_BFA_FC is not set
# CONFIG_SCSI_CHELSIO_FCOE is not setCONFIG_SCSI_LOWLEVEL_PCMCIA=y
# CONFIG_PCMCIA_AHA152X is not set
# CONFIG_PCMCIA_FDOMAIN is not set
# CONFIG_PCMCIA_QLOGIC is not set
# CONFIG_PCMCIA_SYM53C500 is not setCONFIG_SCSI_DH=y
# CONFIG_SCSI_DH_RDAC is not set
# CONFIG_SCSI_DH_HP_SW is not set
# CONFIG_SCSI_DH_EMC is not set
# CONFIG_SCSI_DH_ALUA is not set
# CONFIG_SCSI_OSD_INITIATOR is not setCONFIG_ATA=y
# CONFIG_ATA_NONSTANDARD is not setCONFIG_ATA_VERBOSE_ERROR=yCONFIG_ATA_ACPI=yCONFIG_SATA_PMP=y
#
# Controllers with non-SFF native interface
#CONFIG_SATA_AHCI=y
# CONFIG_SATA_AHCI_PLATFORM is not set
# CONFIG_SATA_INIC162X is not set
# CONFIG_SATA_ACARD_AHCI is not set
# CONFIG_SATA_SIL24 is not setCONFIG_ATA_SFF=y
#
# SFF controllers with custom DMA interface
#
# CONFIG_PDC_ADMA is not set
# CONFIG_SATA_QSTOR is not set
# CONFIG_SATA_SX4 is not setCONFIG_ATA_BMDMA=y
#
# SATA SFF controllers with BMDMA
#CONFIG_ATA_PIIX=y
# CONFIG_SATA_HIGHBANK is not set
# CONFIG_SATA_MV is not set
# CONFIG_SATA_NV is not set
# CONFIG_SATA_PROMISE is not set
# CONFIG_SATA_SIL is not set
# CONFIG_SATA_SIS is not set
# CONFIG_SATA_SVW is not set
# CONFIG_SATA_ULI is not set
# CONFIG_SATA_VIA is not set
# CONFIG_SATA_VITESSE is not set
#
# PATA SFF controllers with BMDMA
#
# CONFIG_PATA_ALI is not set
# CONFIG_PATA_AMD is not set
# CONFIG_PATA_ARASAN_CF is not set
# CONFIG_PATA_ARTOP is not set
# CONFIG_PATA_ATIIXP is not set
# CONFIG_PATA_ATP867X is not set
# CONFIG_PATA_CMD64X is not set
# CONFIG_PATA_CS5520 is not set
# CONFIG_PATA_CS5530 is not set
# CONFIG_PATA_CS5536 is not set
# CONFIG_PATA_CYPRESS is not set
# CONFIG_PATA_EFAR is not set
# CONFIG_PATA_HPT366 is not set
# CONFIG_PATA_HPT37X is not set
# CONFIG_PATA_HPT3X2N is not set
# CONFIG_PATA_HPT3X3 is not set
# CONFIG_PATA_IT8213 is not set
# CONFIG_PATA_IT821X is not set
# CONFIG_PATA_JMICRON is not set
# CONFIG_PATA_MARVELL is not set
# CONFIG_PATA_NETCELL is not set
# CONFIG_PATA_NINJA32 is not set
# CONFIG_PATA_NS87415 is not set
# CONFIG_PATA_OLDPIIX is not set
# CONFIG_PATA_OPTIDMA is not set
# CONFIG_PATA_PDC2027X is not set
# CONFIG_PATA_PDC_OLD is not set
# CONFIG_PATA_RADISYS is not set
# CONFIG_PATA_RDC is not set
# CONFIG_PATA_SC1200 is not set
# CONFIG_PATA_SCH is not set
# CONFIG_PATA_SERVERWORKS is not set
# CONFIG_PATA_SIL680 is not set
# CONFIG_PATA_SIS is not set
# CONFIG_PATA_TOSHIBA is not set
# CONFIG_PATA_TRIFLEX is not set
# CONFIG_PATA_VIA is not set
# CONFIG_PATA_WINBOND is not set
#
# PIO-only SFF controllers
#
# CONFIG_PATA_CMD640_PCI is not set
# CONFIG_PATA_MPIIX is not set
# CONFIG_PATA_NS87410 is not set
# CONFIG_PATA_OPTI is not set
# CONFIG_PATA_PCMCIA is not set
# CONFIG_PATA_PLATFORM is not set
# CONFIG_PATA_RZ1000 is not set
#
# Generic fallback / legacy drivers
#CONFIG_PATA_ACPI=mCONFIG_ATA_GENERIC=m
# CONFIG_PATA_LEGACY is not setCONFIG_MD=yCONFIG_BLK_DEV_MD=yCONFIG_MD_AUTODETECT=y
# CONFIG_MD_LINEAR is not set
# CONFIG_MD_RAID0 is not set
# CONFIG_MD_RAID1 is not set
# CONFIG_MD_RAID10 is not set
# CONFIG_MD_RAID456 is not set
# CONFIG_MD_MULTIPATH is not set
# CONFIG_MD_FAULTY is not setCONFIG_BLK_DEV_DM=yCONFIG_DM_DEBUG=y
# CONFIG_DM_CRYPT is not setCONFIG_DM_SNAPSHOT=y
# CONFIG_DM_THIN_PROVISIONING is not setCONFIG_DM_MIRROR=y
# CONFIG_DM_RAID is not set
# CONFIG_DM_LOG_USERSPACE is not setCONFIG_DM_ZERO=y
# CONFIG_DM_MULTIPATH is not set
# CONFIG_DM_DELAY is not setCONFIG_DM_UEVENT=y
# CONFIG_DM_FLAKEY is not set
# CONFIG_DM_VERITY is not set
# CONFIG_TARGET_CORE is not setCONFIG_FUSION=y
# CONFIG_FUSION_SPI is not set
# CONFIG_FUSION_FC is not set
# CONFIG_FUSION_SAS is not setCONFIG_FUSION_MAX_SGE=40CONFIG_FUSION_LOGGING=y
#
# IEEE 1394 (FireWire) support
#CONFIG_FIREWIRE=mCONFIG_FIREWIRE_OHCI=m
# CONFIG_FIREWIRE_SBP2 is not set
# CONFIG_FIREWIRE_NET is not set
# CONFIG_FIREWIRE_NOSY is not set
# CONFIG_I2O is not setCONFIG_MACINTOSH_DRIVERS=yCONFIG_MAC_EMUMOUSEBTN=yCONFIG_NETDEVICES=yCONFIG_NET_CORE=y
# CONFIG_BONDING is not set
# CONFIG_DUMMY is not set
# CONFIG_EQUALIZER is not setCONFIG_NET_FC=yCONFIG_MII=y
# CONFIG_IFB is not set
# CONFIG_NET_TEAM is not set
# CONFIG_MACVLAN is not set
# CONFIG_VXLAN is not set
# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not setCONFIG_TUN=m
# CONFIG_VETH is not set
# CONFIG_ARCNET is not set
#
# CAIF transport drivers
#
#
# Distributed Switch Architecture drivers
#CONFIG_NET_DSA_MV88E6XXX=yCONFIG_NET_DSA_MV88E6060=yCONFIG_NET_DSA_MV88E6XXX_NEED_PPU=yCONFIG_NET_DSA_MV88E6131=yCONFIG_NET_DSA_MV88E6123_61_65=yCONFIG_ETHERNET=yCONFIG_MDIO=mCONFIG_NET_VENDOR_3COM=y
# CONFIG_PCMCIA_3C574 is not set
# CONFIG_PCMCIA_3C589 is not set
# CONFIG_VORTEX is not set
# CONFIG_TYPHOON is not setCONFIG_NET_VENDOR_ADAPTEC=y
# CONFIG_ADAPTEC_STARFIRE is not setCONFIG_NET_VENDOR_ALTEON=y
# CONFIG_ACENIC is not setCONFIG_NET_VENDOR_AMD=y
# CONFIG_AMD8111_ETH is not set
# CONFIG_PCNET32 is not set
# CONFIG_PCMCIA_NMCLAN is not setCONFIG_NET_VENDOR_ATHEROS=y
# CONFIG_ATL2 is not set
# CONFIG_ATL1 is not set
# CONFIG_ATL1E is not set
# CONFIG_ATL1C is not setCONFIG_NET_CADENCE=y
# CONFIG_ARM_AT91_ETHER is not set
# CONFIG_MACB is not setCONFIG_NET_VENDOR_BROADCOM=y
# CONFIG_B44 is not setCONFIG_BNX2=mCONFIG_CNIC=m
# CONFIG_TIGON3 is not set
# CONFIG_BNX2X is not setCONFIG_NET_VENDOR_BROCADE=y
# CONFIG_BNA is not set
# CONFIG_NET_CALXEDA_XGMAC is not setCONFIG_NET_VENDOR_CHELSIO=y
# CONFIG_CHELSIO_T1 is not set
# CONFIG_CHELSIO_T3 is not set
# CONFIG_CHELSIO_T4 is not set
# CONFIG_CHELSIO_T4VF is not setCONFIG_NET_VENDOR_CISCO=y
# CONFIG_ENIC is not set
# CONFIG_DNET is not setCONFIG_NET_VENDOR_DEC=yCONFIG_NET_TULIP=y
# CONFIG_DE2104X is not set
# CONFIG_TULIP is not set
# CONFIG_DE4X5 is not set
# CONFIG_WINBOND_840 is not set
# CONFIG_DM9102 is not set
# CONFIG_ULI526X is not set
# CONFIG_PCMCIA_XIRCOM is not setCONFIG_NET_VENDOR_DLINK=y
# CONFIG_DE600 is not set
# CONFIG_DE620 is not set
# CONFIG_DL2K is not set
# CONFIG_SUNDANCE is not setCONFIG_NET_VENDOR_EMULEX=y
# CONFIG_BE2NET is not setCONFIG_NET_VENDOR_EXAR=y
# CONFIG_S2IO is not set
# CONFIG_VXGE is not setCONFIG_NET_VENDOR_FUJITSU=y
# CONFIG_PCMCIA_FMVJ18X is not setCONFIG_NET_VENDOR_HP=y
# CONFIG_HP100 is not setCONFIG_NET_VENDOR_INTEL=y
# CONFIG_E100 is not set
# CONFIG_E1000 is not setCONFIG_E1000E=m
# CONFIG_IGB is not set
# CONFIG_IGBVF is not set
# CONFIG_IXGB is not set
# CONFIG_IXGBE is not set
# CONFIG_IXGBEVF is not setCONFIG_NET_VENDOR_I825XX=y
# CONFIG_ZNET is not set
# CONFIG_IP1000 is not set
# CONFIG_JME is not setCONFIG_NET_VENDOR_MARVELL=y
# CONFIG_MVMDIO is not set
# CONFIG_SKGE is not set
# CONFIG_SKY2 is not setCONFIG_NET_VENDOR_MELLANOX=y
# CONFIG_MLX4_EN is not set
# CONFIG_MLX4_CORE is not setCONFIG_NET_VENDOR_MICREL=y
# CONFIG_KS8851_MLL is not set
# CONFIG_KSZ884X_PCI is not setCONFIG_NET_VENDOR_MYRI=y
# CONFIG_MYRI10GE is not set
# CONFIG_FEALNX is not setCONFIG_NET_VENDOR_NATSEMI=y
# CONFIG_NATSEMI is not set
# CONFIG_NS83820 is not setCONFIG_NET_VENDOR_8390=y
# CONFIG_PCMCIA_AXNET is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_PCMCIA_PCNET is not setCONFIG_NET_VENDOR_NVIDIA=y
# CONFIG_FORCEDETH is not setCONFIG_NET_VENDOR_OKI=y
# CONFIG_PCH_GBE is not set
# CONFIG_ETHOC is not setCONFIG_NET_PACKET_ENGINE=y
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not setCONFIG_NET_VENDOR_QLOGIC=y
# CONFIG_QLA3XXX is not set
# CONFIG_QLCNIC is not set
# CONFIG_QLGE is not set
# CONFIG_NETXEN_NIC is not setCONFIG_NET_VENDOR_REALTEK=y
# CONFIG_ATP is not setCONFIG_8139CP=mCONFIG_8139TOO=y
# CONFIG_8139TOO_PIO is not set
# CONFIG_8139TOO_TUNE_TWISTER is not setCONFIG_8139TOO_8129=y
# CONFIG_8139_OLD_RX_RESET is not set
# CONFIG_R8169 is not setCONFIG_NET_VENDOR_RDC=y
# CONFIG_R6040 is not setCONFIG_NET_VENDOR_SEEQ=y
# CONFIG_SEEQ8005 is not setCONFIG_NET_VENDOR_SILAN=y
# CONFIG_SC92031 is not setCONFIG_NET_VENDOR_SIS=y
# CONFIG_SIS900 is not set
# CONFIG_SIS190 is not setCONFIG_SFC=mCONFIG_SFC_MCDI_MON=yCONFIG_SFC_SRIOV=yCONFIG_NET_VENDOR_SMSC=y
# CONFIG_PCMCIA_SMC91C92 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SMSC9420 is not setCONFIG_NET_VENDOR_STMICRO=y
# CONFIG_STMMAC_ETH is not setCONFIG_NET_VENDOR_SUN=y
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_CASSINI is not set
# CONFIG_NIU is not setCONFIG_NET_VENDOR_TEHUTI=y
# CONFIG_TEHUTI is not setCONFIG_NET_VENDOR_TI=y
# CONFIG_TLAN is not setCONFIG_NET_VENDOR_VIA=y
# CONFIG_VIA_RHINE is not set
# CONFIG_VIA_VELOCITY is not setCONFIG_NET_VENDOR_WIZNET=y
# CONFIG_WIZNET_W5100 is not set
# CONFIG_WIZNET_W5300 is not setCONFIG_NET_VENDOR_XIRCOM=y
# CONFIG_PCMCIA_XIRC2PS is not setCONFIG_FDDI=y
# CONFIG_DEFXX is not set
# CONFIG_SKFP is not set
# CONFIG_HIPPI is not set
# CONFIG_NET_SB1000 is not setCONFIG_PHYLIB=y
#
# MII PHY device drivers
#
# CONFIG_AT803X_PHY is not set
# CONFIG_AMD_PHY is not set
# CONFIG_MARVELL_PHY is not set
# CONFIG_DAVICOM_PHY is not set
# CONFIG_QSEMI_PHY is not set
# CONFIG_LXT_PHY is not set
# CONFIG_CICADA_PHY is not set
# CONFIG_VITESSE_PHY is not set
# CONFIG_SMSC_PHY is not set
# CONFIG_BROADCOM_PHY is not set
# CONFIG_BCM87XX_PHY is not set
# CONFIG_ICPLUS_PHY is not set
# CONFIG_REALTEK_PHY is not set
# CONFIG_NATIONAL_PHY is not set
# CONFIG_STE10XP is not set
# CONFIG_LSI_ET1011C_PHY is not set
# CONFIG_MICREL_PHY is not setCONFIG_FIXED_PHY=y
# CONFIG_MDIO_BITBANG is not set
# CONFIG_PLIP is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
#
# USB Network Adapters
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set
# CONFIG_USB_HSO is not set
# CONFIG_USB_IPHETH is not setCONFIG_WLAN=y
# CONFIG_PCMCIA_RAYCS is not set
# CONFIG_AIRO is not set
# CONFIG_ATMEL is not set
# CONFIG_AIRO_CS is not set
# CONFIG_PCMCIA_WL3501 is not set
# CONFIG_PRISM54 is not set
# CONFIG_USB_ZD1201 is not set
# CONFIG_HOSTAP is not set
# CONFIG_WL_TI is not set
#
# Enable WiMAX (Networking options) to see the WiMAX drivers #
# CONFIG_WAN is not set
# CONFIG_VMXNET3 is not setCONFIG_ISDN=y
# CONFIG_ISDN_I4L is not set
# CONFIG_ISDN_CAPI is not set
# CONFIG_ISDN_DRV_GIGASET is not set
# CONFIG_HYSDN is not set
# CONFIG_MISDN is not set
#
# Input device support
#CONFIG_INPUT=yCONFIG_INPUT_FF_MEMLESS=y
# CONFIG_INPUT_POLLDEV is not set
# CONFIG_INPUT_SPARSEKMAP is not set
# CONFIG_INPUT_MATRIXKMAP is not set
#
# Userland interfaces
#CONFIG_INPUT_MOUSEDEV=y
# CONFIG_INPUT_MOUSEDEV_PSAUX is not setCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not setCONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set
#
# Input Device Drivers
#CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ADP5588 is not set
# CONFIG_KEYBOARD_ADP5589 is not setCONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_QT1070 is not set
# CONFIG_KEYBOARD_QT2160 is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_GPIO is not set
# CONFIG_KEYBOARD_GPIO_POLLED is not set
# CONFIG_KEYBOARD_TCA6416 is not set
# CONFIG_KEYBOARD_TCA8418 is not set
# CONFIG_KEYBOARD_MATRIX is not set
# CONFIG_KEYBOARD_LM8323 is not set
# CONFIG_KEYBOARD_LM8333 is not set
# CONFIG_KEYBOARD_MAX7359 is not set
# CONFIG_KEYBOARD_MCS is not set
# CONFIG_KEYBOARD_MPR121 is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not setCONFIG_INPUT_MOUSE=yCONFIG_MOUSE_PS2=yCONFIG_MOUSE_PS2_ALPS=yCONFIG_MOUSE_PS2_LOGIPS2PP=yCONFIG_MOUSE_PS2_SYNAPTICS=yCONFIG_MOUSE_PS2_LIFEBOOK=yCONFIG_MOUSE_PS2_TRACKPOINT=yCONFIG_MOUSE_PS2_ELANTECH=yCONFIG_MOUSE_PS2_SENTELIC=y
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_APPLETOUCH is not set
# CONFIG_MOUSE_BCM5974 is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_MOUSE_GPIO is not set
# CONFIG_MOUSE_SYNAPTICS_I2C is not set
# CONFIG_MOUSE_SYNAPTICS_USB is not setCONFIG_INPUT_JOYSTICK=y
# CONFIG_JOYSTICK_ANALOG is not set
# CONFIG_JOYSTICK_A3D is not set
# CONFIG_JOYSTICK_ADI is not set
# CONFIG_JOYSTICK_COBRA is not set
# CONFIG_JOYSTICK_GF2K is not set
# CONFIG_JOYSTICK_GRIP is not set
# CONFIG_JOYSTICK_GRIP_MP is not set
# CONFIG_JOYSTICK_GUILLEMOT is not set
# CONFIG_JOYSTICK_INTERACT is not set
# CONFIG_JOYSTICK_SIDEWINDER is not set
# CONFIG_JOYSTICK_TMDC is not set
# CONFIG_JOYSTICK_IFORCE is not set
# CONFIG_JOYSTICK_WARRIOR is not set
# CONFIG_JOYSTICK_MAGELLAN is not set
# CONFIG_JOYSTICK_SPACEORB is not set
# CONFIG_JOYSTICK_SPACEBALL is not set
# CONFIG_JOYSTICK_STINGER is not set
# CONFIG_JOYSTICK_TWIDJOY is not set
# CONFIG_JOYSTICK_ZHENHUA is not set
# CONFIG_JOYSTICK_DB9 is not set
# CONFIG_JOYSTICK_GAMECON is not set
# CONFIG_JOYSTICK_TURBOGRAFX is not set
# CONFIG_JOYSTICK_AS5011 is not set
# CONFIG_JOYSTICK_JOYDUMP is not set
# CONFIG_JOYSTICK_XPAD is not set
# CONFIG_JOYSTICK_WALKERA0701 is not setCONFIG_INPUT_TABLET=y
# CONFIG_TABLET_USB_ACECAD is not set
# CONFIG_TABLET_USB_AIPTEK is not set
# CONFIG_TABLET_USB_GTCO is not set
# CONFIG_TABLET_USB_HANWANG is not set
# CONFIG_TABLET_USB_KBTAB is not set
# CONFIG_TABLET_USB_WACOM is not setCONFIG_INPUT_TOUCHSCREEN=y
# CONFIG_TOUCHSCREEN_AD7879 is not set
# CONFIG_TOUCHSCREEN_ATMEL_MXT is not set
# CONFIG_TOUCHSCREEN_AUO_PIXCIR is not set
# CONFIG_TOUCHSCREEN_BU21013 is not set
# CONFIG_TOUCHSCREEN_CY8CTMG110 is not set
# CONFIG_TOUCHSCREEN_CYTTSP_CORE is not set
# CONFIG_TOUCHSCREEN_DYNAPRO is not set
# CONFIG_TOUCHSCREEN_HAMPSHIRE is not set
# CONFIG_TOUCHSCREEN_EETI is not set
# CONFIG_TOUCHSCREEN_FUJITSU is not set
# CONFIG_TOUCHSCREEN_ILI210X is not set
# CONFIG_TOUCHSCREEN_GUNZE is not set
# CONFIG_TOUCHSCREEN_ELO is not set
# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set
# CONFIG_TOUCHSCREEN_WACOM_I2C is not set
# CONFIG_TOUCHSCREEN_MAX11801 is not set
# CONFIG_TOUCHSCREEN_MCS5000 is not set
# CONFIG_TOUCHSCREEN_MMS114 is not set
# CONFIG_TOUCHSCREEN_MTOUCH is not set
# CONFIG_TOUCHSCREEN_INEXIO is not set
# CONFIG_TOUCHSCREEN_MK712 is not set
# CONFIG_TOUCHSCREEN_PENMOUNT is not set
# CONFIG_TOUCHSCREEN_EDT_FT5X06 is not set
# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
# CONFIG_TOUCHSCREEN_PIXCIR is not set
# CONFIG_TOUCHSCREEN_WM97XX is not set
# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
# CONFIG_TOUCHSCREEN_TSC_SERIO is not set
# CONFIG_TOUCHSCREEN_TSC2007 is not set
# CONFIG_TOUCHSCREEN_ST1232 is not set
# CONFIG_TOUCHSCREEN_TPS6507X is not setCONFIG_INPUT_MISC=y
# CONFIG_INPUT_AD714X is not set
# CONFIG_INPUT_BMA150 is not set
# CONFIG_INPUT_PCSPKR is not set
# CONFIG_INPUT_MMA8450 is not set
# CONFIG_INPUT_MPU3050 is not set
# CONFIG_INPUT_APANEL is not set
# CONFIG_INPUT_GP2A is not set
# CONFIG_INPUT_GPIO_TILT_POLLED is not set
# CONFIG_INPUT_ATLAS_BTNS is not set
# CONFIG_INPUT_ATI_REMOTE2 is not set
# CONFIG_INPUT_KEYSPAN_REMOTE is not set
# CONFIG_INPUT_KXTJ9 is not set
# CONFIG_INPUT_POWERMATE is not set
# CONFIG_INPUT_YEALINK is not set
# CONFIG_INPUT_CM109 is not setCONFIG_INPUT_UINPUT=m
# CONFIG_INPUT_PCF8574 is not set
# CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set
# CONFIG_INPUT_ADXL34X is not set
# CONFIG_INPUT_CMA3000 is not set
#
# Hardware I/O ports
#CONFIG_SERIO=yCONFIG_SERIO_I8042=yCONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PCIPS2 is not setCONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_SERIO_ALTERA_PS2 is not set
# CONFIG_SERIO_PS2MULT is not set
# CONFIG_SERIO_ARC_PS2 is not set
# CONFIG_GAMEPORT is not set
#
# Character devices
#CONFIG_VT=yCONFIG_CONSOLE_TRANSLATIONS=yCONFIG_VT_CONSOLE=yCONFIG_VT_CONSOLE_SLEEP=yCONFIG_HW_CONSOLE=yCONFIG_VT_HW_CONSOLE_BINDING=yCONFIG_UNIX98_PTYS=yCONFIG_DEVPTS_MULTIPLE_INSTANCES=y
# CONFIG_LEGACY_PTYS is not setCONFIG_SERIAL_NONSTANDARD=y
# CONFIG_ROCKETPORT is not set
# CONFIG_CYCLADES is not set
# CONFIG_MOXA_INTELLIO is not set
# CONFIG_MOXA_SMARTIO is not set
# CONFIG_SYNCLINK is not set
# CONFIG_SYNCLINKMP is not set
# CONFIG_SYNCLINK_GT is not set
# CONFIG_NOZOMI is not set
# CONFIG_ISI is not set
# CONFIG_N_HDLC is not set
# CONFIG_N_GSM is not set
# CONFIG_TRACE_SINK is not set
# CONFIG_DEVKMEM is not set
# CONFIG_STALDRV is not set
#
# Serial drivers
#CONFIG_SERIAL_8250=yCONFIG_SERIAL_8250_PNP=yCONFIG_SERIAL_8250_CONSOLE=yCONFIG_FIX_EARLYCON_MEM=yCONFIG_SERIAL_8250_PCI=y
# CONFIG_SERIAL_8250_CS is not setCONFIG_SERIAL_8250_NR_UARTS=32CONFIG_SERIAL_8250_RUNTIME_UARTS=4CONFIG_SERIAL_8250_EXTENDED=yCONFIG_SERIAL_8250_MANY_PORTS=yCONFIG_SERIAL_8250_SHARE_IRQ=yCONFIG_SERIAL_8250_DETECT_IRQ=yCONFIG_SERIAL_8250_RSA=y
#
# Non-8250 serial port support
#
# CONFIG_SERIAL_KGDB_NMI is not set
# CONFIG_SERIAL_MFD_HSU is not setCONFIG_SERIAL_CORE=yCONFIG_SERIAL_CORE_CONSOLE=yCONFIG_CONSOLE_POLL=y
# CONFIG_SERIAL_JSM is not set
# CONFIG_SERIAL_SCCNXP is not set
# CONFIG_SERIAL_TIMBERDALE is not set
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
# CONFIG_SERIAL_ALTERA_UART is not set
# CONFIG_SERIAL_PCH_UART is not set
# CONFIG_SERIAL_ARC is not set
# CONFIG_TTY_PRINTK is not set
# CONFIG_PRINTER is not setCONFIG_PPDEV=m
# CONFIG_IPMI_HANDLER is not setCONFIG_HW_RANDOM=y
# CONFIG_HW_RANDOM_TIMERIOMEM is not set
# CONFIG_HW_RANDOM_INTEL is not set
# CONFIG_HW_RANDOM_AMD is not set
# CONFIG_HW_RANDOM_VIA is not setCONFIG_HW_RANDOM_TPM=yCONFIG_NVRAM=y
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
#
# PCMCIA character devices
#
# CONFIG_SYNCLINK_CS is not set
# CONFIG_CARDMAN_4000 is not set
# CONFIG_CARDMAN_4040 is not set
# CONFIG_IPWIRELESS is not set
# CONFIG_MWAVE is not setCONFIG_RAW_DRIVER=yCONFIG_MAX_RAW_DEVS=8192CONFIG_HPET=y
# CONFIG_HPET_MMAP is not set
# CONFIG_HANGCHECK_TIMER is not setCONFIG_TCG_TPM=yCONFIG_TCG_TIS=y
# CONFIG_TCG_TIS_I2C_INFINEON is not set
# CONFIG_TCG_NSC is not set
# CONFIG_TCG_ATMEL is not set
# CONFIG_TCG_INFINEON is not set
# CONFIG_TELCLOCK is not setCONFIG_DEVPORT=yCONFIG_I2C=mCONFIG_I2C_BOARDINFO=yCONFIG_I2C_COMPAT=y
# CONFIG_I2C_CHARDEV is not set
# CONFIG_I2C_MUX is not setCONFIG_I2C_HELPER_AUTO=yCONFIG_I2C_ALGOBIT=m
#
# I2C Hardware Bus support
#
#
# PC SMBus host controller drivers
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not setCONFIG_I2C_I801=m
# CONFIG_I2C_ISCH is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_VIA is not set
# CONFIG_I2C_VIAPRO is not set
#
# ACPI drivers
#
# CONFIG_I2C_SCMI is not set
#
# I2C system bus drivers (mostly embedded / system-on-chip) #
# CONFIG_I2C_CBUS_GPIO is not set
# CONFIG_I2C_DESIGNWARE_PCI is not set
# CONFIG_I2C_EG20T is not set
# CONFIG_I2C_GPIO is not set
# CONFIG_I2C_INTEL_MID is not set
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PCA_PLATFORM is not set
# CONFIG_I2C_PXA_PCI is not set
# CONFIG_I2C_SIMTEC is not set
# CONFIG_I2C_XILINX is not set
#
# External I2C/SMBus adapter drivers
#
# CONFIG_I2C_DIOLAN_U2C is not set
# CONFIG_I2C_PARPORT is not set
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_TAOS_EVM is not set
# CONFIG_I2C_TINY_USB is not set
#
# Other I2C/SMBus bus drivers
#
# CONFIG_I2C_STUB is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_SPI is not set
# CONFIG_HSI is not set
#
# PPS support
#CONFIG_PPS=m
# CONFIG_PPS_DEBUG is not set
#
# PPS clients support
#
# CONFIG_PPS_CLIENT_KTIMER is not set
# CONFIG_PPS_CLIENT_LDISC is not set
# CONFIG_PPS_CLIENT_PARPORT is not set
# CONFIG_PPS_CLIENT_GPIO is not set
#
# PPS generators support
#
#
# PTP clock support
#CONFIG_PTP_1588_CLOCK=m
#
# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks. #
# CONFIG_PTP_1588_CLOCK_PCH is not set CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=yCONFIG_GPIOLIB=yCONFIG_GPIO_ACPI=y
# CONFIG_DEBUG_GPIO is not set
# CONFIG_GPIO_SYSFS is not set
#
# Memory mapped GPIO drivers:
#
# CONFIG_GPIO_GENERIC_PLATFORM is not set
# CONFIG_GPIO_IT8761E is not set
# CONFIG_GPIO_TS5500 is not set
# CONFIG_GPIO_SCH is not set
# CONFIG_GPIO_ICH is not set
# CONFIG_GPIO_VX855 is not set
#
# I2C GPIO expanders:
#
# CONFIG_GPIO_MAX7300 is not set
# CONFIG_GPIO_MAX732X is not set
# CONFIG_GPIO_PCA953X is not set
# CONFIG_GPIO_PCF857X is not set
# CONFIG_GPIO_ADP5588 is not set
#
# PCI GPIO expanders:
#
# CONFIG_GPIO_BT8XX is not set
# CONFIG_GPIO_AMD8111 is not set
# CONFIG_GPIO_LANGWELL is not set
# CONFIG_GPIO_PCH is not set
# CONFIG_GPIO_ML_IOH is not set
# CONFIG_GPIO_RDC321X is not set
#
# SPI GPIO expanders:
#
# CONFIG_GPIO_MCP23S08 is not set
#
# AC97 GPIO expanders:
#
#
# MODULbus GPIO expanders:
#
#
# USB GPIO expanders:
#
# CONFIG_W1 is not setCONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
# CONFIG_PDA_POWER is not set
# CONFIG_TEST_POWER is not set
# CONFIG_BATTERY_DS2780 is not set
# CONFIG_BATTERY_DS2781 is not set
# CONFIG_BATTERY_DS2782 is not set
# CONFIG_BATTERY_SBS is not set
# CONFIG_BATTERY_BQ27x00 is not set
# CONFIG_BATTERY_MAX17040 is not set
# CONFIG_BATTERY_MAX17042 is not set
# CONFIG_CHARGER_MAX8903 is not set
# CONFIG_CHARGER_LP8727 is not set
# CONFIG_CHARGER_GPIO is not set
# CONFIG_CHARGER_MANAGER is not set
# CONFIG_CHARGER_BQ2415X is not set
# CONFIG_CHARGER_SMB347 is not set
# CONFIG_POWER_RESET is not set
# CONFIG_POWER_AVS is not setCONFIG_HWMON=y
# CONFIG_HWMON_VID is not set
# CONFIG_HWMON_DEBUG_CHIP is not set
#
# Native drivers
#
# CONFIG_SENSORS_ABITUGURU is not set
# CONFIG_SENSORS_ABITUGURU3 is not set
# CONFIG_SENSORS_AD7414 is not set
# CONFIG_SENSORS_AD7418 is not set
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_ADM1025 is not set
# CONFIG_SENSORS_ADM1026 is not set
# CONFIG_SENSORS_ADM1029 is not set
# CONFIG_SENSORS_ADM1031 is not set
# CONFIG_SENSORS_ADM9240 is not set
# CONFIG_SENSORS_ADT7410 is not set
# CONFIG_SENSORS_ADT7411 is not set
# CONFIG_SENSORS_ADT7462 is not set
# CONFIG_SENSORS_ADT7470 is not set
# CONFIG_SENSORS_ADT7475 is not set
# CONFIG_SENSORS_ASC7621 is not set
# CONFIG_SENSORS_K8TEMP is not set
# CONFIG_SENSORS_K10TEMP is not set
# CONFIG_SENSORS_FAM15H_POWER is not set
# CONFIG_SENSORS_ASB100 is not set
# CONFIG_SENSORS_ATXP1 is not set
# CONFIG_SENSORS_DS620 is not set
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_I5K_AMB is not set
# CONFIG_SENSORS_F71805F is not set
# CONFIG_SENSORS_F71882FG is not set
# CONFIG_SENSORS_F75375S is not set
# CONFIG_SENSORS_FSCHMD is not set
# CONFIG_SENSORS_G760A is not set
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_GL520SM is not set
# CONFIG_SENSORS_GPIO_FAN is not set
# CONFIG_SENSORS_HIH6130 is not set
# CONFIG_SENSORS_CORETEMP is not set
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_JC42 is not set
# CONFIG_SENSORS_LINEAGE is not set
# CONFIG_SENSORS_LM63 is not set
# CONFIG_SENSORS_LM73 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM77 is not set
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM80 is not set
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM87 is not set
# CONFIG_SENSORS_LM90 is not set
# CONFIG_SENSORS_LM92 is not set
# CONFIG_SENSORS_LM93 is not set
# CONFIG_SENSORS_LTC4151 is not set
# CONFIG_SENSORS_LTC4215 is not set
# CONFIG_SENSORS_LTC4245 is not set
# CONFIG_SENSORS_LTC4261 is not set
# CONFIG_SENSORS_LM95241 is not set
# CONFIG_SENSORS_LM95245 is not set
# CONFIG_SENSORS_MAX16065 is not set
# CONFIG_SENSORS_MAX1619 is not set
# CONFIG_SENSORS_MAX1668 is not set
# CONFIG_SENSORS_MAX197 is not set
# CONFIG_SENSORS_MAX6639 is not set
# CONFIG_SENSORS_MAX6642 is not set
# CONFIG_SENSORS_MAX6650 is not set
# CONFIG_SENSORS_MCP3021 is not set
# CONFIG_SENSORS_NTC_THERMISTOR is not set
# CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_PC87427 is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_PMBUS is not set
# CONFIG_SENSORS_SHT15 is not set
# CONFIG_SENSORS_SHT21 is not set
# CONFIG_SENSORS_SIS5595 is not set
# CONFIG_SENSORS_SMM665 is not set
# CONFIG_SENSORS_DME1737 is not set
# CONFIG_SENSORS_EMC1403 is not set
# CONFIG_SENSORS_EMC2103 is not set
# CONFIG_SENSORS_EMC6W201 is not set
# CONFIG_SENSORS_SMSC47M1 is not set
# CONFIG_SENSORS_SMSC47M192 is not set
# CONFIG_SENSORS_SMSC47B397 is not set
# CONFIG_SENSORS_SCH56XX_COMMON is not set
# CONFIG_SENSORS_SCH5627 is not set
# CONFIG_SENSORS_SCH5636 is not set
# CONFIG_SENSORS_ADS1015 is not set
# CONFIG_SENSORS_ADS7828 is not set
# CONFIG_SENSORS_AMC6821 is not set
# CONFIG_SENSORS_INA2XX is not set
# CONFIG_SENSORS_THMC50 is not set
# CONFIG_SENSORS_TMP102 is not set
# CONFIG_SENSORS_TMP401 is not set
# CONFIG_SENSORS_TMP421 is not set
# CONFIG_SENSORS_VIA_CPUTEMP is not set
# CONFIG_SENSORS_VIA686A is not set
# CONFIG_SENSORS_VT1211 is not set
# CONFIG_SENSORS_VT8231 is not set
# CONFIG_SENSORS_W83781D is not set
# CONFIG_SENSORS_W83791D is not set
# CONFIG_SENSORS_W83792D is not set
# CONFIG_SENSORS_W83793 is not set
# CONFIG_SENSORS_W83795 is not set
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83L786NG is not set
# CONFIG_SENSORS_W83627HF is not set
# CONFIG_SENSORS_W83627EHF is not set
# CONFIG_SENSORS_APPLESMC is not set
#
# ACPI drivers
#
# CONFIG_SENSORS_ACPI_POWER is not set
# CONFIG_SENSORS_ATK0110 is not set CONFIG_THERMAL=yCONFIG_THERMAL_HWMON=y CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
# CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set # CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set # CONFIG_FAIR_SHARE is not set CONFIG_STEP_WISE=y
# CONFIG_USER_SPACE is not set
# CONFIG_CPU_THERMAL is not set CONFIG_WATCHDOG=y
# CONFIG_WATCHDOG_CORE is not set
# CONFIG_WATCHDOG_NOWAYOUT is not set
#
# Watchdog Device Drivers
#
# CONFIG_SOFT_WATCHDOG is not set
# CONFIG_ACQUIRE_WDT is not set
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ALIM1535_WDT is not set
# CONFIG_ALIM7101_WDT is not set
# CONFIG_F71808E_WDT is not set
# CONFIG_SP5100_TCO is not set
# CONFIG_SC520_WDT is not set
# CONFIG_SBC_FITPC2_WATCHDOG is not set
# CONFIG_EUROTECH_WDT is not set
# CONFIG_IB700_WDT is not set
# CONFIG_IBMASR is not set
# CONFIG_WAFER_WDT is not set
# CONFIG_I6300ESB_WDT is not set
# CONFIG_IE6XX_WDT is not set
# CONFIG_ITCO_WDT is not set
# CONFIG_IT8712F_WDT is not set
# CONFIG_IT87_WDT is not set
# CONFIG_HP_WATCHDOG is not set
# CONFIG_SC1200_WDT is not set
# CONFIG_PC87413_WDT is not set
# CONFIG_NV_TCO is not set
# CONFIG_60XX_WDT is not set
# CONFIG_SBC8360_WDT is not set
# CONFIG_CPU5_WDT is not set
# CONFIG_SMSC_SCH311X_WDT is not set
# CONFIG_SMSC37B787_WDT is not set
# CONFIG_VIA_WDT is not set
# CONFIG_W83627HF_WDT is not set
# CONFIG_W83697HF_WDT is not set
# CONFIG_W83697UG_WDT is not set
# CONFIG_W83877F_WDT is not set
# CONFIG_W83977F_WDT is not set
# CONFIG_MACHZ_WDT is not set
# CONFIG_SBC_EPX_C3_WATCHDOG is not set
#
# PCI-based Watchdog Cards
#
# CONFIG_PCIPCWATCHDOG is not set
# CONFIG_WDTPCI is not set
#
# USB-based Watchdog Cards
#
# CONFIG_USBPCWATCHDOG is not setCONFIG_SSB_POSSIBLE=y
#
# Sonics Silicon Backplane
#
# CONFIG_SSB is not setCONFIG_BCMA_POSSIBLE=y
#
# Broadcom specific AMBA
#
# CONFIG_BCMA is not set
#
# Multifunction device drivers
#
# CONFIG_MFD_CORE is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_MFD_RTSX_PCI is not set
# CONFIG_MFD_TI_AM335X_TSCADC is not set
# CONFIG_HTC_PASIC3 is not set
# CONFIG_UCB1400_CORE is not set
# CONFIG_MFD_LM3533 is not set
# CONFIG_TPS6105X is not set
# CONFIG_TPS65010 is not set
# CONFIG_TPS6507X is not set
# CONFIG_MFD_TPS65217 is not set
# CONFIG_MFD_TMIO is not set
# CONFIG_MFD_ARIZONA_I2C is not set
# CONFIG_MFD_PCF50633 is not set
# CONFIG_MFD_MC13XXX_I2C is not set
# CONFIG_ABX500_CORE is not set
# CONFIG_MFD_CS5535 is not set
# CONFIG_MFD_TIMBERDALE is not set
# CONFIG_LPC_SCH is not set
# CONFIG_LPC_ICH is not set
# CONFIG_MFD_RDC321X is not set
# CONFIG_MFD_JANZ_CMODIO is not set
# CONFIG_MFD_VX855 is not set
# CONFIG_MFD_WL1273_CORE is not set
# CONFIG_MFD_VIPERBOARD is not set
# CONFIG_MFD_RETU is not setCONFIG_REGULATOR=y
# CONFIG_REGULATOR_DEBUG is not set
# CONFIG_REGULATOR_DUMMY is not set
# CONFIG_REGULATOR_FIXED_VOLTAGE is not set
# CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set
# CONFIG_REGULATOR_USERSPACE_CONSUMER is not set
# CONFIG_REGULATOR_GPIO is not set
# CONFIG_REGULATOR_AD5398 is not set
# CONFIG_REGULATOR_FAN53555 is not set
# CONFIG_REGULATOR_ISL6271A is not set
# CONFIG_REGULATOR_MAX1586 is not set
# CONFIG_REGULATOR_MAX8649 is not set
# CONFIG_REGULATOR_MAX8660 is not set
# CONFIG_REGULATOR_MAX8952 is not set
# CONFIG_REGULATOR_MAX8973 is not set
# CONFIG_REGULATOR_LP3971 is not set
# CONFIG_REGULATOR_LP3972 is not set
# CONFIG_REGULATOR_TPS51632 is not set
# CONFIG_REGULATOR_TPS62360 is not set
# CONFIG_REGULATOR_TPS65023 is not set
# CONFIG_REGULATOR_TPS6507X is not setCONFIG_MEDIA_SUPPORT=m
#
# Multimedia core support
#
# CONFIG_MEDIA_CAMERA_SUPPORT is not set
# CONFIG_MEDIA_ANALOG_TV_SUPPORT is not set
# CONFIG_MEDIA_DIGITAL_TV_SUPPORT is not set
# CONFIG_MEDIA_RADIO_SUPPORT is not set
# CONFIG_MEDIA_RC_SUPPORT is not set
# CONFIG_VIDEO_ADV_DEBUG is not set
# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
#
# Media drivers
#
# CONFIG_MEDIA_USB_SUPPORT is not set
# CONFIG_MEDIA_PCI_SUPPORT is not set
#
# Supported MMC/SDIO adapters
#
#
# Media ancillary drivers (tuners, sensors, i2c, frontends) #
#
# Customise DVB Frontends
#CONFIG_DVB_TUNER_DIB0070=mCONFIG_DVB_TUNER_DIB0090=m
#
# Tools to develop new frontends
#
# CONFIG_DVB_DUMMY_FE is not set
#
# Graphics support
#CONFIG_AGP=yCONFIG_AGP_AMD64=yCONFIG_AGP_INTEL=yCONFIG_AGP_SIS=yCONFIG_AGP_VIA=yCONFIG_VGA_ARB=yCONFIG_VGA_ARB_MAX_GPUS=16
# CONFIG_VGA_SWITCHEROO is not setCONFIG_DRM=mCONFIG_DRM_KMS_HELPER=m
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not setCONFIG_DRM_TTM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not setCONFIG_DRM_RADEON=mCONFIG_DRM_RADEON_KMS=yCONFIG_DRM_NOUVEAU=mCONFIG_NOUVEAU_DEBUG=5CONFIG_NOUVEAU_DEBUG_DEFAULT=3CONFIG_DRM_NOUVEAU_BACKLIGHT=y
#
# I2C encoder or helper chips
#
# CONFIG_DRM_I2C_CH7006 is not setCONFIG_DRM_I2C_SIL164=mCONFIG_DRM_I915=mCONFIG_DRM_I915_KMS=y
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_DRM_VMWGFX is not set
# CONFIG_DRM_GMA500 is not set
# CONFIG_DRM_UDL is not set
# CONFIG_DRM_AST is not set
# CONFIG_DRM_MGAG200 is not set
# CONFIG_DRM_CIRRUS_QEMU is not set
# CONFIG_STUB_POULSBO is not setCONFIG_VGASTATE=mCONFIG_VIDEO_OUTPUT_CONTROL=mCONFIG_FB=y
# CONFIG_FIRMWARE_EDID is not setCONFIG_FB_DDC=mCONFIG_FB_BOOT_VESA_SUPPORT=yCONFIG_FB_CFB_FILLRECT=yCONFIG_FB_CFB_COPYAREA=yCONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
# CONFIG_FB_FOREIGN_ENDIAN is not set
# CONFIG_FB_SYS_FOPS is not set
# CONFIG_FB_WMT_GE_ROPS is not set
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not setCONFIG_FB_BACKLIGHT=yCONFIG_FB_MODE_HELPERS=yCONFIG_FB_TILEBLITTING=y
#
# Frame buffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_UVESA is not setCONFIG_FB_VESA=yCONFIG_FB_EFI=y
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_S1D13XXX is not setCONFIG_FB_NVIDIA=mCONFIG_FB_NVIDIA_I2C=y
# CONFIG_FB_NVIDIA_DEBUG is not setCONFIG_FB_NVIDIA_BACKLIGHT=yCONFIG_FB_RIVA=m
# CONFIG_FB_RIVA_I2C is not set
# CONFIG_FB_RIVA_DEBUG is not setCONFIG_FB_RIVA_BACKLIGHT=y
# CONFIG_FB_I740 is not set
# CONFIG_FB_LE80578 is not set
# CONFIG_FB_INTEL is not setCONFIG_FB_MATROX=mCONFIG_FB_MATROX_MILLENIUM=yCONFIG_FB_MATROX_MYSTIQUE=yCONFIG_FB_MATROX_G=yCONFIG_FB_MATROX_I2C=m
# CONFIG_FB_MATROX_MAVEN is not setCONFIG_FB_RADEON=mCONFIG_FB_RADEON_I2C=yCONFIG_FB_RADEON_BACKLIGHT=y
# CONFIG_FB_RADEON_DEBUG is not setCONFIG_FB_ATY128=mCONFIG_FB_ATY128_BACKLIGHT=yCONFIG_FB_ATY=mCONFIG_FB_ATY_CT=yCONFIG_FB_ATY_GENERIC_LCD=yCONFIG_FB_ATY_GX=yCONFIG_FB_ATY_BACKLIGHT=y
# CONFIG_FB_S3 is not setCONFIG_FB_SAVAGE=mCONFIG_FB_SAVAGE_I2C=yCONFIG_FB_SAVAGE_ACCEL=y
# CONFIG_FB_SIS is not setCONFIG_FB_VIA=m
# CONFIG_FB_VIA_DIRECT_PROCFS is not set
# CONFIG_FB_VIA_X_COMPATIBILITY is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not setCONFIG_FB_3DFX=mCONFIG_FB_3DFX_ACCEL=yCONFIG_FB_3DFX_I2C=y
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_GEODE is not set
# CONFIG_FB_SMSCUFX is not set
# CONFIG_FB_UDL is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_BROADSHEET is not set
# CONFIG_FB_AUO_K190X is not set
# CONFIG_EXYNOS_VIDEO is not setCONFIG_BACKLIGHT_LCD_SUPPORT=y
# CONFIG_LCD_CLASS_DEVICE is not setCONFIG_BACKLIGHT_CLASS_DEVICE=y
# CONFIG_BACKLIGHT_GENERIC is not set
# CONFIG_BACKLIGHT_APPLE is not set
# CONFIG_BACKLIGHT_SAHARA is not set
# CONFIG_BACKLIGHT_ADP8860 is not set
# CONFIG_BACKLIGHT_ADP8870 is not set
# CONFIG_BACKLIGHT_LM3630 is not set
# CONFIG_BACKLIGHT_LM3639 is not set
# CONFIG_BACKLIGHT_LP855X is not set
#
# Console display driver support
#CONFIG_VGA_CONSOLE=yCONFIG_VGACON_SOFT_SCROLLBACK=yCONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64CONFIG_DUMMY_CONSOLE=yCONFIG_FRAMEBUFFER_CONSOLE=yCONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=yCONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=yCONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not setCONFIG_LOGO_LINUX_CLUT224=yCONFIG_SOUND=mCONFIG_SOUND_OSS_CORE=yCONFIG_SOUND_OSS_CORE_PRECLAIM=yCONFIG_SND=mCONFIG_SND_TIMER=mCONFIG_SND_PCM=mCONFIG_SND_HWDEP=mCONFIG_SND_RAWMIDI=mCONFIG_SND_JACK=yCONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not setCONFIG_SND_OSSEMUL=y
# CONFIG_SND_MIXER_OSS is not setCONFIG_SND_PCM_OSS=mCONFIG_SND_PCM_OSS_PLUGINS=yCONFIG_SND_SEQUENCER_OSS=yCONFIG_SND_HRTIMER=mCONFIG_SND_SEQ_HRTIMER_DEFAULT=yCONFIG_SND_DYNAMIC_MINORS=y
# CONFIG_SND_SUPPORT_OLD_API is not setCONFIG_SND_VERBOSE_PROCFS=yCONFIG_SND_VERBOSE_PRINTK=yCONFIG_SND_DEBUG=y
# CONFIG_SND_DEBUG_VERBOSE is not setCONFIG_SND_PCM_XRUN_DEBUG=yCONFIG_SND_VMASTER=yCONFIG_SND_KCTL_JACK=yCONFIG_SND_DMA_SGBUF=yCONFIG_SND_RAWMIDI_SEQ=mCONFIG_SND_OPL3_LIB_SEQ=m
# CONFIG_SND_OPL4_LIB_SEQ is not set
# CONFIG_SND_SBAWE_SEQ is not setCONFIG_SND_EMU10K1_SEQ=mCONFIG_SND_MPU401_UART=mCONFIG_SND_OPL3_LIB=mCONFIG_SND_VX_LIB=mCONFIG_SND_AC97_CODEC=mCONFIG_SND_DRIVERS=yCONFIG_SND_PCSP=mCONFIG_SND_DUMMY=m
# CONFIG_SND_ALOOP is not setCONFIG_SND_VIRMIDI=m
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_MTS64 is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
# CONFIG_SND_PORTMAN2X4 is not setCONFIG_SND_AC97_POWER_SAVE=yCONFIG_SND_AC97_POWER_SAVE_DEFAULT=0CONFIG_SND_SB_COMMON=mCONFIG_SND_SB16_DSP=mCONFIG_SND_PCI=yCONFIG_SND_AD1889=mCONFIG_SND_ALS300=mCONFIG_SND_ALS4000=mCONFIG_SND_ALI5451=m
# CONFIG_SND_ASIHPI is not setCONFIG_SND_ATIIXP=mCONFIG_SND_ATIIXP_MODEM=mCONFIG_SND_AU8810=mCONFIG_SND_AU8820=mCONFIG_SND_AU8830=m
# CONFIG_SND_AW2 is not setCONFIG_SND_AZT3328=mCONFIG_SND_BT87X=m
# CONFIG_SND_BT87X_OVERCLOCK is not setCONFIG_SND_CA0106=mCONFIG_SND_CMIPCI=mCONFIG_SND_OXYGEN_LIB=mCONFIG_SND_OXYGEN=mCONFIG_SND_CS4281=mCONFIG_SND_CS46XX=mCONFIG_SND_CS46XX_NEW_DSP=yCONFIG_SND_CS5530=mCONFIG_SND_CS5535AUDIO=mCONFIG_SND_CTXFI=mCONFIG_SND_DARLA20=mCONFIG_SND_GINA20=mCONFIG_SND_LAYLA20=mCONFIG_SND_DARLA24=mCONFIG_SND_GINA24=mCONFIG_SND_LAYLA24=mCONFIG_SND_MONA=mCONFIG_SND_MIA=mCONFIG_SND_ECHO3G=mCONFIG_SND_INDIGO=mCONFIG_SND_INDIGOIO=mCONFIG_SND_INDIGODJ=mCONFIG_SND_INDIGOIOX=mCONFIG_SND_INDIGODJX=mCONFIG_SND_EMU10K1=mCONFIG_SND_EMU10K1X=mCONFIG_SND_ENS1370=mCONFIG_SND_ENS1371=mCONFIG_SND_ES1938=mCONFIG_SND_ES1968=m
# CONFIG_SND_ES1968_INPUT is not setCONFIG_SND_FM801=mCONFIG_SND_HDA_INTEL=mCONFIG_SND_HDA_PREALLOC_SIZE=64CONFIG_SND_HDA_HWDEP=yCONFIG_SND_HDA_RECONFIG=yCONFIG_SND_HDA_INPUT_BEEP=yCONFIG_SND_HDA_INPUT_BEEP_MODE=0CONFIG_SND_HDA_INPUT_JACK=yCONFIG_SND_HDA_PATCH_LOADER=yCONFIG_SND_HDA_CODEC_REALTEK=yCONFIG_SND_HDA_CODEC_ANALOG=yCONFIG_SND_HDA_CODEC_SIGMATEL=yCONFIG_SND_HDA_CODEC_VIA=yCONFIG_SND_HDA_CODEC_HDMI=yCONFIG_SND_HDA_CODEC_CIRRUS=yCONFIG_SND_HDA_CODEC_CONEXANT=yCONFIG_SND_HDA_CODEC_CA0110=yCONFIG_SND_HDA_CODEC_CA0132=yCONFIG_SND_HDA_CODEC_CMEDIA=yCONFIG_SND_HDA_CODEC_SI3054=yCONFIG_SND_HDA_GENERIC=yCONFIG_SND_HDA_POWER_SAVE_DEFAULT=0CONFIG_SND_HDSP=mCONFIG_SND_HDSPM=mCONFIG_SND_ICE1712=mCONFIG_SND_ICE1724=mCONFIG_SND_INTEL8X0=mCONFIG_SND_INTEL8X0M=mCONFIG_SND_KORG1212=m
# CONFIG_SND_LOLA is not setCONFIG_SND_LX6464ES=mCONFIG_SND_MAESTRO3=m
# CONFIG_SND_MAESTRO3_INPUT is not setCONFIG_SND_MIXART=mCONFIG_SND_NM256=mCONFIG_SND_PCXHR=mCONFIG_SND_RIPTIDE=mCONFIG_SND_RME32=mCONFIG_SND_RME96=mCONFIG_SND_RME9652=mCONFIG_SND_SONICVIBES=mCONFIG_SND_TRIDENT=mCONFIG_SND_VIA82XX=mCONFIG_SND_VIA82XX_MODEM=mCONFIG_SND_VIRTUOSO=mCONFIG_SND_VX222=mCONFIG_SND_YMFPCI=mCONFIG_SND_USB=yCONFIG_SND_USB_AUDIO=m
# CONFIG_SND_USB_UA101 is not setCONFIG_SND_USB_USX2Y=mCONFIG_SND_USB_CAIAQ=mCONFIG_SND_USB_CAIAQ_INPUT=yCONFIG_SND_USB_US122L=m
# CONFIG_SND_USB_6FIRE is not setCONFIG_SND_FIREWIRE=y
# CONFIG_SND_FIREWIRE_SPEAKERS is not set
# CONFIG_SND_ISIGHT is not set
# CONFIG_SND_SCS1X is not setCONFIG_SND_PCMCIA=yCONFIG_SND_VXPOCKET=mCONFIG_SND_PDAUDIOCF=m
# CONFIG_SND_SOC is not set
# CONFIG_SOUND_PRIME is not setCONFIG_AC97_BUS=m
#
# HID support
#CONFIG_HID=y
# CONFIG_HID_BATTERY_STRENGTH is not setCONFIG_HIDRAW=y
# CONFIG_UHID is not setCONFIG_HID_GENERIC=y
#
# Special HID drivers
#
# CONFIG_HID_A4TECH is not set
# CONFIG_HID_ACRUX is not set
# CONFIG_HID_APPLE is not set
# CONFIG_HID_AUREAL is not set
# CONFIG_HID_BELKIN is not set
# CONFIG_HID_CHERRY is not set
# CONFIG_HID_CHICONY is not set
# CONFIG_HID_PRODIKEYS is not set
# CONFIG_HID_CYPRESS is not setCONFIG_HID_DRAGONRISE=yCONFIG_DRAGONRISE_FF=y
# CONFIG_HID_EMS_FF is not set
# CONFIG_HID_EZKEY is not set
# CONFIG_HID_HOLTEK is not set
# CONFIG_HID_KEYTOUCH is not set
# CONFIG_HID_KYE is not set
# CONFIG_HID_UCLOGIC is not set
# CONFIG_HID_WALTOP is not setCONFIG_HID_GYRATION=yCONFIG_HID_TWINHAN=y
# CONFIG_HID_KENSINGTON is not set
# CONFIG_HID_LCPOWER is not set
# CONFIG_HID_LENOVO_TPKBD is not set
# CONFIG_HID_LOGITECH is not set
# CONFIG_HID_MICROSOFT is not set
# CONFIG_HID_MONTEREY is not set
# CONFIG_HID_MULTITOUCH is not setCONFIG_HID_NTRIG=y
# CONFIG_HID_ORTEK is not setCONFIG_HID_PANTHERLORD=yCONFIG_PANTHERLORD_FF=yCONFIG_HID_PETALYNX=y
# CONFIG_HID_PICOLCD is not set
# CONFIG_HID_PRIMAX is not set
# CONFIG_HID_ROCCAT is not set
# CONFIG_HID_SAITEK is not setCONFIG_HID_SAMSUNG=yCONFIG_HID_SONY=y
# CONFIG_HID_SPEEDLINK is not setCONFIG_HID_SUNPLUS=yCONFIG_HID_GREENASIA=yCONFIG_GREENASIA_FF=yCONFIG_HID_SMARTJOYPLUS=yCONFIG_SMARTJOYPLUS_FF=y
# CONFIG_HID_TIVO is not setCONFIG_HID_TOPSEED=yCONFIG_HID_THRUSTMASTER=yCONFIG_THRUSTMASTER_FF=yCONFIG_HID_ZEROPLUS=yCONFIG_ZEROPLUS_FF=y
# CONFIG_HID_ZYDACRON is not set
# CONFIG_HID_SENSOR_HUB is not set
#
# USB HID support
#CONFIG_USB_HID=yCONFIG_HID_PID=yCONFIG_USB_HIDDEV=y
#
# I2C HID support
#
# CONFIG_I2C_HID is not setCONFIG_USB_ARCH_HAS_OHCI=yCONFIG_USB_ARCH_HAS_EHCI=yCONFIG_USB_ARCH_HAS_XHCI=yCONFIG_USB_SUPPORT=yCONFIG_USB_COMMON=yCONFIG_USB_ARCH_HAS_HCD=yCONFIG_USB=y
# CONFIG_USB_DEBUG is not setCONFIG_USB_ANNOUNCE_NEW_DEVICES=y
#
# Miscellaneous USB options
#
# CONFIG_USB_DYNAMIC_MINORS is not setCONFIG_USB_SUSPEND=y
# CONFIG_USB_OTG is not set
# CONFIG_USB_OTG_WHITELIST is not set
# CONFIG_USB_OTG_BLACKLIST_HUB is not setCONFIG_USB_MON=y
# CONFIG_USB_WUSB_CBAF is not set
#
# USB Host Controller Drivers
#
# CONFIG_USB_C67X00_HCD is not set
# CONFIG_USB_XHCI_HCD is not setCONFIG_USB_EHCI_HCD=yCONFIG_USB_EHCI_ROOT_HUB_TT=yCONFIG_USB_EHCI_TT_NEWSCHED=yCONFIG_USB_EHCI_PCI=y
# CONFIG_USB_OXU210HP_HCD is not set
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_ISP1760_HCD is not set
# CONFIG_USB_ISP1362_HCD is not setCONFIG_USB_OHCI_HCD=y
# CONFIG_USB_OHCI_HCD_PLATFORM is not set
# CONFIG_USB_EHCI_HCD_PLATFORM is not set
# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not setCONFIG_USB_OHCI_LITTLE_ENDIAN=yCONFIG_USB_UHCI_HCD=y
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set
# CONFIG_USB_CHIPIDEA is not set
#
# USB Device Class drivers
#
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set
# CONFIG_USB_WDM is not set
# CONFIG_USB_TMC is not set
#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may #
#
# also be needed; see USB_STORAGE Help for more info # # CONFIG_USB_STORAGE is not set
#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
#
# USB port drivers
#
# CONFIG_USB_USS720 is not set
# CONFIG_USB_SERIAL is not set
#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_ADUTUX is not set
# CONFIG_USB_SEVSEG is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_FTDI_ELAN is not setCONFIG_USB_APPLEDISPLAY=m
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_IOWARRIOR is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_ISIGHTFW is not set
# CONFIG_USB_YUREX is not set
# CONFIG_USB_EZUSB_FX2 is not set
#
# USB Physical Layer drivers
#
# CONFIG_USB_ISP1301 is not set
# CONFIG_USB_RCAR_PHY is not set
# CONFIG_USB_GADGET is not set
#
# OTG and related infrastructure
#
# CONFIG_USB_GPIO_VBUS is not set
# CONFIG_NOP_USB_XCEIV is not set
# CONFIG_UWB is not set
# CONFIG_MMC is not set
# CONFIG_MEMSTICK is not setCONFIG_NEW_LEDS=yCONFIG_LEDS_CLASS=y
#
# LED drivers
#
# CONFIG_LEDS_LM3530 is not set
# CONFIG_LEDS_LM3642 is not set
# CONFIG_LEDS_PCA9532 is not set
# CONFIG_LEDS_GPIO is not set
# CONFIG_LEDS_LP3944 is not set
# CONFIG_LEDS_LP5521 is not set
# CONFIG_LEDS_LP5523 is not set
# CONFIG_LEDS_CLEVO_MAIL is not set
# CONFIG_LEDS_PCA955X is not set
# CONFIG_LEDS_PCA9633 is not set
# CONFIG_LEDS_REGULATOR is not set
# CONFIG_LEDS_BD2802 is not set
# CONFIG_LEDS_INTEL_SS4200 is not set
# CONFIG_LEDS_LT3593 is not set
# CONFIG_LEDS_DELL_NETBOOKS is not set
# CONFIG_LEDS_TCA6507 is not set
# CONFIG_LEDS_LM355x is not set
# CONFIG_LEDS_OT200 is not set
# CONFIG_LEDS_BLINKM is not setCONFIG_LEDS_TRIGGERS=y
#
# LED Triggers
#
# CONFIG_LEDS_TRIGGER_TIMER is not set
# CONFIG_LEDS_TRIGGER_ONESHOT is not set
# CONFIG_LEDS_TRIGGER_HEARTBEAT is not set
# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
# CONFIG_LEDS_TRIGGER_CPU is not set
# CONFIG_LEDS_TRIGGER_GPIO is not set
# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set
#
# iptables trigger is under Netfilter config (LED target) # # CONFIG_LEDS_TRIGGER_TRANSIENT is not set CONFIG_ACCESSIBILITY=y CONFIG_A11Y_BRAILLE_CONSOLE=y # CONFIG_INFINIBAND is not set CONFIG_EDAC=y CONFIG_EDAC_LEGACY_SYSFS=y # CONFIG_EDAC_DEBUG is not set # CONFIG_EDAC_DECODE_MCE is not set # CONFIG_EDAC_MM_EDAC is not set CONFIG_RTC_LIB=y CONFIG_RTC_CLASS=y CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS_DEVICE="rtc0" # CONFIG_RTC_DEBUG is not set
#
# RTC interfaces
#CONFIG_RTC_INTF_SYSFS=yCONFIG_RTC_INTF_PROC=yCONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
# CONFIG_RTC_DRV_TEST is not set
#
# I2C RTC drivers
#
# CONFIG_RTC_DRV_DS1307 is not set
# CONFIG_RTC_DRV_DS1374 is not set
# CONFIG_RTC_DRV_DS1672 is not set
# CONFIG_RTC_DRV_DS3232 is not set
# CONFIG_RTC_DRV_MAX6900 is not set
# CONFIG_RTC_DRV_RS5C372 is not set
# CONFIG_RTC_DRV_ISL1208 is not set
# CONFIG_RTC_DRV_ISL12022 is not set
# CONFIG_RTC_DRV_X1205 is not set
# CONFIG_RTC_DRV_PCF8523 is not set
# CONFIG_RTC_DRV_PCF8563 is not set
# CONFIG_RTC_DRV_PCF8583 is not set
# CONFIG_RTC_DRV_M41T80 is not set
# CONFIG_RTC_DRV_BQ32K is not set
# CONFIG_RTC_DRV_S35390A is not set
# CONFIG_RTC_DRV_FM3130 is not set
# CONFIG_RTC_DRV_RX8581 is not set
# CONFIG_RTC_DRV_RX8025 is not set
# CONFIG_RTC_DRV_EM3027 is not set
# CONFIG_RTC_DRV_RV3029C2 is not set
#
# SPI RTC drivers
#
#
# Platform RTC drivers
#CONFIG_RTC_DRV_CMOS=y
# CONFIG_RTC_DRV_DS1286 is not set
# CONFIG_RTC_DRV_DS1511 is not set
# CONFIG_RTC_DRV_DS1553 is not set
# CONFIG_RTC_DRV_DS1742 is not set
# CONFIG_RTC_DRV_STK17TA8 is not set
# CONFIG_RTC_DRV_M48T86 is not set
# CONFIG_RTC_DRV_M48T35 is not set
# CONFIG_RTC_DRV_M48T59 is not set
# CONFIG_RTC_DRV_MSM6242 is not set
# CONFIG_RTC_DRV_BQ4802 is not set
# CONFIG_RTC_DRV_RP5C01 is not set
# CONFIG_RTC_DRV_V3020 is not set
# CONFIG_RTC_DRV_DS2404 is not set
#
# on-CPU RTC drivers
#CONFIG_DMADEVICES=y
# CONFIG_DMADEVICES_DEBUG is not set
#
# DMA Devices
#
# CONFIG_INTEL_MID_DMAC is not set
# CONFIG_INTEL_IOATDMA is not set
# CONFIG_TIMB_DMA is not set
# CONFIG_PCH_DMA is not setCONFIG_AUXDISPLAY=y
# CONFIG_KS0108 is not setCONFIG_UIO=m
# CONFIG_UIO_CIF is not set
# CONFIG_UIO_PDRV is not set
# CONFIG_UIO_PDRV_GENIRQ is not set
# CONFIG_UIO_DMEM_GENIRQ is not set
# CONFIG_UIO_AEC is not set
# CONFIG_UIO_SERCOS3 is not set
# CONFIG_UIO_PCI_GENERIC is not set
# CONFIG_UIO_NETX is not set
# CONFIG_VFIO is not set
#
# Virtio drivers
#
# CONFIG_VIRTIO_PCI is not set
# CONFIG_VIRTIO_MMIO is not set
#
# Microsoft Hyper-V guest support
#
# CONFIG_HYPERV is not setCONFIG_STAGING=y
# CONFIG_ET131X is not set
# CONFIG_SLICOSS is not set
# CONFIG_USBIP_CORE is not set
# CONFIG_ECHO is not set
# CONFIG_COMEDI is not set
# CONFIG_ASUS_OLED is not set
# CONFIG_PANEL is not set
# CONFIG_R8187SE is not set
# CONFIG_RTL8192U is not set
# CONFIG_RTLLIB is not set
# CONFIG_R8712U is not set
# CONFIG_RTS5139 is not set
# CONFIG_TRANZPORT is not set
# CONFIG_IDE_PHISON is not set
# CONFIG_LINE6_USB is not set
# CONFIG_VT6655 is not set
# CONFIG_VT6656 is not set
# CONFIG_DX_SEP is not set
# CONFIG_ZSMALLOC is not set
# CONFIG_WLAGS49_H2 is not set
# CONFIG_WLAGS49_H25 is not set
# CONFIG_FB_SM7XX is not set
# CONFIG_CRYSTALHD is not set
# CONFIG_FB_XGI is not set
# CONFIG_ACPI_QUICKSTART is not set
# CONFIG_USB_ENESTORAGE is not set
# CONFIG_BCM_WIMAX is not set
# CONFIG_FT1000 is not set
#
# Speakup console speech
#
# CONFIG_SPEAKUP is not set
# CONFIG_TOUCHSCREEN_CLEARPAD_TM1217 is not set # CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4 is not set # CONFIG_STAGING_MEDIA is not set
#
# Android
#
# CONFIG_ANDROID is not set
# CONFIG_USB_WPAN_HCD is not set
# CONFIG_WIMAX_GDM72XX is not setCONFIG_NET_VENDOR_SILICOM=y
# CONFIG_SBYPASS is not set
# CONFIG_BPCTL is not set
# CONFIG_CED1401 is not set
# CONFIG_DGRP is not set
# CONFIG_SB105X is not set
# CONFIG_FIREWIRE_SERIAL is not setCONFIG_X86_PLATFORM_DEVICES=y
# CONFIG_ACER_WMI is not set
# CONFIG_ACERHDF is not set
# CONFIG_ASUS_LAPTOP is not set
# CONFIG_DELL_WMI is not set
# CONFIG_DELL_WMI_AIO is not set
# CONFIG_FUJITSU_LAPTOP is not set
# CONFIG_FUJITSU_TABLET is not set
# CONFIG_AMILO_RFKILL is not set
# CONFIG_HP_ACCEL is not set
# CONFIG_HP_WMI is not set
# CONFIG_MSI_LAPTOP is not set
# CONFIG_PANASONIC_LAPTOP is not set
# CONFIG_COMPAL_LAPTOP is not set
# CONFIG_SONY_LAPTOP is not set
# CONFIG_IDEAPAD_LAPTOP is not setCONFIG_THINKPAD_ACPI=mCONFIG_THINKPAD_ACPI_ALSA_SUPPORT=y
# CONFIG_THINKPAD_ACPI_DEBUGFACILITIES is not set
# CONFIG_THINKPAD_ACPI_DEBUG is not set
# CONFIG_THINKPAD_ACPI_UNSAFE_LEDS is not setCONFIG_THINKPAD_ACPI_VIDEO=yCONFIG_THINKPAD_ACPI_HOTKEY_POLL=y
# CONFIG_SENSORS_HDAPS is not set
# CONFIG_INTEL_MENLOW is not set
# CONFIG_EEEPC_LAPTOP is not set
# CONFIG_ASUS_WMI is not setCONFIG_ACPI_WMI=m
# CONFIG_MSI_WMI is not set
# CONFIG_TOPSTAR_LAPTOP is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_TOSHIBA_BT_RFKILL is not set
# CONFIG_ACPI_CMPC is not set
# CONFIG_INTEL_IPS is not set
# CONFIG_IBM_RTL is not set
# CONFIG_XO15_EBOOK is not set
# CONFIG_SAMSUNG_LAPTOP is not setCONFIG_MXM_WMI=m
# CONFIG_INTEL_OAKTRAIL is not set
# CONFIG_SAMSUNG_Q10 is not set
# CONFIG_APPLE_GMUX is not set
#
# Hardware Spinlock drivers
#CONFIG_CLKEVT_I8253=yCONFIG_I8253_LOCK=yCONFIG_CLKBLD_I8253=yCONFIG_IOMMU_API=yCONFIG_IOMMU_SUPPORT=yCONFIG_AMD_IOMMU=yCONFIG_AMD_IOMMU_STATS=y
# CONFIG_AMD_IOMMU_V2 is not set
# CONFIG_INTEL_IOMMU is not set
# CONFIG_IRQ_REMAP is not set
#
# Remoteproc drivers (EXPERIMENTAL)
#
# CONFIG_STE_MODEM_RPROC is not set
#
# Rpmsg drivers (EXPERIMENTAL)
#
# CONFIG_VIRT_DRIVERS is not set
# CONFIG_PM_DEVFREQ is not set
# CONFIG_EXTCON is not set
# CONFIG_MEMORY is not set
# CONFIG_IIO is not set
# CONFIG_VME_BUS is not set
# CONFIG_PWM is not set
# CONFIG_IPACK_BUS is not set
#
# Firmware Drivers
#
# CONFIG_EDD is not setCONFIG_FIRMWARE_MEMMAP=yCONFIG_EFI_VARS=y
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not setCONFIG_DMIID=y
# CONFIG_DMI_SYSFS is not setCONFIG_ISCSI_IBFT_FIND=y
# CONFIG_ISCSI_IBFT is not set
# CONFIG_GOOGLE_FIRMWARE is not set
#
# File systems
#CONFIG_DCACHE_WORD_ACCESS=y
# CONFIG_EXT2_FS is not setCONFIG_EXT3_FS=yCONFIG_EXT3_DEFAULTS_TO_ORDERED=yCONFIG_EXT3_FS_XATTR=yCONFIG_EXT3_FS_POSIX_ACL=yCONFIG_EXT3_FS_SECURITY=yCONFIG_EXT4_FS=yCONFIG_EXT4_USE_FOR_EXT23=yCONFIG_EXT4_FS_POSIX_ACL=yCONFIG_EXT4_FS_SECURITY=y
# CONFIG_EXT4_DEBUG is not setCONFIG_JBD=y
# CONFIG_JBD_DEBUG is not setCONFIG_JBD2=y
# CONFIG_JBD2_DEBUG is not setCONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_GFS2_FS is not set
# CONFIG_BTRFS_FS is not set
# CONFIG_NILFS2_FS is not setCONFIG_FS_POSIX_ACL=yCONFIG_EXPORTFS=mCONFIG_FILE_LOCKING=yCONFIG_FSNOTIFY=yCONFIG_DNOTIFY=yCONFIG_INOTIFY_USER=y
# CONFIG_FANOTIFY is not setCONFIG_QUOTA=yCONFIG_QUOTA_NETLINK_INTERFACE=y
# CONFIG_PRINT_QUOTA_WARNING is not set
# CONFIG_QUOTA_DEBUG is not setCONFIG_QUOTA_TREE=y
# CONFIG_QFMT_V1 is not setCONFIG_QFMT_V2=yCONFIG_QUOTACTL=yCONFIG_QUOTACTL_COMPAT=y
# CONFIG_AUTOFS4_FS is not set
# CONFIG_FUSE_FS is not setCONFIG_GENERIC_ACL=y
#
# Caches
#
# CONFIG_FSCACHE is not set
#
# CD-ROM/DVD Filesystems
#CONFIG_ISO9660_FS=yCONFIG_JOLIET=yCONFIG_ZISOFS=y
# CONFIG_UDF_FS is not set
#
# DOS/FAT/NT Filesystems
#
# CONFIG_MSDOS_FS is not set
# CONFIG_VFAT_FS is not set
# CONFIG_NTFS_FS is not set
#
# Pseudo filesystems
#CONFIG_PROC_FS=yCONFIG_PROC_KCORE=yCONFIG_PROC_VMCORE=yCONFIG_PROC_SYSCTL=y CONFIG_PROC_PAGE_MONITOR=yCONFIG_SYSFS=yCONFIG_TMPFS=yCONFIG_TMPFS_POSIX_ACL=yCONFIG_TMPFS_XATTR=yCONFIG_HUGETLBFS=yCONFIG_HUGETLB_PAGE=y
# CONFIG_CONFIGFS_FS is not set CONFIG_MISC_FILESYSTEMS=y
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_ECRYPT_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_LOGFS is not set
# CONFIG_CRAMFS is not set
# CONFIG_SQUASHFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_OMFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX6FS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_PSTORE is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
# CONFIG_F2FS_FS is not set CONFIG_NETWORK_FILESYSTEMS=yCONFIG_NFS_FS=mCONFIG_NFS_V2=mCONFIG_NFS_V3=mCONFIG_NFS_V3_ACL=yCONFIG_NFS_V4=m
# CONFIG_NFS_SWAP is not set CONFIG_NFS_V4_1=yCONFIG_PNFS_FILE_LAYOUT=mCONFIG_PNFS_BLOCK=m CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="kernel.org" # CONFIG_NFS_USE_LEGACY_DNS is not set CONFIG_NFS_USE_KERNEL_DNS=yCONFIG_NFSD=mCONFIG_NFSD_V2_ACL=yCONFIG_NFSD_V3=yCONFIG_NFSD_V3_ACL=yCONFIG_NFSD_V4=y
# CONFIG_NFSD_FAULT_INJECTION is not set CONFIG_LOCKD=mCONFIG_LOCKD_V4=yCONFIG_NFS_ACL_SUPPORT=mCONFIG_NFS_COMMON=yCONFIG_SUNRPC=mCONFIG_SUNRPC_GSS=m CONFIG_SUNRPC_BACKCHANNEL=y
# CONFIG_SUNRPC_DEBUG is not set
# CONFIG_CEPH_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not setCONFIG_NLS=yCONFIG_NLS_DEFAULT="utf8" CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set CONFIG_NLS_ASCII=y
# CONFIG_NLS_ISO8859_1 is not set
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_MAC_ROMAN is not set
# CONFIG_NLS_MAC_CELTIC is not set
# CONFIG_NLS_MAC_CENTEURO is not set
# CONFIG_NLS_MAC_CROATIAN is not set
# CONFIG_NLS_MAC_CYRILLIC is not set
# CONFIG_NLS_MAC_GAELIC is not set
# CONFIG_NLS_MAC_GREEK is not set
# CONFIG_NLS_MAC_ICELAND is not set
# CONFIG_NLS_MAC_INUIT is not set
# CONFIG_NLS_MAC_ROMANIAN is not set
# CONFIG_NLS_MAC_TURKISH is not set
# CONFIG_NLS_UTF8 is not set
#
# Kernel hacking
#CONFIG_TRACE_IRQFLAGS_SUPPORT=yCONFIG_PRINTK_TIME=yCONFIG_DEFAULT_MESSAGE_LOGLEVEL=4
# CONFIG_ENABLE_WARN_DEPRECATED is not setCONFIG_ENABLE_MUST_CHECK=yCONFIG_FRAME_WARN=2048CONFIG_MAGIC_SYSRQ=yCONFIG_STRIP_ASM_SYMS=y
# CONFIG_READABLE_ASM is not setCONFIG_UNUSED_SYMBOLS=yCONFIG_DEBUG_FS=yCONFIG_HEADERS_CHECK=y
# CONFIG_DEBUG_SECTION_MISMATCH is not setCONFIG_DEBUG_KERNEL=yCONFIG_DEBUG_SHIRQ=yCONFIG_LOCKUP_DETECTOR=yCONFIG_HARDLOCKUP_DETECTOR=y
# CONFIG_BOOTPARAM_HARDLOCKUP_PANIC is not setCONFIG_BOOTPARAM_HARDLOCKUP_PANIC_VALUE=0
# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not setCONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
# CONFIG_PANIC_ON_OOPS is not setCONFIG_PANIC_ON_OOPS_VALUE=0CONFIG_DETECT_HUNG_TASK=yCONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120
# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not setCONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0CONFIG_SCHED_DEBUG=yCONFIG_SCHEDSTATS=yCONFIG_TIMER_STATS=y
# CONFIG_DEBUG_OBJECTS is not set
# CONFIG_DEBUG_SLAB is not setCONFIG_HAVE_DEBUG_KMEMLEAK=y
# CONFIG_DEBUG_KMEMLEAK is not setCONFIG_DEBUG_PREEMPT=y
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not setCONFIG_DEBUG_SPINLOCK=yCONFIG_DEBUG_MUTEXES=y
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_PROVE_RCU_DELAY is not set
# CONFIG_SPARSE_RCU_POINTER is not set
# CONFIG_LOCK_STAT is not setCONFIG_TRACE_IRQFLAGS=y
# CONFIG_DEBUG_ATOMIC_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not setCONFIG_STACKTRACE=y
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_KOBJECT is not setCONFIG_DEBUG_BUGVERBOSE=yCONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_INFO_REDUCED is not set
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_VIRTUAL is not set
# CONFIG_DEBUG_WRITECOUNT is not set
# CONFIG_DEBUG_MEMORY_INIT is not setCONFIG_DEBUG_LIST=y
# CONFIG_TEST_LIST_SORT is not set
# CONFIG_DEBUG_SG is not set
# CONFIG_DEBUG_NOTIFIERS is not set
# CONFIG_DEBUG_CREDENTIALS is not setCONFIG_ARCH_WANT_FRAME_POINTERS=yCONFIG_FRAME_POINTER=yCONFIG_BOOT_PRINTK_DELAY=y
# CONFIG_RCU_TORTURE_TEST is not setCONFIG_RCU_CPU_STALL_TIMEOUT=60CONFIG_RCU_CPU_STALL_VERBOSE=y
# CONFIG_RCU_CPU_STALL_INFO is not set
# CONFIG_RCU_TRACE is not set
# CONFIG_KPROBES_SANITY_TEST is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
# CONFIG_DEBUG_PER_CPU_MAPS is not set
# CONFIG_LKDTM is not set
# CONFIG_NOTIFIER_ERROR_INJECTION is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_LATENCYTOP is not set
# CONFIG_DEBUG_PAGEALLOC is not setCONFIG_USER_STACKTRACE_SUPPORT=yCONFIG_NOP_TRACER=yCONFIG_HAVE_FUNCTION_TRACER=yCONFIG_HAVE_FUNCTION_GRAPH_TRACER=yCONFIG_HAVE_FUNCTION_GRAPH_FP_TEST=yCONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=yCONFIG_HAVE_DYNAMIC_FTRACE=yCONFIG_HAVE_FTRACE_MCOUNT_RECORD=yCONFIG_HAVE_SYSCALL_TRACEPOINTS=yCONFIG_HAVE_FENTRY=yCONFIG_HAVE_C_RECORDMCOUNT=yCONFIG_TRACER_MAX_TRACE=yCONFIG_TRACE_CLOCK=yCONFIG_RING_BUFFER=yCONFIG_EVENT_TRACING=yCONFIG_EVENT_POWER_TRACING_DEPRECATED=yCONFIG_CONTEXT_SWITCH_TRACER=yCONFIG_RING_BUFFER_ALLOW_SWAP=yCONFIG_TRACING=yCONFIG_GENERIC_TRACER=yCONFIG_TRACING_SUPPORT=yCONFIG_FTRACE=yCONFIG_FUNCTION_TRACER=yCONFIG_FUNCTION_GRAPH_TRACER=yCONFIG_IRQSOFF_TRACER=yCONFIG_PREEMPT_TRACER=yCONFIG_SCHED_TRACER=yCONFIG_FTRACE_SYSCALLS=yCONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
# CONFIG_PROFILE_ALL_BRANCHES is not setCONFIG_STACK_TRACER=yCONFIG_BLK_DEV_IO_TRACE=yCONFIG_KPROBE_EVENT=yCONFIG_UPROBE_EVENT=yCONFIG_PROBE_EVENTS=yCONFIG_DYNAMIC_FTRACE=yCONFIG_FUNCTION_PROFILER=yCONFIG_FTRACE_MCOUNT_RECORD=yCONFIG_FTRACE_SELFTEST=yCONFIG_FTRACE_STARTUP_TEST=y
# CONFIG_EVENT_TRACE_TEST_SYSCALLS is not set
# CONFIG_MMIOTRACE is not setCONFIG_RING_BUFFER_BENCHMARK=m
# CONFIG_RBTREE_TEST is not set
# CONFIG_INTERVAL_TREE_TEST is not setCONFIG_PROVIDE_OHCI1394_DMA_INIT=y
# CONFIG_FIREWIRE_OHCI_REMOTE_DMA is not setCONFIG_BUILD_DOCSRC=yCONFIG_DYNAMIC_DEBUG=y
# CONFIG_DMA_API_DEBUG is not set
# CONFIG_ATOMIC64_SELFTEST is not set
# CONFIG_SAMPLES is not setCONFIG_HAVE_ARCH_KGDB=yCONFIG_KGDB=yCONFIG_KGDB_SERIAL_CONSOLE=yCONFIG_KGDB_TESTS=y
# CONFIG_KGDB_TESTS_ON_BOOT is not set
# CONFIG_KGDB_LOW_LEVEL_TRAP is not set
# CONFIG_KGDB_KDB is not setCONFIG_HAVE_ARCH_KMEMCHECK=y
# CONFIG_TEST_KSTRTOX is not setCONFIG_STRICT_DEVMEM=y
# CONFIG_X86_VERBOSE_BOOTUP is not setCONFIG_EARLY_PRINTK=yCONFIG_EARLY_PRINTK_DBGP=yCONFIG_DEBUG_STACKOVERFLOW=y
# CONFIG_X86_PTDUMP is not setCONFIG_DEBUG_RODATA=yCONFIG_DEBUG_RODATA_TEST=y
# CONFIG_DEBUG_SET_MODULE_RONX is not set
# CONFIG_DEBUG_NX_TEST is not set
# CONFIG_DEBUG_TLBFLUSH is not set
# CONFIG_IOMMU_DEBUG is not set
# CONFIG_IOMMU_STRESS is not setCONFIG_HAVE_MMIOTRACE_SUPPORT=yCONFIG_X86_DECODER_SELFTEST=yCONFIG_IO_DELAY_TYPE_0X80=0CONFIG_IO_DELAY_TYPE_0XED=1CONFIG_IO_DELAY_TYPE_UDELAY=2CONFIG_IO_DELAY_TYPE_NONE=3CONFIG_IO_DELAY_0X80=y
# CONFIG_IO_DELAY_0XED is not set
# CONFIG_IO_DELAY_UDELAY is not set
# CONFIG_IO_DELAY_NONE is not setCONFIG_DEFAULT_IO_DELAY_TYPE=0CONFIG_DEBUG_BOOT_PARAMS=y
# CONFIG_CPA_DEBUG is not setCONFIG_OPTIMIZE_INLINING=y
# CONFIG_DEBUG_STRICT_USER_COPY_CHECKS is not set
# CONFIG_DEBUG_NMI_SELFTEST is not set
#
# Security options
#CONFIG_KEYS=y
# CONFIG_TRUSTED_KEYS is not set
# CONFIG_ENCRYPTED_KEYS is not set CONFIG_KEYS_DEBUG_PROC_KEYS=y
# CONFIG_SECURITY_DMESG_RESTRICT is not set CONFIG_SECURITY=yCONFIG_SECURITYFS=yCONFIG_SECURITY_NETWORK=y
# CONFIG_SECURITY_PATH is not set CONFIG_LSM_MMAP_MIN_ADDR=65536 CONFIG_SECURITY_SELINUX=y CONFIG_SECURITY_SELINUX_BOOTPARAM=y CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=1 CONFIG_SECURITY_SELINUX_DISABLE=y CONFIG_SECURITY_SELINUX_DEVELOP=y CONFIG_SECURITY_SELINUX_AVC_STATS=y CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=1
# CONFIG_SECURITY_SELINUX_POLICYDB_VERSION_MAX is not set # CONFIG_SECURITY_SMACK is not set
# CONFIG_SECURITY_TOMOYO is not set
# CONFIG_SECURITY_APPARMOR is not set
# CONFIG_SECURITY_YAMA is not set CONFIG_INTEGRITY=y
# CONFIG_INTEGRITY_SIGNATURE is not set CONFIG_IMA=yCONFIG_IMA_MEASURE_PCR_IDX=10CONFIG_IMA_AUDIT=yCONFIG_IMA_LSM_RULES=y
# CONFIG_IMA_APPRAISE is not set
# CONFIG_EVM is not set CONFIG_DEFAULT_SECURITY_SELINUX=y
# CONFIG_DEFAULT_SECURITY_DAC is not set CONFIG_DEFAULT_SECURITY="selinux" CONFIG_CRYPTO=y
#
# Crypto core or helper
#CONFIG_CRYPTO_ALGAPI=yCONFIG_CRYPTO_ALGAPI2=yCONFIG_CRYPTO_AEAD2=yCONFIG_CRYPTO_BLKCIPHER=yCONFIG_CRYPTO_BLKCIPHER2=yCONFIG_CRYPTO_HASH=yCONFIG_CRYPTO_HASH2=yCONFIG_CRYPTO_RNG2=yCONFIG_CRYPTO_PCOMP2=yCONFIG_CRYPTO_MANAGER=yCONFIG_CRYPTO_MANAGER2=y
# CONFIG_CRYPTO_USER is not setCONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y
# CONFIG_CRYPTO_GF128MUL is not set
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_PCRYPT is not setCONFIG_CRYPTO_WORKQUEUE=yCONFIG_CRYPTO_CRYPTD=y
# CONFIG_CRYPTO_AUTHENC is not set
# CONFIG_CRYPTO_TEST is not set
#
# Authenticated Encryption with Associated Data
#
# CONFIG_CRYPTO_CCM is not set
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_SEQIV is not set
#
# Block modes
#CONFIG_CRYPTO_CBC=m
# CONFIG_CRYPTO_CTR is not set
# CONFIG_CRYPTO_CTS is not set
# CONFIG_CRYPTO_ECB is not set
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_PCBC is not set
# CONFIG_CRYPTO_XTS is not set
#
# Hash modes
#CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_VMAC is not set
#
# Digest
#CONFIG_CRYPTO_CRC32C=y
# CONFIG_CRYPTO_CRC32C_INTEL is not set
# CONFIG_CRYPTO_GHASH is not set
# CONFIG_CRYPTO_MD4 is not setCONFIG_CRYPTO_MD5=y
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_RMD128 is not set
# CONFIG_CRYPTO_RMD160 is not set
# CONFIG_CRYPTO_RMD256 is not set
# CONFIG_CRYPTO_RMD320 is not setCONFIG_CRYPTO_SHA1=y
# CONFIG_CRYPTO_SHA1_SSSE3 is not set
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_WP512 is not setCONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL=y
#
# Ciphers
#CONFIG_CRYPTO_AES=y
# CONFIG_CRYPTO_AES_X86_64 is not set
# CONFIG_CRYPTO_AES_NI_INTEL is not set
# CONFIG_CRYPTO_ANUBIS is not set
# CONFIG_CRYPTO_ARC4 is not set
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_BLOWFISH_X86_64 is not set
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_CAMELLIA_X86_64 is not set
# CONFIG_CRYPTO_CAMELLIA_AESNI_AVX_X86_64 is not set # CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST5_AVX_X86_64 is not set # CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_CAST6_AVX_X86_64 is not set CONFIG_CRYPTO_DES=m
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SALSA20_X86_64 is not set
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_SERPENT_SSE2_X86_64 is not set # CONFIG_CRYPTO_SERPENT_AVX_X86_64 is not set # CONFIG_CRYPTO_TEA is not set
# CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_TWOFISH_X86_64 is not set
# CONFIG_CRYPTO_TWOFISH_X86_64_3WAY is not set # CONFIG_CRYPTO_TWOFISH_AVX_X86_64 is not set
#
# Compression
#
# CONFIG_CRYPTO_DEFLATE is not set
# CONFIG_CRYPTO_ZLIB is not set
# CONFIG_CRYPTO_LZO is not set
#
# Random Number Generation
#
# CONFIG_CRYPTO_ANSI_CPRNG is not set
# CONFIG_CRYPTO_USER_API_HASH is not set
# CONFIG_CRYPTO_USER_API_SKCIPHER is not setCONFIG_CRYPTO_HW=y
# CONFIG_CRYPTO_DEV_PADLOCK is not set
# CONFIG_ASYMMETRIC_KEY_TYPE is not setCONFIG_HAVE_KVM=yCONFIG_HAVE_KVM_IRQCHIP=yCONFIG_HAVE_KVM_EVENTFD=yCONFIG_KVM_APIC_ARCHITECTURE=yCONFIG_KVM_MMIO=yCONFIG_KVM_ASYNC_PF=yCONFIG_HAVE_KVM_MSI=yCONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=yCONFIG_VIRTUALIZATION=yCONFIG_KVM=mCONFIG_KVM_INTEL=m
# CONFIG_KVM_AMD is not set
# CONFIG_KVM_MMU_AUDIT is not set
# CONFIG_VHOST_NET is not setCONFIG_BINARY_PRINTF=y
#
# Library routines
#CONFIG_BITREVERSE=yCONFIG_GENERIC_STRNCPY_FROM_USER=yCONFIG_GENERIC_STRNLEN_USER=yCONFIG_GENERIC_FIND_FIRST_BIT=yCONFIG_GENERIC_PCI_IOMAP=yCONFIG_GENERIC_IOMAP=yCONFIG_GENERIC_IO=yCONFIG_PERCPU_RWSEM=y
# CONFIG_CRC_CCITT is not setCONFIG_CRC16=yCONFIG_CRC_T10DIF=yCONFIG_CRC_ITU_T=mCONFIG_CRC32=y
# CONFIG_CRC32_SELFTEST is not setCONFIG_CRC32_SLICEBY8=y
# CONFIG_CRC32_SLICEBY4 is not set
# CONFIG_CRC32_SARWATE is not set
# CONFIG_CRC32_BIT is not set
# CONFIG_CRC7 is not set
# CONFIG_LIBCRC32C is not set
# CONFIG_CRC8 is not setCONFIG_ZLIB_INFLATE=yCONFIG_LZO_COMPRESS=yCONFIG_LZO_DECOMPRESS=yCONFIG_XZ_DEC=yCONFIG_XZ_DEC_X86=yCONFIG_XZ_DEC_POWERPC=yCONFIG_XZ_DEC_IA64=yCONFIG_XZ_DEC_ARM=yCONFIG_XZ_DEC_ARMTHUMB=yCONFIG_XZ_DEC_SPARC=yCONFIG_XZ_DEC_BCJ=y
# CONFIG_XZ_DEC_TEST is not setCONFIG_DECOMPRESS_GZIP=yCONFIG_DECOMPRESS_BZIP2=yCONFIG_DECOMPRESS_LZMA=yCONFIG_DECOMPRESS_XZ=yCONFIG_DECOMPRESS_LZO=yCONFIG_HAS_IOMEM=yCONFIG_HAS_IOPORT=yCONFIG_HAS_DMA=yCONFIG_CHECK_SIGNATURE=yCONFIG_CPU_RMAP=yCONFIG_DQL=yCONFIG_NLATTR=yCONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y
# CONFIG_AVERAGE is not set
# CONFIG_CORDIC is not set
# CONFIG_DDR is not set
2013/1/29 Steven Rostedt <[email protected]>:
Quoted 6 lines · Frederic Weisbecker
Quoted 5 lines
2013/1/29 Steven Rostedt <[email protected]>:
Quoted 4 lines · Frederic Weisbecker
Quoted 2 lines
Please send me your kernelspin so I can test as well.
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
I can't reproduce your issue. I'm getting almost the same results with vtime + force context tracking and tick based cputime.
Can you try my config.
Ok now with your config I can reproduce. Without context tracking force (fallback to tick) I get a ratio of 1 / 8, with context tracking force (vtime) I get 2 / 7.
I have set some cputime tracepoint and looked at the stacktrace. They are sorted by weight, which is the amount of cputime accounted. I can't find anything wrong on these. See attachment.
# ========
# captured on: Tue Jan 29 15:37:00 2013
# hostname : phenom
# os release : 3.8.0-rc4+
# perf version : 3.8.rc5.g6a61671
# arch : x86_64
# nrcpus online : 4
# nrcpus avail : 4
# cpudesc : AMD Phenom(tm) 9600 Quad-Core Processor
# cpuid : AuthenticAMD,16,2,2
# total memory : 3412972 kB
# cmdline : /home/fweisbec/linux-2.6-tip/tools/perf/perf record -m 1024 -g -e cputime:* /home/fweisbec/kernelspin 10
# event : name = cputime:account_system, type = 2, config = 0xfc, config1 = 0x0, config2 = 0x0, excl_usr = 0, excl_kern = 0, excl_host = 0, excl_guest = 1, precise_ip = 0, id = { 5, 6, 7, 8 }
# event : name = cputime:account_user, type = 2, config = 0xfd, config1 = 0x0, config2 = 0x0, excl_usr = 0, excl_kern = 0, excl_host = 0, excl_guest = 1, precise_ip = 0, id = { 9, 10, 11, 12 }
# HEADER_CPU_TOPOLOGY info available, use -I to display
# HEADER_NUMA_TOPOLOGY info available, use -I to display
# pmu mappings: cpu = 4, software = 1, tracepoint = 2, ibs_fetch = 6, ibs_op = 7, breakpoint = 5
# ========
#
# Samples: 1M of event 'cputime:account_system'
# Event count (approx.): 4075440452
#
# Overhead Command Shared Object Symbol
# ........ .......... ................. .............................
#
100.00% kernelspin [kernel.kallsyms] [k] perf_trace_account_system
|
--- perf_trace_account_system
account_system_time
__vtime_account_system
|
|--96.57%-- vtime_user_enter
| user_enter
| |
| |--99.99%-- syscall_trace_leave
| | int_check_syscall_exit_work
| | |
| | |--99.99%-- brk
| | | |
| | | --100.00%-- __libc_start_main
| | --0.01%-- [...]
| --0.01%-- [...]
|
|--2.83%-- vtime_account_irq_exit
| |
| |--59.92%-- __do_softirq
| | call_softirq
| | do_softirq
| | irq_exit
| | |
| | |--82.63%-- do_IRQ
| | | common_interrupt
| | | |
| | | |--33.63%-- syscall_trace_leave
| | | | int_check_syscall_exit_work
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--32.47%-- syscall_trace_enter
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--5.86%-- brk
| | | | |
| | | | --100.00%-- __libc_start_main
| | | |
| | | |--5.14%-- do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--3.55%-- sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--2.97%-- perf_event_mmap
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--2.28%-- do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--2.05%-- trace_preempt_on
| | | | sub_preempt_count
| | | | |
| | | | |--76.79%-- perf_event_mmap
| | | | | do_brk
| | | | | sys_brk
| | | | | tracesys
| | | | | brk
| | | | | __libc_start_main
| | | | |
| | | | |--18.17%-- __percpu_counter_add
| | | | | __vm_enough_memory
| | | | | selinux_vm_enough_memory
| | | | | security_vm_enough_memory_mm
| | | | | do_brk
| | | | | sys_brk
| | | | | tracesys
| | | | | brk
| | | | | __libc_start_main
| | | | |
| | | | --5.04%-- lru_add_drain
| | | | unmap_region
| | | | do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--2.04%-- sub_preempt_count
| | | | |
| | | | |--61.80%-- perf_event_mmap
| | | | | do_brk
| | | | | sys_brk
| | | | | tracesys
| | | | | brk
| | | | | __libc_start_main
| | | | |
| | | | |--19.20%-- __percpu_counter_add
| | | | | do_munmap
| | | | | sys_brk
| | | | | tracesys
| | | | | brk
| | | | | __libc_start_main
| | | | |
| | | | --19.00%-- lru_add_drain
| | | | unmap_region
| | | | do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--1.74%-- add_preempt_count
| | | | |
| | | | |--49.17%-- __percpu_counter_add
| | | | | |
| | | | | |--52.53%-- do_munmap
| | | | | | sys_brk
| | | | | | tracesys
| | | | | | brk
| | | | | | __libc_start_main
| | | | | |
| | | | | --47.47%-- __vm_enough_memory
| | | | | selinux_vm_enough_memory
| | | | | security_vm_enough_memory_mm
| | | | | do_brk
| | | | | sys_brk
| | | | | tracesys
| | | | | brk
| | | | | __libc_start_main
| | | | |
| | | | |--41.01%-- perf_event_mmap
| | | | | do_brk
| | | | | sys_brk
| | | | | tracesys
| | | | | brk
| | | | | __libc_start_main
| | | | |
| | | | --9.82%-- lru_add_drain
| | | | unmap_region
| | | | do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--1.54%-- unmap_vmas
| | | | unmap_region
| | | | do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--1.11%-- tlb_gather_mmu
| | | | unmap_region
| | | | do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--0.78%-- main
| | | | __libc_start_main
| | | |
| | | |--0.72%-- free_pgtables
| | | | unmap_region
| | | | do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--0.67%-- int_check_syscall_exit_work
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--0.63%-- __rb_insert_augmented
| | | | __vma_link_rb
| | | | vma_link
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | --2.84%-- [...]
| | |
| | --17.37%-- smp_apic_timer_interrupt
| | apic_timer_interrupt
| | |
| | |--36.61%-- syscall_trace_leave
| | | int_check_syscall_exit_work
| | | brk
| | | __libc_start_main
| | |
| | |--31.23%-- syscall_trace_enter
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--5.35%-- brk
| | | |
| | | --100.00%-- __libc_start_main
| | |
| | |--5.18%-- do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--3.61%-- perf_event_mmap
| | | do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--2.23%-- sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--1.46%-- sub_preempt_count
| | | |
| | | |--85.10%-- perf_event_mmap
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--7.84%-- lru_add_drain
| | | | unmap_region
| | | | do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | --7.06%-- __percpu_counter_add
| | | |
| | | |--57.15%-- do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | --42.85%-- __vm_enough_memory
| | | selinux_vm_enough_memory
| | | security_vm_enough_memory_mm
| | | do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--1.39%-- do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--1.19%-- add_preempt_count
| | | |
| | | |--78.86%-- perf_event_mmap
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--15.03%-- __percpu_counter_add
| | | | |
| | | | |--59.56%-- __vm_enough_memory
| | | | | selinux_vm_enough_memory
| | | | | security_vm_enough_memory_mm
| | | | | do_brk
| | | | | sys_brk
| | | | | tracesys
| | | | | brk
| | | | | __libc_start_main
| | | | |
| | | | --40.44%-- do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | --6.11%-- lru_add_drain
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.96%-- trace_preempt_on
| | | sub_preempt_count
| | | |
| | | |--73.30%-- perf_event_mmap
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--17.71%-- __percpu_counter_add
| | | | |
| | | | |--65.21%-- __vm_enough_memory
| | | | | selinux_vm_enough_memory
| | | | | security_vm_enough_memory_mm
| | | | | do_brk
| | | | | sys_brk
| | | | | tracesys
| | | | | brk
| | | | | __libc_start_main
| | | | |
| | | | --34.79%-- do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | --8.99%-- lru_add_drain
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.94%-- __vma_link_rb
| | | vma_link
| | | do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.91%-- remove_vma
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.89%-- tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.83%-- unmap_vmas
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.68%-- lru_add_drain
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.68%-- free_pgtables
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.64%-- unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.60%-- __rb_insert_augmented
| | | __vma_link_rb
| | | vma_link
| | | do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.59%-- main
| | | __libc_start_main
| | |
| | |--0.57%-- int_check_syscall_exit_work
| | | brk
| | | __libc_start_main
| | --3.46%-- [...]
| |
| --40.08%-- irq_exit
| |
| |--75.83%-- smp_apic_timer_interrupt
| | apic_timer_interrupt
| | |
| | |--35.59%-- syscall_trace_leave
| | | int_check_syscall_exit_work
| | | brk
| | | __libc_start_main
| | |
| | |--30.69%-- syscall_trace_enter
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--5.42%-- brk
| | | |
| | | --100.00%-- __libc_start_main
| | |
| | |--5.02%-- do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--3.68%-- perf_event_mmap
| | | do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--2.19%-- sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--1.40%-- do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--1.39%-- sub_preempt_count
| | | |
| | | |--84.61%-- perf_event_mmap
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--7.96%-- __percpu_counter_add
| | | | |
| | | | |--58.64%-- do_munmap
| | | | | sys_brk
| | | | | tracesys
| | | | | brk
| | | | | __libc_start_main
| | | | |
| | | | --41.36%-- __vm_enough_memory
| | | | selinux_vm_enough_memory
| | | | security_vm_enough_memory_mm
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | --7.44%-- lru_add_drain
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--1.23%-- add_preempt_count
| | | |
| | | |--78.91%-- perf_event_mmap
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--14.93%-- __percpu_counter_add
| | | | |
| | | | |--59.34%-- __vm_enough_memory
| | | | | selinux_vm_enough_memory
| | | | | security_vm_enough_memory_mm
| | | | | do_brk
| | | | | sys_brk
| | | | | tracesys
| | | | | brk
| | | | | __libc_start_main
| | | | |
| | | | --40.66%-- do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | --6.16%-- lru_add_drain
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.98%-- __vma_link_rb
| | | vma_link
| | | do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.97%-- trace_preempt_on
| | | sub_preempt_count
| | | |
| | | |--72.31%-- perf_event_mmap
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--18.23%-- __percpu_counter_add
| | | | |
| | | | |--61.36%-- __vm_enough_memory
| | | | | selinux_vm_enough_memory
| | | | | security_vm_enough_memory_mm
| | | | | do_brk
| | | | | sys_brk
| | | | | tracesys
| | | | | brk
| | | | | __libc_start_main
| | | | |
| | | | --38.64%-- do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | --9.46%-- lru_add_drain
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.97%-- remove_vma
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.91%-- tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.85%-- unmap_vmas
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.65%-- unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.63%-- main
| | | __libc_start_main
| | |
| | |--0.61%-- int_check_syscall_exit_work
| | | brk
| | | __libc_start_main
| | |
| | |--0.60%-- free_pgtables
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.56%-- lru_add_drain
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | --5.68%-- [...]
| |
| |--19.82%-- do_IRQ
| | common_interrupt
| | |
| | |--32.94%-- syscall_trace_enter
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--32.22%-- syscall_trace_leave
| | | int_check_syscall_exit_work
| | | brk
| | | __libc_start_main
| | |
| | |--6.40%-- brk
| | | |
| | | --100.00%-- __libc_start_main
| | |
| | |--4.84%-- do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--3.58%-- perf_event_mmap
| | | do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--3.22%-- sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--2.90%-- do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--2.10%-- sub_preempt_count
| | | |
| | | |--66.77%-- perf_event_mmap
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--16.77%-- lru_add_drain
| | | | unmap_region
| | | | do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | --16.45%-- __percpu_counter_add
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--1.94%-- trace_preempt_on
| | | sub_preempt_count
| | | |
| | | |--67.07%-- perf_event_mmap
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--16.60%-- lru_add_drain
| | | | unmap_region
| | | | do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | --16.33%-- __percpu_counter_add
| | | __vm_enough_memory
| | | selinux_vm_enough_memory
| | | security_vm_enough_memory_mm
| | | do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--1.75%-- add_preempt_count
| | | |
| | | |--44.68%-- __percpu_counter_add
| | | | |
| | | | |--53.01%-- do_munmap
| | | | | sys_brk
| | | | | tracesys
| | | | | brk
| | | | | __libc_start_main
| | | | |
| | | | --46.99%-- __vm_enough_memory
| | | | selinux_vm_enough_memory
| | | | security_vm_enough_memory_mm
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--42.85%-- perf_event_mmap
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | --12.47%-- lru_add_drain
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--1.74%-- unmap_vmas
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.85%-- tlb_gather_mmu
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.73%-- main
| | | __libc_start_main
| | |
| | |--0.65%-- free_pgtables
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.64%-- __rb_insert_augmented
| | | __vma_link_rb
| | | vma_link
| | | do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.56%-- int_check_syscall_exit_work
| | | brk
| | | __libc_start_main
| | --2.92%-- [...]
| |
| --4.35%-- smp_irq_work_interrupt
| irq_work_interrupt
| |
| |--58.20%-- syscall_trace_leave
| | int_check_syscall_exit_work
| | brk
| | __libc_start_main
| |
| |--40.12%-- syscall_trace_enter
| | tracesys
| | brk
| | __libc_start_main
| |
| |--1.17%-- call_softirq
| | do_softirq
| | irq_exit
| | smp_apic_timer_interrupt
| | apic_timer_interrupt
| | |
| | |--50.98%-- syscall_trace_leave
| | | int_check_syscall_exit_work
| | | brk
| | | __libc_start_main
| | |
| | --49.02%-- syscall_trace_enter
| | tracesys
| | brk
| | __libc_start_main
| |
| --0.51%-- __percpu_counter_add
| do_munmap
| sys_brk
| tracesys
| brk
| __libc_start_main
|
--0.60%-- vtime_account_system
vtime_account_irq_enter
|
|--72.11%-- irq_enter
| |
| |--95.14%-- smp_apic_timer_interrupt
| | apic_timer_interrupt
| | |
| | |--26.69%-- ata_scsi_queuecmd
| | | scsi_dispatch_cmd
| | | scsi_request_fn
| | | __blk_run_queue_uncond
| | | __blk_run_queue
| | | blk_run_queue
| | | scsi_run_queue
| | | scsi_next_command
| | | scsi_io_completion
| | | scsi_finish_command
| | | scsi_softirq_done
| | | blk_done_softirq
| | | __do_softirq
| | | call_softirq
| | | do_softirq
| | | irq_exit
| | | do_IRQ
| | | common_interrupt
| | | |
| | | |--34.02%-- syscall_trace_enter
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--29.00%-- syscall_trace_leave
| | | | int_check_syscall_exit_work
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--9.53%-- do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--4.88%-- tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--4.82%-- unmap_vmas
| | | | unmap_region
| | | | do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--4.80%-- do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--4.69%-- perf_event_mmap
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--4.63%-- brk
| | | | __libc_start_main
| | | |
| | | --3.63%-- event_filter_match
| | | perf_event_mmap_ctx
| | | perf_event_mmap
| | | do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--19.60%-- syscall_trace_enter
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--8.50%-- scsi_request_fn
| | | __blk_run_queue_uncond
| | | __blk_run_queue
| | | blk_run_queue
| | | scsi_run_queue
| | | scsi_next_command
| | | scsi_io_completion
| | | scsi_finish_command
| | | scsi_softirq_done
| | | blk_done_softirq
| | | __do_softirq
| | | call_softirq
| | | do_softirq
| | | irq_exit
| | | do_IRQ
| | | common_interrupt
| | | |
| | | |--32.12%-- syscall_trace_enter
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--29.80%-- syscall_trace_leave
| | | | int_check_syscall_exit_work
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--23.61%-- brk
| | | | |
| | | | --100.00%-- __libc_start_main
| | | |
| | | --14.48%-- sub_preempt_count
| | | perf_event_mmap
| | | do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--5.26%-- test_clear_page_writeback
| | | end_page_writeback
| | | put_io_page
| | | ext4_end_bio
| | | bio_endio
| | | req_bio_endio
| | | blk_update_request
| | | blk_update_bidi_request
| | | blk_end_bidi_request
| | | blk_end_request
| | | scsi_io_completion
| | | scsi_finish_command
| | | scsi_softirq_done
| | | blk_done_softirq
| | | __do_softirq
| | | call_softirq
| | | do_softirq
| | | irq_exit
| | | do_IRQ
| | | common_interrupt
| | | |
| | | |--37.86%-- syscall_trace_enter
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--19.72%-- syscall_trace_leave
| | | | int_check_syscall_exit_work
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--11.38%-- brk
| | | | __libc_start_main
| | | |
| | | |--9.39%-- do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--8.08%-- add_preempt_count
| | | | lru_add_drain
| | | | unmap_region
| | | | do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--5.58%-- __rb_insert_augmented
| | | | __vma_link_rb
| | | | vma_link
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--5.42%-- unmap_vmas
| | | | unmap_region
| | | | do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | --2.58%-- perf_event_mmap
| | | do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--4.65%-- load_elf_binary
| | | search_binary_handler
| | | do_execve_common
| | | do_execve
| | | sys_execve
| | | stub_execve
| | | execve
| | |
| | |--4.52%-- do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--3.78%-- perf_event_mmap
| | | do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--2.38%-- end_page_writeback
| | | put_io_page
| | | ext4_end_bio
| | | bio_endio
| | | req_bio_endio
| | | blk_update_request
| | | blk_update_bidi_request
| | | blk_end_bidi_request
| | | blk_end_request
| | | scsi_io_completion
| | | scsi_finish_command
| | | scsi_softirq_done
| | | blk_done_softirq
| | | __do_softirq
| | | call_softirq
| | | do_softirq
| | | irq_exit
| | | do_IRQ
| | | common_interrupt
| | | |
| | | |--39.08%-- syscall_trace_leave
| | | | int_check_syscall_exit_work
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--30.91%-- do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--22.41%-- syscall_trace_enter
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | --7.60%-- brk
| | | __libc_start_main
| | |
| | |--2.14%-- syscall_trace_leave
| | | int_check_syscall_exit_work
| | | brk
| | | __libc_start_main
| | |
| | |--1.63%-- sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--1.55%-- put_io_page
| | | ext4_end_bio
| | | bio_endio
| | | req_bio_endio
| | | blk_update_request
| | | blk_update_bidi_request
| | | blk_end_bidi_request
| | | blk_end_request
| | | scsi_io_completion
| | | scsi_finish_command
| | | scsi_softirq_done
| | | blk_done_softirq
| | | __do_softirq
| | | call_softirq
| | | do_softirq
| | | irq_exit
| | | do_IRQ
| | | common_interrupt
| | | |
| | | |--48.38%-- syscall_trace_enter
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--32.68%-- syscall_trace_leave
| | | | int_check_syscall_exit_work
| | | | brk
| | | | __libc_start_main
| | | |
| | | --18.95%-- do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--1.52%-- brk
| | | |
| | | --100.00%-- __libc_start_main
| | |
| | |--1.34%-- blk_end_bidi_request
| | | blk_end_request
| | | scsi_io_completion
| | | scsi_finish_command
| | | scsi_softirq_done
| | | blk_done_softirq
| | | __do_softirq
| | | call_softirq
| | | do_softirq
| | | irq_exit
| | | do_IRQ
| | | common_interrupt
| | | syscall_trace_enter
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--1.33%-- sub_preempt_count
| | | |
| | | |--88.20%-- perf_event_mmap
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--6.26%-- __percpu_counter_add
| | | | |
| | | | |--61.61%-- do_munmap
| | | | | sys_brk
| | | | | tracesys
| | | | | brk
| | | | | __libc_start_main
| | | | |
| | | | --38.39%-- __vm_enough_memory
| | | | selinux_vm_enough_memory
| | | | security_vm_enough_memory_mm
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | --5.54%-- lru_add_drain
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--1.24%-- T.749
| | | add_timer_randomness
| | | add_disk_randomness
| | | blk_update_bidi_request
| | | blk_end_bidi_request
| | | blk_end_request
| | | scsi_io_completion
| | | scsi_finish_command
| | | scsi_softirq_done
| | | blk_done_softirq
| | | __do_softirq
| | | call_softirq
| | | do_softirq
| | | irq_exit
| | | do_IRQ
| | | common_interrupt
| | | |
| | | |--52.04%-- syscall_trace_enter
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | --47.96%-- brk
| | | __libc_start_main
| | |
| | |--1.14%-- add_preempt_count
| | | |
| | | |--82.94%-- perf_event_mmap
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--12.31%-- __percpu_counter_add
| | | | |
| | | | |--54.66%-- __vm_enough_memory
| | | | | selinux_vm_enough_memory
| | | | | security_vm_enough_memory_mm
| | | | | do_brk
| | | | | sys_brk
| | | | | tracesys
| | | | | brk
| | | | | __libc_start_main
| | | | |
| | | | --45.34%-- do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | --4.75%-- lru_add_drain
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--1.06%-- do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.90%-- trace_preempt_on
| | | sub_preempt_count
| | | |
| | | |--77.99%-- perf_event_mmap
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--14.84%-- __percpu_counter_add
| | | | |
| | | | |--61.09%-- __vm_enough_memory
| | | | | selinux_vm_enough_memory
| | | | | security_vm_enough_memory_mm
| | | | | do_brk
| | | | | sys_brk
| | | | | tracesys
| | | | | brk
| | | | | __libc_start_main
| | | | |
| | | | --38.91%-- do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | --7.17%-- lru_add_drain
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.83%-- __vma_link_rb
| | | vma_link
| | | do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.82%-- remove_vma
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.78%-- bio_endio
| | | req_bio_endio
| | | blk_update_request
| | | blk_update_bidi_request
| | | blk_end_bidi_request
| | | blk_end_request
| | | scsi_io_completion
| | | scsi_finish_command
| | | scsi_softirq_done
| | | blk_done_softirq
| | | __do_softirq
| | | call_softirq
| | | do_softirq
| | | irq_exit
| | | do_IRQ
| | | common_interrupt
| | | |
| | | |--59.92%-- brk
| | | |
| | | --40.08%-- sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.65%-- scsi_dispatch_cmd
| | | scsi_request_fn
| | | __blk_run_queue_uncond
| | | __blk_run_queue
| | | blk_run_queue
| | | scsi_run_queue
| | | scsi_next_command
| | | scsi_io_completion
| | | scsi_finish_command
| | | scsi_softirq_done
| | | blk_done_softirq
| | | __do_softirq
| | | call_softirq
| | | do_softirq
| | | irq_exit
| | | do_IRQ
| | | common_interrupt
| | | syscall_trace_enter
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.65%-- unmap_vmas
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.64%-- int_check_syscall_exit_work
| | | brk
| | | __libc_start_main
| | |
| | |--0.64%-- tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.60%-- ext4_end_bio
| | | bio_endio
| | | req_bio_endio
| | | blk_update_request
| | | blk_update_bidi_request
| | | blk_end_bidi_request
| | | blk_end_request
| | | scsi_io_completion
| | | scsi_finish_command
| | | scsi_softirq_done
| | | blk_done_softirq
| | | __do_softirq
| | | call_softirq
| | | do_softirq
| | | irq_exit
| | | do_IRQ
| | | common_interrupt
| | | syscall_trace_leave
| | | int_check_syscall_exit_work
| | | brk
| | | __libc_start_main
| | |
| | |--0.50%-- free_pgtables
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | --4.67%-- [...]
| |
| |--2.65%-- do_IRQ
| | common_interrupt
| | |
| | |--44.82%-- syscall_trace_enter
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--8.96%-- do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--7.18%-- perf_event_mmap
| | | do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--5.58%-- sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--4.42%-- do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--4.13%-- sub_preempt_count
| | | |
| | | |--74.15%-- perf_event_mmap
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--13.93%-- __percpu_counter_add
| | | | do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | --11.92%-- lru_add_drain
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--3.58%-- trace_preempt_on
| | | sub_preempt_count
| | | |
| | | |--74.15%-- perf_event_mmap
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--13.13%-- __percpu_counter_add
| | | | __vm_enough_memory
| | | | selinux_vm_enough_memory
| | | | security_vm_enough_memory_mm
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | --12.72%-- lru_add_drain
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--3.17%-- add_preempt_count
| | | |
| | | |--52.91%-- perf_event_mmap
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | |--35.90%-- __percpu_counter_add
| | | | |
| | | | |--53.38%-- __vm_enough_memory
| | | | | selinux_vm_enough_memory
| | | | | security_vm_enough_memory_mm
| | | | | do_brk
| | | | | sys_brk
| | | | | tracesys
| | | | | brk
| | | | | __libc_start_main
| | | | |
| | | | --46.62%-- do_munmap
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | --11.19%-- lru_add_drain
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--3.08%-- brk
| | |
| | |--2.69%-- unmap_vmas
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--2.61%-- syscall_trace_leave
| | | int_check_syscall_exit_work
| | | brk
| | | __libc_start_main
| | |
| | |--1.50%-- tlb_gather_mmu
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--1.37%-- int_check_syscall_exit_work
| | | brk
| | | __libc_start_main
| | |
| | |--1.11%-- __rb_insert_augmented
| | | __vma_link_rb
| | | vma_link
| | | do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--1.11%-- free_pgtables
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.76%-- event_filter_match
| | | perf_event_mmap_ctx
| | | perf_event_mmap
| | | do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.70%-- perf_event_mmap_ctx
| | | perf_event_mmap
| | | do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.64%-- trace_preempt_off
| | | add_preempt_count
| | | __percpu_counter_add
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.60%-- __percpu_counter_add
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.53%-- remove_vma
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.52%-- _cond_resched
| | | unmap_single_vma
| | | unmap_vmas
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--0.50%-- vma_rb_erase
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | --0.44%-- [...]
| |
| --2.21%-- smp_irq_work_interrupt
| irq_work_interrupt
| |
| |--97.79%-- syscall_trace_enter
| | tracesys
| | brk
| | __libc_start_main
| |
| |--1.22%-- call_softirq
| | do_softirq
| | irq_exit
| | smp_apic_timer_interrupt
| | apic_timer_interrupt
| | |
| | |--61.97%-- syscall_trace_leave
| | | int_check_syscall_exit_work
| | | brk
| | | __libc_start_main
| | |
| | --38.03%-- syscall_trace_enter
| | tracesys
| | brk
| | __libc_start_main
| |
| --1.00%-- __percpu_counter_add
| do_munmap
| sys_brk
| tracesys
| brk
| __libc_start_main
|
--27.89%-- __do_softirq
call_softirq
do_softirq
irq_exit
|
|--94.65%-- smp_apic_timer_interrupt
| apic_timer_interrupt
| |
| |--49.62%-- syscall_trace_enter
| | tracesys
| | brk
| | __libc_start_main
| |
| |--8.54%-- do_brk
| | sys_brk
| | tracesys
| | brk
| | __libc_start_main
| |
| |--6.46%-- perf_event_mmap
| | do_brk
| | sys_brk
| | tracesys
| | brk
| | __libc_start_main
| |
| |--3.62%-- sys_brk
| | tracesys
| | brk
| | __libc_start_main
| |
| |--3.35%-- syscall_trace_leave
| | int_check_syscall_exit_work
| | brk
| | __libc_start_main
| |
| |--2.47%-- sub_preempt_count
| | |
| | |--83.42%-- perf_event_mmap
| | | do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--9.00%-- lru_add_drain
| | | unmap_region
| | | do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | --7.59%-- __percpu_counter_add
| | |
| | |--55.07%-- do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | --44.93%-- __vm_enough_memory
| | selinux_vm_enough_memory
| | security_vm_enough_memory_mm
| | do_brk
| | sys_brk
| | tracesys
| | brk
| | __libc_start_main
| |
| |--2.40%-- do_munmap
| | sys_brk
| | tracesys
| | brk
| | __libc_start_main
| |
| |--2.22%-- brk
| | |
| | --100.00%-- __libc_start_main
| |
| |--2.14%-- add_preempt_count
| | |
| | |--79.00%-- perf_event_mmap
| | | do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--15.15%-- __percpu_counter_add
| | | |
| | | |--61.39%-- __vm_enough_memory
| | | | selinux_vm_enough_memory
| | | | security_vm_enough_memory_mm
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | --38.61%-- do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | --5.85%-- lru_add_drain
| | unmap_region
| | do_munmap
| | sys_brk
| | tracesys
| | brk
| | __libc_start_main
| |
| |--1.74%-- trace_preempt_on
| | sub_preempt_count
| | |
| | |--72.01%-- perf_event_mmap
| | | do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | |--18.33%-- __percpu_counter_add
| | | |
| | | |--63.07%-- __vm_enough_memory
| | | | selinux_vm_enough_memory
| | | | security_vm_enough_memory_mm
| | | | do_brk
| | | | sys_brk
| | | | tracesys
| | | | brk
| | | | __libc_start_main
| | | |
| | | --36.93%-- do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | --9.66%-- lru_add_drain
| | unmap_region
| | do_munmap
| | sys_brk
| | tracesys
| | brk
| | __libc_start_main
| |
| |--1.72%-- remove_vma
| | do_munmap
| | sys_brk
| | tracesys
| | brk
| | __libc_start_main
| |
| |--1.66%-- __vma_link_rb
| | vma_link
| | do_brk
| | sys_brk
| | tracesys
| | brk
| | __libc_start_main
| |
| |--1.50%-- unmap_vmas
| | unmap_region
| | do_munmap
| | sys_brk
| | tracesys
| | brk
| | __libc_start_main
| |
| |--1.50%-- tracesys
| | brk
| | __libc_start_main
| |
| |--1.11%-- unmap_region
| | do_munmap
| | sys_brk
| | tracesys
| | brk
| | __libc_start_main
| |
| |--1.06%-- free_pgtables
| | unmap_region
| | do_munmap
| | sys_brk
| | tracesys
| | brk
| | __libc_start_main
| |
| |--0.94%-- lru_add_drain
| | unmap_region
| | do_munmap
| | sys_brk
| | tracesys
| | brk
| | __libc_start_main
| |
| |--0.94%-- int_check_syscall_exit_work
| | brk
| | __libc_start_main
| |
| |--0.86%-- __rb_insert_augmented
| | __vma_link_rb
| | vma_link
| | do_brk
| | sys_brk
| | tracesys
| | brk
| | __libc_start_main
| |
| |--0.77%-- perf_event_mmap_ctx
| | perf_event_mmap
| | do_brk
| | sys_brk
| | tracesys
| | brk
| | __libc_start_main
| |
| |--0.73%-- __percpu_counter_add
| | |
| | |--67.03%-- __vm_enough_memory
| | | selinux_vm_enough_memory
| | | security_vm_enough_memory_mm
| | | do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | --32.97%-- do_munmap
| | sys_brk
| | tracesys
| | brk
| | __libc_start_main
| |
| |--0.68%-- trace_preempt_off
| | add_preempt_count
| | |
| | |--77.33%-- perf_event_mmap
| | | do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | --22.67%-- __percpu_counter_add
| | |
| | |--53.36%-- __vm_enough_memory
| | | selinux_vm_enough_memory
| | | security_vm_enough_memory_mm
| | | do_brk
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | --46.64%-- do_munmap
| | sys_brk
| | tracesys
| | brk
| | __libc_start_main
| |
| |--0.57%-- cred_has_capability
| | selinux_capable
| | selinux_vm_enough_memory
| | security_vm_enough_memory_mm
| | do_brk
| | sys_brk
| | tracesys
| | brk
| | __libc_start_main
| --3.38%-- [...]
|
--5.35%-- do_IRQ
common_interrupt
|
|--49.68%-- syscall_trace_enter
| tracesys
| brk
| __libc_start_main
|
|--7.82%-- do_brk
| sys_brk
| tracesys
| brk
| __libc_start_main
|
|--5.91%-- perf_event_mmap
| do_brk
| sys_brk
| tracesys
| brk
| __libc_start_main
|
|--5.28%-- do_munmap
| sys_brk
| tracesys
| brk
| __libc_start_main
|
|--4.76%-- sys_brk
| tracesys
| brk
| __libc_start_main
|
|--3.77%-- sub_preempt_count
| |
| |--69.53%-- perf_event_mmap
| | do_brk
| | sys_brk
| | tracesys
| | brk
| | __libc_start_main
| |
| |--15.90%-- lru_add_drain
| | unmap_region
| | do_munmap
| | sys_brk
| | tracesys
| | brk
| | __libc_start_main
| |
| --14.57%-- __percpu_counter_add
| do_munmap
| sys_brk
| tracesys
| brk
| __libc_start_main
|
|--3.21%-- add_preempt_count
| |
| |--50.12%-- perf_event_mmap
| | do_brk
| | sys_brk
| | tracesys
| | brk
| | __libc_start_main
| |
| |--35.64%-- __percpu_counter_add
| | |
| | |--51.17%-- do_munmap
| | | sys_brk
| | | tracesys
| | | brk
| | | __libc_start_main
| | |
| | --48.83%-- __vm_enough_memory
| | selinux_vm_enough_memory
| | security_vm_enough_memory_mm
| | do_brk
| | sys_brk
| | tracesys
| | brk
| | __libc_start_main
| |
| --14.24%-- lru_add_drain
| unmap_region
| do_munmap
| sys_brk
| tracesys
| brk
| __libc_start_main
|
|--3.02%-- trace_preempt_on
| sub_preempt_count
| |
| |--62.98%-- perf_event_mmap
| | do_brk
| | sys_brk
| | tracesys
| | brk
| | __libc_start_main
| |
| |--19.01%-- __percpu_counter_add
| | __vm_enough_memory
| | selinux_vm_enough_memory
| | security_vm_enough_memory_mm
| | do_brk
| | sys_brk
| | tracesys
| | brk
| | __libc_start_main
| |
| --18.01%-- lru_add_drain
| unmap_region
| do_munmap
| sys_brk
| tracesys
| brk
| __libc_start_main
|
|--2.79%-- unmap_vmas
| unmap_region
| do_munmap
| sys_brk
| tracesys
| brk
| __libc_start_main
|
|--2.53%-- brk
|
|--1.90%-- syscall_trace_leave
| int_check_syscall_exit_work
| brk
| __libc_start_main
|
|--1.56%-- tlb_gather_mmu
| unmap_region
| do_munmap
| sys_brk
| tracesys
| brk
| __libc_start_main
|
|--1.21%-- free_pgtables
| unmap_region
| do_munmap
| sys_brk
| tracesys
| brk
| __libc_start_main
|
|--0.99%-- int_check_syscall_exit_work
| brk
| __libc_start_main
|
|--0.95%-- __rb_insert_augmented
| __vma_link_rb
| vma_link
| do_brk
| sys_brk
| tracesys
| brk
| __libc_start_main
|
|--0.72%-- remove_vma
| do_munmap
| sys_brk
| tracesys
| brk
| __libc_start_main
|
|--0.64%-- perf_event_mmap_ctx
| perf_event_mmap
| do_brk
| sys_brk
| tracesys
| brk
| __libc_start_main
|
|--0.62%-- _cond_resched
| unmap_single_vma
| unmap_vmas
| unmap_region
| do_munmap
| sys_brk
| tracesys
| brk
| __libc_start_main
|
|--0.61%-- event_filter_match
| perf_event_mmap_ctx
| perf_event_mmap
| do_brk
| sys_brk
| tracesys
| brk
| __libc_start_main
|
|--0.59%-- vma_rb_erase
| do_munmap
| sys_brk
| tracesys
| brk
| __libc_start_main
|
|--0.54%-- tracesys
| brk
| __libc_start_main
--0.91%-- [...]# Samples: 1M of event 'cputime:account_user'
# Event count (approx.): 2426285158
#
# Overhead Command Shared Object Symbol
# ........ .......... ................. ...........................
#
100.00% kernelspin [kernel.kallsyms] [k] perf_trace_account_user
|
--- perf_trace_account_user
account_user_time
vtime_account_user
|
|--99.62%-- user_exit
| |
| |--99.98%-- syscall_trace_enter
| | tracesys
| | |
| | |--100.00%-- brk
| | | |
| | | --100.00%-- __libc_start_main
| | --0.00%-- [...]
| --0.02%-- [...]
--0.38%-- [...]#
# (For a higher level overview, try: perf report --sort comm,dso) #
Steven Rostedt
reviewerQuoted 3 lines · Frederic Weisbecker
I have set some cputime tracepoint and looked at the stacktrace. They are sorted by weight, which is the amount of cputime accounted. I can't find anything wrong on these. See attachment.
That's because a histogram doesn't show the issue. You need to see the order of events. That is, you need to see that user time is calculated again within a system call. I ran my trace again with stack trace enabled and it shows the race nicely:
kernelsp-2367 7.... 7088.483227: funcgraph_entry: | syscall_trace_leave() {
kernelsp-2367 7d..1 7088.483228: bprint: account_system_time : system: 17887
kernelsp-2367 7d..1 7088.483242: kernel_stack: <stack trace>=> __vtime_account_system (ffffffff810646e5)
=> vtime_user_enter (ffffffff81064a5e)
=> user_enter (ffffffff810d8b2b)
=> syscall_trace_leave (ffffffff8100d03f)
=> return_to_handler (ffffffff814c8dc5)
=> int_check_syscall_exit_work (ffffffff814c925f)
syscall_trace_leave() was called, we are leaving a system call and going back to userspace. We calculate the system time and set the state to IN_USER by user_enter().
kernelsp-2367 7d..1 7088.483244: bprint: account_user_time : user: 15753 kernelsp-2367 7d..1 7088.483262: kernel_stack: <stack trace>
=> vtime_account_user (ffffffff81064a12)
=> vtime_account_irq_enter (ffffffff81064b40)
=> irq_enter (ffffffff8103d36e)
=> smp_apic_timer_interrupt (ffffffff814caa83)
=> apic_timer_interrupt (ffffffff814c9bb2)
=> user_enter (ffffffff810d8b58)
=> syscall_trace_leave (ffffffff8100d03f)
=> return_to_handler (ffffffff814c8dc5)
=> int_check_syscall_exit_work (ffffffff814c925f)
But before we got to user space, we took an interrupt (smp_apic_timer_interrupt).
Now the vtime_account_irq_enter() sees the IN_USER set, and accounts the time back to userspace. That was 16us it calculated incorrectly.
kernelsp-2367 7d.h1 7088.483267: bprint: account_system_time : system: 23401 kernelsp-2367 7d.h1 7088.483286: kernel_stack: <stack trace>
=> __vtime_account_system (ffffffff810646e5)
=> vtime_account_irq_exit (ffffffff810649b8)
=> irq_exit (ffffffff8103d39e)
=> smp_apic_timer_interrupt (ffffffff814caacf)
=> apic_timer_interrupt (ffffffff814c9bb2)
=> user_enter (ffffffff810d8b58)
=> syscall_trace_leave (ffffffff8100d03f)
=> return_to_handler (ffffffff814c8dc5)
=> int_check_syscall_exit_work (ffffffff814c925f)
Now we are leaving the interrupt and since the state is still IN_USER, the system time is calculated.
kernelsp-2367 7d..2 7088.483287: bprint: account_user_time : user: 19865 kernelsp-2367 7d..2 7088.483309: kernel_stack: <stack trace>
=> vtime_account_user (ffffffff81064a12)
=> vtime_account_irq_enter (ffffffff81064b40)
=> __do_softirq (ffffffff8103d0f5)
=> call_softirq (ffffffff814ca2fc)
=> do_softirq (ffffffff81003fdc)
=> irq_exit (ffffffff8103d3df)
=> smp_apic_timer_interrupt (ffffffff814caacf)
=> apic_timer_interrupt (ffffffff814c9bb2)
=> user_enter (ffffffff810d8b58)
=> syscall_trace_leave (ffffffff8100d03f)
=> return_to_handler (ffffffff814c8dc5)
=> int_check_syscall_exit_work (ffffffff814c925f)
But oops, we are now running a softirq, which happens to get everything wrong again, and calculates another 20us incorrectly towards user time.
Perhaps the best thing to do is to have the irq vtime determine usermode or not with "user_mode(get_irq_regs())". I'll try it.
-- Steve
2013/1/29 Steven Rostedt <[email protected]>:
Quoted 39 lines · Frederic Weisbecker
Quoted 4 lines
I have set some cputime tracepoint and looked at the stacktrace. They are sorted by weight, which is the amount of cputime accounted. I can't find anything wrong on these. See attachment.
That's because a histogram doesn't show the issue. You need to see the order of events. That is, you need to see that user time is calculated again within a system call. I ran my trace again with stack trace enabled and it shows the race nicely:
kernelsp-2367 7.... 7088.483227: funcgraph_entry: | syscall_trace_leave() { kernelsp-2367 7d..1 7088.483228: bprint: account_system_time : system: 17887 kernelsp-2367 7d..1 7088.483242: kernel_stack: <stack trace>=>
__vtime_account_system(ffffffff810646e5)
=>vtime_user_enter(ffffffff81064a5e)
=>user_enter(ffffffff810d8b2b)
=>syscall_trace_leave(ffffffff8100d03f)
=>return_to_handler(ffffffff814c8dc5)
=>int_check_syscall_exit_work(ffffffff814c925f)
syscall_trace_leave()was called, we are leaving a system call and going back to userspace. We calculate the system time and set the state toIN_USERbyuser_enter().kernelsp-2367 7d..1 7088.483244: bprint: account_user_time : user: 15753 kernelsp-2367 7d..1 7088.483262: kernel_stack: <stack trace>=>
vtime_account_user(ffffffff81064a12)
=>vtime_account_irq_enter(ffffffff81064b40)
=>irq_enter(ffffffff8103d36e)
=>smp_apic_timer_interrupt(ffffffff814caa83)
=>apic_timer_interrupt(ffffffff814c9bb2)
=>user_enter(ffffffff810d8b58)
=>syscall_trace_leave(ffffffff8100d03f)
=>return_to_handler(ffffffff814c8dc5)
=>int_check_syscall_exit_work(ffffffff814c925f)
Quoted 4 lines
But before we got to user space, we took an interrupt (
smp_apic_timer_interrupt).Now the
vtime_account_irq_enter()sees theIN_USERset, and accounts the time back to userspace. That was 16us it calculated incorrectly.
Yeah I know. There will always be this small window between the time we call user_enter() and the time we actually go to userspace. This can't be helped much, except perhaps by checking user_mode(get_irq_regs()) may be. But the time accounted is really just micro chunk, nothing to worry about. It barely shows up in the histogram.
Quoted 32 lines
kernelsp-2367 7d.h1 7088.483267: bprint: account_system_time : system: 23401 kernelsp-2367 7d.h1 7088.483286: kernel_stack: <stack trace>=>
__vtime_account_system(ffffffff810646e5)
=>vtime_account_irq_exit(ffffffff810649b8)
=>irq_exit(ffffffff8103d39e)
=>smp_apic_timer_interrupt(ffffffff814caacf)
=>apic_timer_interrupt(ffffffff814c9bb2)
=>user_enter(ffffffff810d8b58)
=>syscall_trace_leave(ffffffff8100d03f)
=>return_to_handler(ffffffff814c8dc5)
=>int_check_syscall_exit_work(ffffffff814c925f)Now we are leaving the interrupt and since the state is still
IN_USER, the system time is calculated.kernelsp-2367 7d..2 7088.483287: bprint: account_user_time : user: 19865 kernelsp-2367 7d..2 7088.483309: kernel_stack: <stack trace>=>
vtime_account_user(ffffffff81064a12)
=>vtime_account_irq_enter(ffffffff81064b40)
=>__do_softirq(ffffffff8103d0f5)
=>call_softirq(ffffffff814ca2fc)
=>do_softirq(ffffffff81003fdc)
=>irq_exit(ffffffff8103d3df)
=>smp_apic_timer_interrupt(ffffffff814caacf)
=>apic_timer_interrupt(ffffffff814c9bb2)
=>user_enter(ffffffff810d8b58)
=>syscall_trace_leave(ffffffff8100d03f)
=>return_to_handler(ffffffff814c8dc5)
=>int_check_syscall_exit_work(ffffffff814c925f)
Quoted 2 lines
But oops, we are now running a softirq, which happens to get everything wrong again, and calculates another 20us incorrectly towards user time.
Same thing here. I'm aware of that, this can certainly be fixed but that's really no big issue, it's only about a few microseconds and that too almost doesn't show up on the histogram.
Quoted 2 lines
Perhaps the best thing to do is to have the irq vtime determine usermode or not with "user_mode(get_irq_regs())". I'll try it.
That will get rid of those few microsecond error margin but I bet that's not where the issue is.
Quoted 3 lines
-- Steve
Steven Rostedt
reviewerQuoted 6 lines · Frederic Weisbecker
Quoted 3 lines
Perhaps the best thing to do is to have the irq vtime determine usermode or not with "user_mode(get_irq_regs())". I'll try it.
That will get rid of those few microsecond error margin but I bet that's not where the issue is.
Yep, you're right. Time to dig further ;-)
-- Steve
Quoted 16 lines · Steven Rostedt
[root@bxtest ~]# time /work/c/kernelspin 10
real 0m10.001s
user 0m1.114s
sys 0m8.886sBut after enabling the force
context_trackingI get this:[root@bxtest ~]# time /work/c/kernelspin 10
real 0m10.001s
user 0m3.769s
sys 0m6.203s
Quoted 5 lines
Consistently. All the other runs always had a 1.X 8.X ratio. This seems to give 3.7x 6.2x ratio consistently. Maybe it's more accurate then the others. Or something else is broken.
I'll look deeper into it.
After lots of investigation, I believe I know why this is so. It is pretty much as accurate as what we have now, except before it would error on the side of the kernel, where as here we error on the side of userspace.
I added a trace_printk where the utime and stime is updated, and applied my (coming to mainline soon) function_graph patch that adds a "max_depth" to limit the function graph tracing. Setting the max_depth to 1 shows you nicely all the places that enter the kernel. Running this against my kernelspin.c program I get:
kernelsp-2668 7d... 2837.236400: funcgraph_entry: 1.373 us | do_page_fault(); kernelsp-2668 7d... 2837.236403: funcgraph_entry: 1.409 us | do_page_fault(); kernelsp-2668 7.... 2837.236405: funcgraph_entry: 0.441 us | syscall_trace_enter(); kernelsp-2668 7.... 2837.236406: funcgraph_entry: 0.114 us | sys_brk(); kernelsp-2668 7.... 2837.236406: funcgraph_entry: 1.155 us | syscall_trace_leave(); kernelsp-2668 7d... 2837.236408: funcgraph_entry: 2.579 us | do_page_fault(); kernelsp-2668 7d... 2837.236413: funcgraph_entry: 2.720 us | do_page_fault(); kernelsp-2668 7d... 2837.236417: funcgraph_entry: 2.314 us | do_page_fault();
I then wrote a perl script to parse the timestamps (and it notices the syscall_trace_enter and leave as entering the kernel) and it creates a more accurate time that the program was in the kernel. It outputs something like:
user time: 0.750846
system time: 5.695917
dropped event time: 3.525461
calc utime: 1.878059 ns
calc stime: 4.520833 ns
The first two times are what it came up with from the timestamps. As there were events dropped, it also was able to calculate the time missed for that.
As I used trace_printk() to show the updates of utime and stime, the last two numbers show the calculated times that those functions came up with. Note, the dropped events would include both the tracing as well as updates made by this time.
It's not really that far off.
Then you gave me your config where you could not reproduce the issue. I ran that too, and got:
user time: 0.000009 system time: 9.974731 dropped event time: 0.000000 calc utime: 0.772511 ns calc stime: 9.201983 ns
It still errored on the side of userspace, but what I found strange was that:
1) there were no dropped events
2) the utime/stime from the trace timestamps was much different than my config
Looking at the two outputs of the trace I found:
my config:
kernelsp-2668 7.... 2837.239219: funcgraph_entry: 1.369 us | sys_brk(); kernelsp-2668 7.... 2837.239225: funcgraph_entry: 1.790 us | sys_brk(); kernelsp-2668 7.... 2837.239229: funcgraph_entry: 0.778 us | sys_brk(); kernelsp-2668 7.... 2837.239232: funcgraph_entry: 0.896 us | sys_brk();
your config:
kernelsp-969 6.... 207.618010: funcgraph_entry: + 11.123 us | sys_brk(); kernelsp-969 6.... 207.618024: funcgraph_entry: 7.519 us | sys_brk(); kernelsp-969 6.... 207.618033: funcgraph_entry: 7.616 us | sys_brk(); kernelsp-969 6.... 207.618043: funcgraph_entry: 7.420 us | sys_brk();
Big difference in the time spent in sys_brk()!
I did a full function graph trace and found:
kernelspin-1015 [006] 533.405921: funcgraph_entry: | sys_brk() {
kernelspin-1015 [006] 533.405921: funcgraph_entry: | down_write() {
kernelspin-1015 [006] 533.405921: funcgraph_entry: | __might_sleep() {
kernelspin-1015 [006] 533.405922: funcgraph_entry: 0.051 us | debug_lockdep_rcu_enabled();
<idle>-0 [003] 533.405922: bprint: account_system_time : system: 2368
kernelspin-1015 [006] 533.405922: funcgraph_entry: 0.044 us | debug_lockdep_rcu_enabled();
kernelspin-1015 [006] 533.405923: funcgraph_entry: 0.051 us | debug_lockdep_rcu_enabled();
kernelspin-1015 [006] 533.405923: funcgraph_exit: 1.440 us | }
kernelspin-1015 [006] 533.405923: funcgraph_exit: 2.015 us | }
kernelspin-1015 [006] 533.405924: funcgraph_entry: 0.113 us | find_vma();
[...]
kernelspin-1015 [006] 533.405938: funcgraph_entry: | set_track() {
kernelspin-1015 [006] 533.405939: funcgraph_entry: | save_stack_trace() {
trace-cmd-1010 [005] 533.405939: bprint: account_system_time : system: 3492
kernelspin-1015 [006] 533.405939: funcgraph_entry: | dump_trace() {
kernelspin-1015 [006] 533.405939: funcgraph_entry: | print_context_stack() {
kernelspin-1015 [006] 533.405939: funcgraph_entry: | __kernel_text_address() {
kernelspin-1015 [006] 533.405939: funcgraph_entry: | is_module_text_address() {
kernelspin-1015 [006] 533.405940: funcgraph_entry: | __module_text_address() {
trace-cmd-1010 [005] 533.405940: bprint: account_user_time : user: 1014
kernelspin-1015 [006] 533.405940: funcgraph_entry: 0.041 us | __module_address();
kernelspin-1015 [006] 533.405940: funcgraph_exit: 0.464 us | }
kernelspin-1015 [006] 533.405940: funcgraph_exit: 0.849 us | }
kernelspin-1015 [006] 533.405941: funcgraph_exit: 1.231 us | }
kernelspin-1015 [006] 533.405941: funcgraph_entry: | __kernel_text_address() {
kernelspin-1015 [006] 533.405941: funcgraph_entry: | is_module_text_address() {
kernelspin-1015 [006] 533.405941: funcgraph_entry: | __module_text_address() {
kernelspin-1015 [006] 533.405941: funcgraph_entry: 0.046 us | __module_address();
kernelspin-1015 [006] 533.405942: funcgraph_exit: 0.442 us | }
kernelspin-1015 [006] 533.405942: funcgraph_exit: 0.851 us | }
kernelspin-1015 [006] 533.405942: funcgraph_exit: 1.254 us | }
kernelspin-1015 [006] 533.405942: funcgraph_entry: 0.049 us | __kernel_text_address();
kernelspin-1015 [006] 533.405943: funcgraph_entry: | save_stack_address() {
kernelspin-1015 [006] 533.405943: funcgraph_entry: 0.042 us | __save_stack_address();
kernelspin-1015 [006] 533.405944: funcgraph_exit: 0.447 us | }
<idle>-0 [005] 533.405944: bprint: account_system_time : system: 3993
kernelspin-1015 [006] 533.405944: funcgraph_entry: | save_stack_address() {
kernelspin-1015 [006] 533.405944: funcgraph_entry: 0.055 us | __save_stack_address();
kernelspin-1015 [006] 533.405944: funcgraph_exit: 0.459 us | }And it goes on and on!
Sure enough, a big difference between my config and yours, was not only that I had slab and you had slub, but you also had lockdep, slub debugging and a whole host of things enabled in your config that will slow the kernel down.
I turned off all that in your config, recompiled, rebooted, and now I get this:
[root@bxtest ~]# time /work/c/kernelspin 10
real 0m10.001s user 0m4.336s sys 0m5.636s
Thus because the sys_brk is so fast, the program literally does millions of them. As we suffer a little error to the user side every time we do the calculation:
[user mode]
<enter kernel> <------------+
|--- error
calculate utime <------------+
[system mode]
calculate stime <------------+
|--- error
<enter user> <------------+
That is, from the time we enter the kernel to the time we make the user/system calculation, plus the time we make the user/system calculation and then leave the kernel, that total time is a slight error. And this error happens every time we enter or leave the kernel. There's no way around that.
Because this was an unrealistic program that did sys_brk() millions of times (and that's all it did), this program exaggerated the error. By adding the debug options, and slowing down the sys_brk by a multitude, we also made the % error decrease by a multitude. It even allowed us not to lose events.
Thus, I think we can blow off this concern as just an expected error of the dynamic calculation process. And this will only happen when we have a CPU in no hz mode, which shouldn't be a big deal anyway, as that is usually done by processes that don't want to go into the kernel in the first place. Thus keeping the error down.
But this error should be documented somewhere. Maybe in the Kconfig.
You can have my Acked-by back :-)
-- Steve
2013/1/29 Steven Rostedt <[email protected]>:
Quoted 192 lines · Steven Rostedt
Quoted 17 lines
[root@bxtest ~]# time /work/c/kernelspin 10
real 0m10.001s user 0m1.114s sys 0m8.886sBut after enabling the force
context_trackingI get this:[root@bxtest ~]# time /work/c/kernelspin 10
real 0m10.001s user 0m3.769s sys 0m6.203sQuoted 5 lines
Consistently. All the other runs always had a 1.X 8.X ratio. This seems to give 3.7x 6.2x ratio consistently. Maybe it's more accurate then the others. Or something else is broken.
I'll look deeper into it.
After lots of investigation, I believe I know why this is so. It is pretty much as accurate as what we have now, except before it would error on the side of the kernel, where as here we error on the side of userspace.
I added a
trace_printkwhere the utime and stime is updated, and applied my (coming to mainline soon)function_graphpatch that adds a "max_depth" to limit the function graph tracing. Setting themax_depthto 1 shows you nicely all the places that enter the kernel. Running this against mykernelspin.cprogram I get:kernelsp-2668 7d... 2837.236400: funcgraph_entry: 1.373 us | do_page_fault(); kernelsp-2668 7d... 2837.236403: funcgraph_entry: 1.409 us | do_page_fault(); kernelsp-2668 7.... 2837.236405: funcgraph_entry: 0.441 us | syscall_trace_enter(); kernelsp-2668 7.... 2837.236406: funcgraph_entry: 0.114 us | sys_brk(); kernelsp-2668 7.... 2837.236406: funcgraph_entry: 1.155 us | syscall_trace_leave(); kernelsp-2668 7d... 2837.236408: funcgraph_entry: 2.579 us | do_page_fault(); kernelsp-2668 7d... 2837.236413: funcgraph_entry: 2.720 us | do_page_fault(); kernelsp-2668 7d... 2837.236417: funcgraph_entry: 2.314 us | do_page_fault();I then wrote a perl script to parse the timestamps (and it notices the
syscall_trace_enterand leave as entering the kernel) and it creates a more accurate time that the program was in the kernel. It outputs something like:user time: 0.750846
system time: 5.695917
dropped event time: 3.525461
calc utime: 1.878059 ns
calc stime: 4.520833 nsThe first two times are what it came up with from the timestamps. As there were events dropped, it also was able to calculate the time missed for that.
As I used
trace_printk()to show the updates of utime and stime, the last two numbers show the calculated times that those functions came up with. Note, the dropped events would include both the tracing as well as updates made by this time.It's not really that far off.
Then you gave me your config where you could not reproduce the issue. I ran that too, and got:
user time: 0.000009 system time: 9.974731 dropped event time: 0.000000 calc utime: 0.772511 ns calc stime: 9.201983 nsIt still errored on the side of userspace, but what I found strange was that:
1) there were no dropped events
2) the utime/stime from the trace timestamps was much different than my configLooking at the two outputs of the trace I found:
my config:
kernelsp-2668 7.... 2837.239219: funcgraph_entry: 1.369 us | sys_brk(); kernelsp-2668 7.... 2837.239225: funcgraph_entry: 1.790 us | sys_brk(); kernelsp-2668 7.... 2837.239229: funcgraph_entry: 0.778 us | sys_brk(); kernelsp-2668 7.... 2837.239232: funcgraph_entry: 0.896 us | sys_brk();your config:
kernelsp-969 6.... 207.618010: funcgraph_entry: + 11.123 us | sys_brk(); kernelsp-969 6.... 207.618024: funcgraph_entry: 7.519 us | sys_brk(); kernelsp-969 6.... 207.618033: funcgraph_entry: 7.616 us | sys_brk(); kernelsp-969 6.... 207.618043: funcgraph_entry: 7.420 us | sys_brk();Big difference in the time spent in
sys_brk()!I did a full function graph trace and found:
kernelspin-1015 [006] 533.405921: funcgraph_entry: | sys_brk() { kernelspin-1015 [006] 533.405921: funcgraph_entry: | down_write() { kernelspin-1015 [006] 533.405921: funcgraph_entry: | __might_sleep() { kernelspin-1015 [006] 533.405922: funcgraph_entry: 0.051 us | debug_lockdep_rcu_enabled(); <idle>-0 [003] 533.405922: bprint: account_system_time : system: 2368 kernelspin-1015 [006] 533.405922: funcgraph_entry: 0.044 us | debug_lockdep_rcu_enabled(); kernelspin-1015 [006] 533.405923: funcgraph_entry: 0.051 us | debug_lockdep_rcu_enabled(); kernelspin-1015 [006] 533.405923: funcgraph_exit: 1.440 us | } kernelspin-1015 [006] 533.405923: funcgraph_exit: 2.015 us | } kernelspin-1015 [006] 533.405924: funcgraph_entry: 0.113 us | find_vma(); [...] kernelspin-1015 [006] 533.405938: funcgraph_entry: | set_track() { kernelspin-1015 [006] 533.405939: funcgraph_entry: | save_stack_trace() { trace-cmd-1010 [005] 533.405939: bprint: account_system_time : system: 3492 kernelspin-1015 [006] 533.405939: funcgraph_entry: | dump_trace() { kernelspin-1015 [006] 533.405939: funcgraph_entry: | print_context_stack() { kernelspin-1015 [006] 533.405939: funcgraph_entry: | __kernel_text_address() { kernelspin-1015 [006] 533.405939: funcgraph_entry: | is_module_text_address() { kernelspin-1015 [006] 533.405940: funcgraph_entry: | __module_text_address() { trace-cmd-1010 [005] 533.405940: bprint: account_user_time : user: 1014 kernelspin-1015 [006] 533.405940: funcgraph_entry: 0.041 us | __module_address(); kernelspin-1015 [006] 533.405940: funcgraph_exit: 0.464 us | } kernelspin-1015 [006] 533.405940: funcgraph_exit: 0.849 us | } kernelspin-1015 [006] 533.405941: funcgraph_exit: 1.231 us | } kernelspin-1015 [006] 533.405941: funcgraph_entry: | __kernel_text_address() { kernelspin-1015 [006] 533.405941: funcgraph_entry: | is_module_text_address() { kernelspin-1015 [006] 533.405941: funcgraph_entry: | __module_text_address() { kernelspin-1015 [006] 533.405941: funcgraph_entry: 0.046 us | __module_address(); kernelspin-1015 [006] 533.405942: funcgraph_exit: 0.442 us | } kernelspin-1015 [006] 533.405942: funcgraph_exit: 0.851 us | } kernelspin-1015 [006] 533.405942: funcgraph_exit: 1.254 us | } kernelspin-1015 [006] 533.405942: funcgraph_entry: 0.049 us | __kernel_text_address(); kernelspin-1015 [006] 533.405943: funcgraph_entry: | save_stack_address() { kernelspin-1015 [006] 533.405943: funcgraph_entry: 0.042 us | __save_stack_address(); kernelspin-1015 [006] 533.405944: funcgraph_exit: 0.447 us | } <idle>-0 [005] 533.405944: bprint: account_system_time : system: 3993 kernelspin-1015 [006] 533.405944: funcgraph_entry: | save_stack_address() { kernelspin-1015 [006] 533.405944: funcgraph_entry: 0.055 us | __save_stack_address(); kernelspin-1015 [006] 533.405944: funcgraph_exit: 0.459 us | }And it goes on and on!
Sure enough, a big difference between my config and yours, was not only that I had slab and you had slub, but you also had lockdep, slub debugging and a whole host of things enabled in your config that will slow the kernel down.
I turned off all that in your config, recompiled, rebooted, and now I get this:
[root@bxtest ~]# time /work/c/kernelspin 10
real 0m10.001s user 0m4.336s sys 0m5.636sThus because the
sys_brkis so fast, the program literally does millions of them. As we suffer a little error to the user side every time we do the calculation:[user mode]
<enter kernel> <------------+
|--- errorcalculate utime <------------+
[system mode]
calculate stime <------------+
|--- error<enter user> <------------+
That is, from the time we enter the kernel to the time we make the user/system calculation, plus the time we make the user/system calculation and then leave the kernel, that total time is a slight error. And this error happens every time we enter or leave the kernel. There's no way around that.
Because this was an unrealistic program that did
sys_brk()millions of times (and that's all it did), this program exaggerated the error. By adding the debug options, and slowing down thesys_brkby a multitude, we also made the % error decrease by a multitude. It even allowed us not to lose events.Thus, I think we can blow off this concern as just an expected error of the dynamic calculation process. And this will only happen when we have a CPU in no hz mode, which shouldn't be a big deal anyway, as that is usually done by processes that don't want to go into the kernel in the first place. Thus keeping the error down.
Quoted 5 lines
But this error should be documented somewhere. Maybe in the
Kconfig.You can have my Acked-by back :-)
Acked-by Steven Rostedt <[email protected]>
Wow you did a great analysis. Thanks for having taken so much time on this. Ok I'll wait for Ingo to pull the branch, if he's ok, then I'll add some precisions on the Kconfig to talk about that tiny error margin.
Thanks!
Re: [PATCH 8/8] cputime: Safely read cputime of full dynticks CPUs
In reply to Sedat DilekQuoted 30 lines · Sedat Dilek
Quoted 12 lines · Frederic Weisbecker
While remotely reading the cputime of a task running in a full dynticks CPU, the values stored in utime/stime fields of struct
task_structmay be stale. Its values may be those of the last kernel <-> user transition time snapshot and we need to add the tickless time spent since this snapshot.To fix this, flush the cputime of the dynticks CPUs on kernel <-> user transition and record the time / context where we did this. Then on top of this snapshot and the current time, perform the fixup on the reader side from
task_times()accessors.Quoted 13 lines
Signed-off-by Frederic Weisbecker <[email protected]>Cc Andrew Morton <[email protected]>Cc Ingo Molnar <[email protected]>Cc Li Zhong <[email protected]>Cc Namhyung Kim <[email protected]>Cc Paul E. McKenney <[email protected]>Cc Paul Gortmaker <[email protected]>Cc Peter Zijlstra <[email protected]>Cc Steven Rostedt <[email protected]>Cc Thomas Gleixner <[email protected]>[fixed kvm module related build errors]Signed-off-by Sedat Dilek <[email protected]>Can you explain a bit what is the difference between "3.8-rc4-nohz3" and "full-dynticks-cputime-for-mingo" patchsets?
Quoted 6 lines
Does the latter need no more
EXPORT_SYMBOL_GPLforvtime_guest_enter()andvtime_guest_exit()whenCONFIG_KVM=m(see [1])?- Sedat -
To answer my question by myself...
$ grep 'CONFIG_KVM=' linux/.config CONFIG_KVM=m
$ grep kvm deb-pkg.log CC arch/x86/kernel/kvm.o CC arch/x86/kernel/kvmclock.o LD arch/x86/kvm/built-in.o CC [M] arch/x86/kvm/vmx.o CC [M] arch/x86/kvm/../../../virt/kvm/kvm_main.o CC [M] arch/x86/kvm/../../../virt/kvm/ioapic.o CC [M] arch/x86/kvm/../../../virt/kvm/coalesced_mmio.o CC [M] arch/x86/kvm/../../../virt/kvm/irq_comm.o CC [M] arch/x86/kvm/../../../virt/kvm/eventfd.o CC [M] arch/x86/kvm/../../../virt/kvm/assigned-dev.o CC [M] arch/x86/kvm/../../../virt/kvm/iommu.o CC [M] arch/x86/kvm/../../../virt/kvm/async_pf.o CC [M] arch/x86/kvm/x86.o CC [M] arch/x86/kvm/mmu.o CC [M] arch/x86/kvm/emulate.o CC [M] arch/x86/kvm/i8259.o CC [M] arch/x86/kvm/irq.o CC [M] arch/x86/kvm/lapic.o CC [M] arch/x86/kvm/i8254.o CC [M] arch/x86/kvm/cpuid.o CC [M] arch/x86/kvm/pmu.o LD [M] arch/x86/kvm/kvm.o LD [M] arch/x86/kvm/kvm-intel.o CC arch/x86/kvm/kvm-intel.mod.o CC arch/x86/kvm/kvm.mod.o LD [M] arch/x86/kvm/kvm-intel.ko LD [M] arch/x86/kvm/kvm.ko INSTALL arch/x86/kvm/kvm-intel.ko INSTALL arch/x86/kvm/kvm.ko
...both EXPORT_SYMBOL_GPLs are no more needed!
- Sedat .
Re: [PATCH 8/8] cputime: Safely read cputime of full dynticks CPUs
In reply to Sedat Dilek2013/1/28 Sedat Dilek <[email protected]>:
Quoted 27 lines · Frederic Weisbecker
Quoted 12 lines
While remotely reading the cputime of a task running in a full dynticks CPU, the values stored in utime/stime fields of struct
task_structmay be stale. Its values may be those of the last kernel <-> user transition time snapshot and we need to add the tickless time spent since this snapshot.To fix this, flush the cputime of the dynticks CPUs on kernel <-> user transition and record the time / context where we did this. Then on top of this snapshot and the current time, perform the fixup on the reader side from
task_times()accessors.Quoted 13 lines
Signed-off-by Frederic Weisbecker <[email protected]>Cc Andrew Morton <[email protected]>Cc Ingo Molnar <[email protected]>Cc Li Zhong <[email protected]>Cc Namhyung Kim <[email protected]>Cc Paul E. McKenney <[email protected]>Cc Paul Gortmaker <[email protected]>Cc Peter Zijlstra <[email protected]>Cc Steven Rostedt <[email protected]>Cc Thomas Gleixner <[email protected]>[fixed kvm module related build errors]Signed-off-by Sedat Dilek <[email protected]>
Quoted 2 lines
Can you explain a bit what is the difference between "3.8-rc4-nohz3" and "full-dynticks-cputime-for-mingo" patchsets?
3.8-rc4-nohz3 is the latest experimental tree that implements full dynticks. It includes an earlier version of full dynticks cputime and many other things to make the full dynticks possible: nohz printk, many tweaks on the scheduler and timers...etc
Quoted 3 lines
Does the latter need no more
EXPORT_SYMBOL_GPLforvtime_guest_enter()andvtime_guest_exit()whenCONFIG_KVM=m(see [1])?
It doesn't need export symbol on vtime_guest_() APIs, only on guest_enter and guest_exit.
Thanks.
Re: [PATCH 8/8] cputime: Safely read cputime of full dynticks CPUs
Quoted 28 lines · Frederic Weisbecker
2013/1/28 Sedat Dilek <[email protected]>:
Quoted 27 lines · Frederic Weisbecker
Quoted 25 lines
While remotely reading the cputime of a task running in a full dynticks CPU, the values stored in utime/stime fields of struct
task_structmay be stale. Its values may be those of the last kernel <-> user transition time snapshot and we need to add the tickless time spent since this snapshot.To fix this, flush the cputime of the dynticks CPUs on kernel <-> user transition and record the time / context where we did this. Then on top of this snapshot and the current time, perform the fixup on the reader side from
task_times()accessors.Signed-off-by Frederic Weisbecker <[email protected]>Cc Andrew Morton <[email protected]>Cc Ingo Molnar <[email protected]>Cc Li Zhong <[email protected]>Cc Namhyung Kim <[email protected]>Cc Paul E. McKenney <[email protected]>Cc Paul Gortmaker <[email protected]>Cc Peter Zijlstra <[email protected]>Cc Steven Rostedt <[email protected]>Cc Thomas Gleixner <[email protected]>[fixed kvm module related build errors]Signed-off-by Sedat Dilek <[email protected]>
Quoted 8 lines
Quoted 2 lines
Can you explain a bit what is the difference between "3.8-rc4-nohz3" and "full-dynticks-cputime-for-mingo" patchsets?
3.8-rc4-nohz3 is the latest experimental tree that implements full dynticks. It includes an earlier version of full dynticks cputime and many other things to make the full dynticks possible: nohz printk, many tweaks on the scheduler and timers...etc
So, dynticks-cputime will go into 3.9?
What about the other parts? Coming later?
Quoted 7 lines
Quoted 3 lines
Does the latter need no more
EXPORT_SYMBOL_GPLforvtime_guest_enter()andvtime_guest_exit()whenCONFIG_KVM=m(see [1])?It doesn't need export symbol on
vtime_guest_()APIs, only onguest_enterandguest_exit.
I verified this by building by myself.
- Sedat -
Quoted 1 line
Thanks.
Re: [PATCH 8/8] cputime: Safely read cputime of full dynticks CPUs
2013/1/31 Sedat Dilek <[email protected]>:
Quoted 32 lines · Frederic Weisbecker
Quoted 31 lines
2013/1/28 Sedat Dilek <[email protected]>:
Quoted 29 lines · Frederic Weisbecker
Quoted 12 lines
While remotely reading the cputime of a task running in a full dynticks CPU, the values stored in utime/stime fields of struct
task_structmay be stale. Its values may be those of the last kernel <-> user transition time snapshot and we need to add the tickless time spent since this snapshot.To fix this, flush the cputime of the dynticks CPUs on kernel <-> user transition and record the time / context where we did this. Then on top of this snapshot and the current time, perform the fixup on the reader side from
task_times()accessors.Quoted 13 lines
Signed-off-by Frederic Weisbecker <[email protected]>Cc Andrew Morton <[email protected]>Cc Ingo Molnar <[email protected]>Cc Li Zhong <[email protected]>Cc Namhyung Kim <[email protected]>Cc Paul E. McKenney <[email protected]>Cc Paul Gortmaker <[email protected]>Cc Peter Zijlstra <[email protected]>Cc Steven Rostedt <[email protected]>Cc Thomas Gleixner <[email protected]>[fixed kvm module related build errors]Signed-off-by Sedat Dilek <[email protected]>Can you explain a bit what is the difference between "3.8-rc4-nohz3" and "full-dynticks-cputime-for-mingo" patchsets?
Quoted 7 lines
Quoted 5 lines
3.8-rc4-nohz3 is the latest experimental tree that implements full dynticks. It includes an earlier version of full dynticks cputime and many other things to make the full dynticks possible: nohz printk, many tweaks on the scheduler and timers...etc
So, dynticks-cputime will go into 3.9?
I can't say "will" but I hope.
Quoted 1 line
What about the other parts? Coming later?
May be the printk part will go into 3.9. Linus ignored my pull request so may be we'll get more chances if it goes through Ingo.
And the rest will come later.
Re: [PATCH 8/8] cputime: Safely read cputime of full dynticks CPUs
Quoted 39 lines · Frederic Weisbecker
2013/1/31 Sedat Dilek <[email protected]>:
Quoted 38 lines · Frederic Weisbecker
Quoted 36 lines
2013/1/28 Sedat Dilek <[email protected]>:
Quoted 27 lines · Frederic Weisbecker
Quoted 12 lines
While remotely reading the cputime of a task running in a full dynticks CPU, the values stored in utime/stime fields of struct
task_structmay be stale. Its values may be those of the last kernel <-> user transition time snapshot and we need to add the tickless time spent since this snapshot.To fix this, flush the cputime of the dynticks CPUs on kernel <-> user transition and record the time / context where we did this. Then on top of this snapshot and the current time, perform the fixup on the reader side from
task_times()accessors.Quoted 13 lines
Signed-off-by Frederic Weisbecker <[email protected]>Cc Andrew Morton <[email protected]>Cc Ingo Molnar <[email protected]>Cc Li Zhong <[email protected]>Cc Namhyung Kim <[email protected]>Cc Paul E. McKenney <[email protected]>Cc Paul Gortmaker <[email protected]>Cc Peter Zijlstra <[email protected]>Cc Steven Rostedt <[email protected]>Cc Thomas Gleixner <[email protected]>[fixed kvm module related build errors]Signed-off-by Sedat Dilek <[email protected]>Quoted 2 lines
Can you explain a bit what is the difference between "3.8-rc4-nohz3" and "full-dynticks-cputime-for-mingo" patchsets?
3.8-rc4-nohz3 is the latest experimental tree that implements full dynticks. It includes an earlier version of full dynticks cputime and many other things to make the full dynticks possible: nohz printk, many tweaks on the scheduler and timers...etc
Quoted 9 lines
Quoted 1 line
So, dynticks-cputime will go into 3.9?
I can't say "will" but I hope.
Quoted 1 line
What about the other parts? Coming later?
May be the printk part will go into 3.9. Linus ignored my pull request so may be we'll get more chances if it goes through Ingo.
I still dunno all parts of dynticks and their correlation. AFAICS they seem to be independent, can't say if it is "complete" with dynticks-cputime-only.
Was that dynticks stuff ever advertised for Linux-Next inclusion? Or wnt through any "mingo-next" tree?
AFAICS, better chances these ways!
- Sedat -
Quoted 1 line
And the rest will come later.
Re: [PATCH 8/8] cputime: Safely read cputime of full dynticks CPUs
2013/1/31 Sedat Dilek <[email protected]>:
Quoted 3 lines
I still dunno all parts of dynticks and their correlation. AFAICS they seem to be independent, can't say if it is "complete" with dynticks-cputime-only.
Dynticks cputime and dynticks printk are both standalone and independant. In mainline, both printk and cputime accounting rely on the tick. With these two patchsets we can now use these without the tick.
But that's not enough to shut down the timer safely. There are still some other subsystems that depend on the tick: posix cpu timers, perf events, scheduler, RCU (although RCU is mostly handled now), timekeeping....
Quite some of these subsystems are handled in my nohz tree
(https://lwn.net/Articles/533677/) which also contains the code that actually shutdown the tick when possible.
Quoted 2 lines
Was that dynticks stuff ever advertised for Linux-Next inclusion?
No, the code is not yet clean and complete enough for -next.
Quoted 2 lines
Or wnt through any "mingo-next" tree?
AFAICS, better chances these ways!
So indeed, I'm trying to get the things merged by Ingo. And for that I try to cut my tree into individual features (tickless printk, tickless cputime accounting, next step is probably posix cpu timers, ...). Cutting things that way makes them much easier to review and merge. In the meantime I continue to release my full dynticks tree (such as 3.8-rc4-nohz3): this is where I experiment the next remaining pieces to handle in the future, it's mostly a draft.
Re: [PATCH 4/8] cputime: Generic on-demand virtual cputime accounting
In reply to Frederic WeisbeckerHi Frederic,
Quoted 32 lines · On Mon, 28 Jan 2013 20:04:01 +0100 Frederic Weisbecker <[email protected]>…
If we want to stop the tick further idle, we need to be able to account the cputime without using the tick.
Virtual based cputime accounting solves that problem by hooking into kernel/user boundaries.
However implementing
CONFIG_VIRT_CPU_ACCOUNTINGrequire low level hooks and involves more overhead. But we already have a generic context tracking subsystem that is required for RCU needs by archs which plan to shut down the tick outside idle.This patch implements a generic virtual based cputime accounting that relies on these generic kernel/user hooks.
There are some upsides of doing this:
- This requires no arch code to implement
CONFIG_VIRT_CPU_ACCOUNTINGif context tracking is already built (already necessary for RCU in full tickless mode).- We can rely on the generic context tracking subsystem to dynamically (de)activate the hooks, so that we can switch anytime between virtual and tick based accounting. This way we don't have the overhead of the virtual accounting when the tick is running periodically.
And one downside:
- There is probably more overhead than a native virtual based cputime accounting. But this relies on hooks that are already set anyway.
Quoted 10 lines
Signed-off-by Frederic Weisbecker <[email protected]>Cc Andrew Morton <[email protected]>Cc Ingo Molnar <[email protected]>Cc Li Zhong <[email protected]>Cc Namhyung Kim <[email protected]>Cc Paul E. McKenney <[email protected]>Cc Paul Gortmaker <[email protected]>Cc Peter Zijlstra <[email protected]>Cc Steven Rostedt <[email protected]>Cc Thomas Gleixner <[email protected]>
This patch has the side effect of changing the default configurations:
(This is PowerPC pseries_defconfig before/after this patch)
@@ -119,8 +120,8 @@
#
# CPU/Task time and stats accounting
#
-# CONFIG_TICK_CPU_ACCOUNTING is not set
-CONFIG_VIRT_CPU_ACCOUNTING=y
+CONFIG_TICK_CPU_ACCOUNTING=y
+# CONFIG_VIRT_CPU_ACCOUNTING_NATIVE is not set
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
I don't know if that was deliberate, but it was suprising. I noticed when this patch entered next-20130207.
Signature · 2 lines
Cheers, Stephen Rothwell [email protected]
Re: [PATCH 4/8] cputime: Generic on-demand virtual cputime accounting
Hi Frederic,
Quoted 16 lines · On Fri, 8 Feb 2013 14:07:49 +1100 Stephen Rothwell <[email protected]> wrote:
This patch has the side effect of changing the default configurations:
(This is PowerPCpseries_defconfigbefore/after this patch)(quoted diff) +2
-2@@ -119,8 +120,8 @@ # # CPU/Task time and stats accounting # -# CONFIG_TICK_CPU_ACCOUNTING is not set -CONFIG_VIRT_CPU_ACCOUNTING=y +CONFIG_TICK_CPU_ACCOUNTING=y +# CONFIG_VIRT_CPU_ACCOUNTING_NATIVE is not set # CONFIG_BSD_PROCESS_ACCT is not set CONFIG_TASKSTATS=y CONFIG_TASK_DELAY_ACCT=y
Quoted 2 lines
I don't know if that was deliberate, but it was suprising. I noticed when this patch entered next-20130207.
I suspect that this is caused by the changes to init/Kconfig:
init/Kconfig +3 -0
@@ -326,6 +326,9 @@ source "kernel/time/Kconfig" menu "CPU/Task time and stats accounting" +config VIRT_CPU_ACCOUNTING + bool + choice prompt "Cputime accounting" default TICK_CPU_ACCOUNTING if !PPC64
The next line of context is:
default VIRT_CPU_ACCOUNTING if PPC64
Which may have needed changing as well? Indeed, changing that to VIRT_CPU_ACCOUNTING_NATIVE restores the old defaults.
Signature · 2 lines
Cheers, Stephen Rothwell [email protected]
PATCH 1/1 cputime: restore CPU_ACCOUNTING config defaults for PPC64
Commit abf917cd91cb ("cputime: Generic on-demand virtual cputime accounting") inadvertantly changed the default CPU_ACCOUNTING config for PPC64. Repair that.
--- init/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
init/Kconfig +1 -1
@@ -301,7 +301,7 @@ config VIRT_CPU_ACCOUNTING choice prompt "Cputime accounting" default TICK_CPU_ACCOUNTING if !PPC64 - default VIRT_CPU_ACCOUNTING if PPC64 + default VIRT_CPU_ACCOUNTING_NATIVE if PPC64 # Kind of a stub config for the pure tick based cputime accounting config TICK_CPU_ACCOUNTING
Signature · 5 lines
1.8.1 -- Cheers, Stephen Rothwell [email protected]
Re: [PATCH 4/8] cputime: Generic on-demand virtual cputime accounting
In reply to Stephen Rothwell2013/2/8 Stephen Rothwell <[email protected]>:
Quoted 39 lines
Hi Frederic,
Quoted 16 lines · On Fri, 8 Feb 2013 14:07:49 +1100 Stephen Rothwell <[email protected]> wrote:
This patch has the side effect of changing the default configurations:
(This is PowerPCpseries_defconfigbefore/after this patch)(quoted diff) +2
-2@@ -119,8 +120,8 @@ # # CPU/Task time and stats accounting # -# CONFIG_TICK_CPU_ACCOUNTING is not set -CONFIG_VIRT_CPU_ACCOUNTING=y +CONFIG_TICK_CPU_ACCOUNTING=y +# CONFIG_VIRT_CPU_ACCOUNTING_NATIVE is not set # CONFIG_BSD_PROCESS_ACCT is not set CONFIG_TASKSTATS=y CONFIG_TASK_DELAY_ACCT=yQuoted 2 lines
I don't know if that was deliberate, but it was suprising. I noticed when this patch entered next-20130207.
I suspect that this is caused by the changes to init/Kconfig:
init/Kconfig +3
-0@@ -326,6 +326,9 @@ source "kernel/time/Kconfig" menu "CPU/Task time and stats accounting" +config VIRT_CPU_ACCOUNTING + bool + choice prompt "Cputime accounting" default TICK_CPU_ACCOUNTING if !PPC64
Quoted 6 lines
The next line of context is:
default
VIRT_CPU_ACCOUNTINGif PPC64Which may have needed changing as well? Indeed, changing that to
VIRT_CPU_ACCOUNTING_NATIVErestores the old defaults.
Indeed, thanks for your fix!
[tip:sched/core] cputime: Restore CPU_ACCOUNTING config defaults for PPC64
In reply to Stephen RothwellCommit-ID: 02fc8d37229d15c654876cf9ce56b5c1cf7945d7 Gitweb: http://git.kernel.org/tip/02fc8d37229d15c654876cf9ce56b5c1cf7945d7 Author: Stephen Rothwell <[email protected]> AuthorDate: Fri, 8 Feb 2013 14:19:38 +1100 Committer: Ingo Molnar <[email protected]> CommitDate: Fri, 8 Feb 2013 15:23:12 +0100
cputime: Restore CPU_ACCOUNTING config defaults for PPC64
Commit abf917cd91cb ("cputime: Generic on-demand virtual cputime accounting") inadvertantly changed the default CPU_ACCOUNTING config for PPC64. Repair that.
--- init/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
init/Kconfig +1 -1
@@ -332,7 +332,7 @@ config VIRT_CPU_ACCOUNTING choice prompt "Cputime accounting" default TICK_CPU_ACCOUNTING if !PPC64 - default VIRT_CPU_ACCOUNTING if PPC64 + default VIRT_CPU_ACCOUNTING_NATIVE if PPC64 # Kind of a stub config for the pure tick based cputime accounting config TICK_CPU_ACCOUNTING
Re: [PATCH 2/8] cputime: Librarize per nsecs resolution cputime definitions
In reply to Frederic WeisbeckerQuoted 10 lines · Frederic Weisbecker
The full dynticks cputime accounting that we'll soon introduce will rely on
sched_clock(). And its clock can have a per nanosecond granularity.To prepare for this, we need to have a
cputime_timplementation that has this precision.ia64 virtual cputime accounting already uses that granularity so all we need is to librarize its implementation in the asm generic headers.
...except that for it to be truly generic (i.e. usable on 32-bit arches), it should be using do_div() for 64-bit divides.
I understand this series is targetted at 64-bit platforms currently, but I'm looking (again) at getting adaptive NOHZ working on ARM, and this was the first obvious obstacle to even compiling.
I see this is already merged into tip/sched/core, so below is a patch on top of that to convert to using do_div(). If you're OK with the approach, I'll post it formally to LKML.
Thanks,
Kevin
Quoted 1 line
From
b1572b5ae67d4221277484e59d571b639775af70Mon Sep 17 00:00:00 2001
From: Kevin Hilman <[email protected]>
Date: Thu, 14 Feb 2013 11:27:36 -0800
Subject: [PATCH] cputime: use do_div() for nsec resolution conversion helpers
For the nsec resolution conversions to be useful on non 64-bit architectures, do_div() needs to be used for the 64-bit divisions.
--- include/asm-generic/cputime_nsecs.h | 51 +++++++++++++++++++++++++++---------- 1 file changed, 37 insertions(+), 14 deletions(-)
include/asm-generic/cputime_nsecs.h +37 -14
@@ -24,13 +24,17 @@ typedef u64 __nocast cputime64_t;/* * Convert cputime <-> jiffies (HZ) */ -#define cputime_to_jiffies (__ct) \ - ((__force u64)(__ct) / (NSEC_PER_SEC / HZ)) +static inline u64 cputime_to_jiffies (const cputime_t ct) +{ +cputime_t __ct = ct; + +do_div (__ct,NSEC_PER_SEC /HZ ); +return __ct; +}#define cputime_to_scaled (__ct) (__ct)#define jiffies_to_cputime (__jif) \ (__force cputime_t)((__jif) * (NSEC_PER_SEC / HZ)) -#define cputime64_to_jiffies64 (__ct) \ - ((__force u64)(__ct) / (NSEC_PER_SEC / HZ)) +#define cputime64_to_jiffies64 (__ct) cputime_to_jiffies(__ct)#define jiffies64_to_cputime64 (__jif) \ (__force cputime64_t)((__jif) * (NSEC_PER_SEC / HZ))
@@ -44,8 +48,13 @@ typedef u64 __nocast cputime64_t;/* * Convert cputime <-> microseconds */ -#define cputime_to_usecs (__ct) \ - ((__force u64)(__ct) / NSEC_PER_USEC) +static inline u64 cputime_to_usecs (const cputime_t ct) +{ +cputime_t __ct = ct; + +do_div (__ct,NSEC_PER_USEC ); +return __ct; +}#define usecs_to_cputime (__usecs) \ (__force cputime_t)((__usecs) * NSEC_PER_USEC)#define usecs_to_cputime64 (__usecs) \
@@ -54,8 +63,13 @@ typedef u64 __nocast cputime64_t;/* * Convert cputime <-> seconds */ -#define cputime_to_secs (__ct) \ - ((__force u64)(__ct) / NSEC_PER_SEC) +static inline u64 cputime_to_secs (const cputime_t ct) +{ +cputime_t __ct = ct; + +do_div (__ct,NSEC_PER_SEC ); +return __ct; +}#define secs_to_cputime (__secs) \ (__force cputime_t)((__secs) * NSEC_PER_SEC)
@@ -69,8 +83,10 @@ static inline cputime_t timespec_to_cputime(const struct timespec *val) }static inline void cputime_to_timespec (const cputime_t ct,struct timespec *val) { - val->tv_sec = (__force u64 ) ct /NSEC_PER_SEC ; - val->tv_nsec = (__force u64 ) ct %NSEC_PER_SEC ; +cputime_t __ct = ct; + + val->tv_nsec =do_div (__ct,NSEC_PER_SEC ); + val->tv_sec = __ct; }/*
@@ -83,15 +99,22 @@ static inline cputime_t timeval_to_cputime(struct timeval *val) }static inline void cputime_to_timeval (const cputime_t ct,struct timeval *val) { - val->tv_sec = (__force u64 ) ct /NSEC_PER_SEC ; - val->tv_usec = ((__force u64 ) ct %NSEC_PER_SEC ) /NSEC_PER_USEC ; +cputime_t __ct = ct; + + val->tv_usec =do_div (__ct,NSEC_PER_SEC ) /NSEC_PER_USEC ; + val->tv_sec = __ct; }/* * Convert cputime <-> clock (USER_HZ) */ -#define cputime_to_clock_t (__ct) \ - ((__force u64)(__ct) / (NSEC_PER_SEC / USER_HZ)) +static inline u64 cputime_to_clock_t (const cputime_t ct) +{ +cputime_t __ct = ct; + +do_div (__ct, (NSEC_PER_SEC /USER_HZ )); +return __ct; +}#define clock_t_to_cputime (__x) \ (__force cputime_t)((__x) * (NSEC_PER_SEC / USER_HZ))
Signature · 1 line
1.8.1.2
Quoted 5 lines · Frederic Weisbecker
Ingo,
Please pull the new full dynticks cputime accounting code that can be found at:
Quoted 8 lines
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
tags/full-dynticks-cputime-for-mingoMy last concern is the dependency on
CONFIG_64BIT. We rely oncputime_tbeing u64 for reasonable nanosec granularity implementation. And therefore we need a single instruction fetch to read kernel cpustat for atomicity requirement against concurrent incrementation, which only 64 bit archs can provide.
Actually, moderately recent 32-bit ARMs can do atomic 64-bit load/stores too.
Also, is it just kernel_cpustat increments that need protection? or do the various reads of the task_struct's cputime fields also need protection (hmm, thinking twice, maybe those are already sufficiently protected by the vtime_seqlock?)
Quoted 2 lines
It's probably no big deal to solve this issue. What we need is simply some atomic accessors.
What about using the atomic64_* accessors? Those would just use the native loads/stores on arches that have them, otherwise CONFIG_GENERIC_ATOMIC64 provides some fallbacks.
To give it a try, below is a quick patch to convert kernel_cpustat to atomic64. I only got as far as compile testing and basic boot testing on a 32-bit ARM platform, but let me know if this is the right direction.
Quoted 3 lines
There is just no emergency though as this new option depends on the context tracking subsystem that only x86-64 (and soon ppc64) implements yet. And this set is complex enough already. I think we can deal with that later.
I've started working on the ARM version of the context_tracker, so "later" is coming quickly and I will do what I can to help this along.
Kevin
Quoted 1 line
From
9881fc4b86a63244018a4bdb5a383f3b862a0b8bMon Sep 17 00:00:00 2001
From: Kevin Hilman <[email protected]>
Date: Thu, 14 Feb 2013 17:46:08 -0800
Subject: [PATCH] kernel_cpustat: convert to atomic 64-bit accessors
WIP: only compile tested and basic boot tested on 32-bit ARM platform
--- fs/proc/stat.c | 36 ++++++++++++++++++------------------ fs/proc/uptime.c | 2 +- include/linux/kernel_stat.h | 2 +- kernel/sched/cputime.c | 22 +++++++++++----------- 4 files changed, 31 insertions(+), 31 deletions(-)
fs/proc/stat.c +18 -18
@@ -52,7 +52,7 @@ static u64 get_idle_time(int cpu)if (idle_time ==-1ULL )/* !NO_HZ or cpu offline so we can rely on cpustat.idle */ - idle =kcpustat_cpu (cpu).cpustat[CPUTIME_IDLE ]; + idle =atomic64_read (&kcpustat_cpu (cpu).cpustat[CPUTIME_IDLE ]);else idle =usecs_to_cputime64 (idle_time);
@@ -68,7 +68,7 @@ static u64 get_iowait_time(int cpu)if (iowait_time ==-1ULL )/* !NO_HZ or cpu offline so we can rely on cpustat.iowait */ - iowait =kcpustat_cpu (cpu).cpustat[CPUTIME_IOWAIT ]; + iowait =atomic64_read (&kcpustat_cpu (cpu).cpustat[CPUTIME_IOWAIT ]);else iowait =usecs_to_cputime64 (iowait_time);
@@ -95,16 +95,16 @@ static int show_stat(struct seq_file *p, void *v) jif = boottime.tv_sec;for_each_possible_cpu (i) { - user +=kcpustat_cpu (i).cpustat[CPUTIME_USER ]; - nice +=kcpustat_cpu (i).cpustat[CPUTIME_NICE ]; - system +=kcpustat_cpu (i).cpustat[CPUTIME_SYSTEM ]; + user +=atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_USER ]); + nice +=atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_NICE ]); + system +=atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_SYSTEM ]); idle +=get_idle_time (i); iowait +=get_iowait_time (i); - irq +=kcpustat_cpu (i).cpustat[CPUTIME_IRQ ]; - softirq +=kcpustat_cpu (i).cpustat[CPUTIME_SOFTIRQ ]; - steal +=kcpustat_cpu (i).cpustat[CPUTIME_STEAL ]; - guest +=kcpustat_cpu (i).cpustat[CPUTIME_GUEST ]; - guest_nice +=kcpustat_cpu (i).cpustat[CPUTIME_GUEST_NICE ]; + irq +=atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_IRQ ]); + softirq +=atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_SOFTIRQ ]); + steal +=atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_STEAL ]); + guest +=atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_GUEST ]); + guest_nice +=atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_GUEST_NICE ]); sum +=kstat_cpu_irqs_sum (i); sum +=arch_irq_stat_cpu (i);
@@ -132,16 +132,16 @@ static int show_stat(struct seq_file *p, void *v)for_each_online_cpu (i) {/* Copy values here to work around gcc-2.95.3, gcc-2.96 */ - user =kcpustat_cpu (i).cpustat[CPUTIME_USER ]; - nice =kcpustat_cpu (i).cpustat[CPUTIME_NICE ]; - system =kcpustat_cpu (i).cpustat[CPUTIME_SYSTEM ]; + user =atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_USER ]); + nice =atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_NICE ]); + system =atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_SYSTEM ]); idle =get_idle_time (i); iowait =get_iowait_time (i); - irq =kcpustat_cpu (i).cpustat[CPUTIME_IRQ ]; - softirq =kcpustat_cpu (i).cpustat[CPUTIME_SOFTIRQ ]; - steal =kcpustat_cpu (i).cpustat[CPUTIME_STEAL ]; - guest =kcpustat_cpu (i).cpustat[CPUTIME_GUEST ]; - guest_nice =kcpustat_cpu (i).cpustat[CPUTIME_GUEST_NICE ]; + irq =atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_IRQ ]); + softirq =atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_SOFTIRQ ]); + steal =atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_STEAL ]); + guest =atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_GUEST ]); + guest_nice =atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_GUEST_NICE ]);seq_printf (p,"cpu%d" , i);seq_put_decimal_ull (p,' ' ,cputime64_to_clock_t (user));seq_put_decimal_ull (p,' ' ,cputime64_to_clock_t (nice));
fs/proc/uptime.c +1 -1
@@ -18,7 +18,7 @@ static int uptime_proc_show(struct seq_file *m, void *v) idletime =0 ;for_each_possible_cpu (i) - idletime += (__force u64 )kcpustat_cpu (i).cpustat[CPUTIME_IDLE ]; + idletime +=atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_IDLE ]);do_posix_clock_monotonic_gettime (&uptime);monotonic_to_bootbased (&uptime);
include/linux/kernel_stat.h +1 -1
@@ -32,7 +32,7 @@ enum cpu_usage_stat { };struct kernel_cpustat { -u64 cpustat[NR_STATS ]; +atomic64_t cpustat[NR_STATS ]; };struct kernel_stat {
kernel/sched/cputime.c +11 -11
@@ -125,7 +125,7 @@ static inline void task_group_account_field(struct task_struct *p, int index,* is the only cgroup, then nothing else should be necessary. * */ -__get_cpu_var (kernel_cpustat).cpustat[index] += tmp; +atomic64_add (tmp, &__get_cpu_var (kernel_cpustat).cpustat[index]);#ifdef CONFIG_CGROUP_CPUACCT if (unlikely (!cpuacct_subsys.active))
@@ -176,7 +176,7 @@ void account_user_time(struct task_struct *p, cputime_t cputime,static void account_guest_time (struct task_struct *p,cputime_t cputime,cputime_t cputime_scaled) { -u64 *cpustat = kcpustat_this_cpu->cpustat; +atomic64_t *cpustat = kcpustat_this_cpu->cpustat;/* Add guest time to process. */ p->utime += cputime;
@@ -186,11 +186,11 @@ static void account_guest_time(struct task_struct *p, cputime_t cputime,/* Add guest time to cpustat. */ if (TASK_NICE (p) >0 ) { - cpustat[CPUTIME_NICE ] += (__force u64 ) cputime; - cpustat[CPUTIME_GUEST_NICE ] += (__force u64 ) cputime; +atomic64_add ((__force u64 ) cputime, &cpustat[CPUTIME_NICE ]); +atomic64_add ((__force u64 ) cputime, &cpustat[CPUTIME_GUEST_NICE ]); }else { - cpustat[CPUTIME_USER ] += (__force u64 ) cputime; - cpustat[CPUTIME_GUEST ] += (__force u64 ) cputime; +atomic64_add ((__force u64 ) cputime, &cpustat[CPUTIME_USER ]); +atomic64_add ((__force u64 ) cputime, &cpustat[CPUTIME_GUEST ]); } }
@@ -250,9 +250,9 @@ void account_system_time(struct task_struct *p, int hardirq_offset,*/ void account_steal_time (cputime_t cputime) { -u64 *cpustat = kcpustat_this_cpu->cpustat; +atomic64_t *cpustat = kcpustat_this_cpu->cpustat; - cpustat[CPUTIME_STEAL ] += (__force u64 ) cputime; +atomic64_add ((__force u64 ) cputime, &cpustat[CPUTIME_STEAL ]); }/*
@@ -261,13 +261,13 @@ void account_steal_time(cputime_t cputime)*/ void account_idle_time (cputime_t cputime) { -u64 *cpustat = kcpustat_this_cpu->cpustat; +atomic64_t *cpustat = kcpustat_this_cpu->cpustat;struct rq *rq =this_rq ();if (atomic_read (&rq->nr_iowait) >0 ) - cpustat[CPUTIME_IOWAIT ] += (__force u64 ) cputime; +atomic64_add ((__force u64 ) cputime, &cpustat[CPUTIME_IOWAIT ]);else - cpustat[CPUTIME_IDLE ] += (__force u64 ) cputime; +atomic64_add ((__force u64 ) cputime, &cpustat[CPUTIME_IDLE ]); } static __always_inline bool steal_account_process_tick(void)
Signature · 1 line
1.8.1.2
Quoted 233 lines · Kevin Hilman
Quoted 5 lines · Frederic Weisbecker
Ingo,
Please pull the new full dynticks cputime accounting code that can be found at:
Quoted 8 lines
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
tags/full-dynticks-cputime-for-mingoMy last concern is the dependency on
CONFIG_64BIT. We rely oncputime_tbeing u64 for reasonable nanosec granularity implementation. And therefore we need a single instruction fetch to read kernel cpustat for atomicity requirement against concurrent incrementation, which only 64 bit archs can provide.Actually, moderately recent 32-bit ARMs can do atomic 64-bit load/stores too.
Also, is it just
kernel_cpustatincrements that need protection? or do the various reads of the task_struct's cputime fields also need protection (hmm, thinking twice, maybe those are already sufficiently protected by thevtime_seqlock?)Quoted 2 lines
It's probably no big deal to solve this issue. What we need is simply some atomic accessors.
What about using the atomic64_* accessors? Those would just use the native loads/stores on arches that have them, otherwise
CONFIG_GENERIC_ATOMIC64provides some fallbacks.To give it a try, below is a quick patch to convert
kernel_cpustatto atomic64. I only got as far as compile testing and basic boot testing on a 32-bit ARM platform, but let me know if this is the right direction.Quoted 3 lines
There is just no emergency though as this new option depends on the context tracking subsystem that only x86-64 (and soon ppc64) implements yet. And this set is complex enough already. I think we can deal with that later.
I've started working on the ARM version of the
context_tracker, so "later" is coming quickly and I will do what I can to help this along.Kevin
Quoted 1 line
From
9881fc4b86a63244018a4bdb5a383f3b862a0b8bMon Sep 17 00:00:00 2001From: Kevin Hilman <[email protected]>
Date: Thu, 14 Feb 2013 17:46:08 -0800
Subject: [PATCH]kernel_cpustat: convert to atomic 64-bit accessorsWIP: only compile tested and basic boot tested on 32-bit ARM platform
--- fs/proc/stat.c | 36 ++++++++++++++++++------------------ fs/proc/uptime.c | 2 +- include/linux/kernel_stat.h | 2 +- kernel/sched/cputime.c | 22 +++++++++++----------- 4 files changed, 31 insertions(+), 31 deletions(-)fs/proc/stat.c +18
-18@@ -52,7 +52,7 @@ static u64 get_idle_time(int cpu)if (idle_time ==-1ULL )/* !NO_HZ or cpu offline so we can rely on cpustat.idle */ - idle =kcpustat_cpu (cpu).cpustat[CPUTIME_IDLE ]; + idle =atomic64_read (&kcpustat_cpu (cpu).cpustat[CPUTIME_IDLE ]);else idle =usecs_to_cputime64 (idle_time);@@ -68,7 +68,7 @@ static u64 get_iowait_time(int cpu)if (iowait_time ==-1ULL )/* !NO_HZ or cpu offline so we can rely on cpustat.iowait */ - iowait =kcpustat_cpu (cpu).cpustat[CPUTIME_IOWAIT ]; + iowait =atomic64_read (&kcpustat_cpu (cpu).cpustat[CPUTIME_IOWAIT ]);else iowait =usecs_to_cputime64 (iowait_time);@@ -95,16 +95,16 @@ static int show_stat(struct seq_file *p, void *v) jif = boottime.tv_sec;for_each_possible_cpu (i) { - user +=kcpustat_cpu (i).cpustat[CPUTIME_USER ]; - nice +=kcpustat_cpu (i).cpustat[CPUTIME_NICE ]; - system +=kcpustat_cpu (i).cpustat[CPUTIME_SYSTEM ]; + user +=atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_USER ]); + nice +=atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_NICE ]); + system +=atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_SYSTEM ]); idle +=get_idle_time (i); iowait +=get_iowait_time (i); - irq +=kcpustat_cpu (i).cpustat[CPUTIME_IRQ ]; - softirq +=kcpustat_cpu (i).cpustat[CPUTIME_SOFTIRQ ]; - steal +=kcpustat_cpu (i).cpustat[CPUTIME_STEAL ]; - guest +=kcpustat_cpu (i).cpustat[CPUTIME_GUEST ]; - guest_nice +=kcpustat_cpu (i).cpustat[CPUTIME_GUEST_NICE ]; + irq +=atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_IRQ ]); + softirq +=atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_SOFTIRQ ]); + steal +=atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_STEAL ]); + guest +=atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_GUEST ]); + guest_nice +=atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_GUEST_NICE ]); sum +=kstat_cpu_irqs_sum (i); sum +=arch_irq_stat_cpu (i);@@ -132,16 +132,16 @@ static int show_stat(struct seq_file *p, void *v)for_each_online_cpu (i) {/* Copy values here to work around gcc-2.95.3, gcc-2.96 */ - user =kcpustat_cpu (i).cpustat[CPUTIME_USER ]; - nice =kcpustat_cpu (i).cpustat[CPUTIME_NICE ]; - system =kcpustat_cpu (i).cpustat[CPUTIME_SYSTEM ]; + user =atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_USER ]); + nice =atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_NICE ]); + system =atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_SYSTEM ]); idle =get_idle_time (i); iowait =get_iowait_time (i); - irq =kcpustat_cpu (i).cpustat[CPUTIME_IRQ ]; - softirq =kcpustat_cpu (i).cpustat[CPUTIME_SOFTIRQ ]; - steal =kcpustat_cpu (i).cpustat[CPUTIME_STEAL ]; - guest =kcpustat_cpu (i).cpustat[CPUTIME_GUEST ]; - guest_nice =kcpustat_cpu (i).cpustat[CPUTIME_GUEST_NICE ]; + irq =atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_IRQ ]); + softirq =atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_SOFTIRQ ]); + steal =atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_STEAL ]); + guest =atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_GUEST ]); + guest_nice =atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_GUEST_NICE ]);seq_printf (p,"cpu%d" , i);seq_put_decimal_ull (p,' ' ,cputime64_to_clock_t (user));seq_put_decimal_ull (p,' ' ,cputime64_to_clock_t (nice));fs/proc/uptime.c +1
-1@@ -18,7 +18,7 @@ static int uptime_proc_show(struct seq_file *m, void *v) idletime =0 ;for_each_possible_cpu (i) - idletime += (__force u64 )kcpustat_cpu (i).cpustat[CPUTIME_IDLE ]; + idletime +=atomic64_read (&kcpustat_cpu (i).cpustat[CPUTIME_IDLE ]);do_posix_clock_monotonic_gettime (&uptime);monotonic_to_bootbased (&uptime);include/linux/kernel_stat.h +1
-1@@ -32,7 +32,7 @@ enum cpu_usage_stat { };struct kernel_cpustat { -u64 cpustat[NR_STATS ]; +atomic64_t cpustat[NR_STATS ]; };struct kernel_stat {kernel/sched/cputime.c +11
-11@@ -125,7 +125,7 @@ static inline void task_group_account_field(struct task_struct *p, int index,* is the only cgroup, then nothing else should be necessary. * */ -__get_cpu_var (kernel_cpustat).cpustat[index] += tmp; +atomic64_add (tmp, &__get_cpu_var (kernel_cpustat).cpustat[index]);#ifdef CONFIG_CGROUP_CPUACCT if (unlikely (!cpuacct_subsys.active))@@ -176,7 +176,7 @@ void account_user_time(struct task_struct *p, cputime_t cputime,static void account_guest_time (struct task_struct *p,cputime_t cputime,cputime_t cputime_scaled) { -u64 *cpustat = kcpustat_this_cpu->cpustat; +atomic64_t *cpustat = kcpustat_this_cpu->cpustat;/* Add guest time to process. */ p->utime += cputime;@@ -186,11 +186,11 @@ static void account_guest_time(struct task_struct *p, cputime_t cputime,/* Add guest time to cpustat. */ if (TASK_NICE (p) >0 ) { - cpustat[CPUTIME_NICE ] += (__force u64 ) cputime; - cpustat[CPUTIME_GUEST_NICE ] += (__force u64 ) cputime; +atomic64_add ((__force u64 ) cputime, &cpustat[CPUTIME_NICE ]); +atomic64_add ((__force u64 ) cputime, &cpustat[CPUTIME_GUEST_NICE ]); }else { - cpustat[CPUTIME_USER ] += (__force u64 ) cputime; - cpustat[CPUTIME_GUEST ] += (__force u64 ) cputime; +atomic64_add ((__force u64 ) cputime, &cpustat[CPUTIME_USER ]); +atomic64_add ((__force u64 ) cputime, &cpustat[CPUTIME_GUEST ]); } }@@ -250,9 +250,9 @@ void account_system_time(struct task_struct *p, int hardirq_offset,*/ void account_steal_time (cputime_t cputime) { -u64 *cpustat = kcpustat_this_cpu->cpustat; +atomic64_t *cpustat = kcpustat_this_cpu->cpustat; - cpustat[CPUTIME_STEAL ] += (__force u64 ) cputime; +atomic64_add ((__force u64 ) cputime, &cpustat[CPUTIME_STEAL ]); }/* @@ -261,13 +261,13 @@ void account_steal_time(cputime_t cputime)*/ void account_idle_time (cputime_t cputime) { -u64 *cpustat = kcpustat_this_cpu->cpustat; +atomic64_t *cpustat = kcpustat_this_cpu->cpustat;struct rq *rq =this_rq ();if (atomic_read (&rq->nr_iowait) >0 ) - cpustat[CPUTIME_IOWAIT ] += (__force u64 ) cputime; +atomic64_add ((__force u64 ) cputime, &cpustat[CPUTIME_IOWAIT ]);else - cpustat[CPUTIME_IDLE ] += (__force u64 ) cputime; +atomic64_add ((__force u64 ) cputime, &cpustat[CPUTIME_IDLE ]); } static __always_inline bool steal_account_process_tick(void)Signature · 7 lines
1.8.1.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
I had to do some changes to get it to compile. You can check my patch below and see whether I got it all wrong...
/Mats
Quoted 1 line
From
e3da56bdb36a3efb5a9869ded20f346039f381f2Mon Sep 17 00:00:00 2001
From: Mats Liljegren <[email protected]>
Date: Fri, 15 Feb 2013 13:46:29 +0100
Subject: [PATCH] Added atomic operators to make it compile
--- kernel/sched/core.c | 10 +++++----- kernel/sched/cputime.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-)
kernel/sched/core.c +5 -5
@@ -8168,8 +8168,8 @@ static int cpuacct_stats_show(struct cgroup *cgrp, struct cftype *cft,for_each_online_cpu (cpu) {struct kernel_cpustat *kcpustat =per_cpu_ptr (ca->cpustat, cpu); - val += kcpustat->cpustat[CPUTIME_USER ]; - val += kcpustat->cpustat[CPUTIME_NICE ]; + val +=atomic64_read (&kcpustat->cpustat[CPUTIME_USER ]); + val +=atomic64_read (&kcpustat->cpustat[CPUTIME_NICE ]); } val =cputime64_to_clock_t (val); cb->fill (cb, cpuacct_stat_desc[CPUACCT_STAT_USER ], val);
@@ -8177,9 +8177,9 @@ static int cpuacct_stats_show(struct cgroup *cgrp, struct cftype *cft, val =0 ;for_each_online_cpu (cpu) {struct kernel_cpustat *kcpustat =per_cpu_ptr (ca->cpustat, cpu); - val += kcpustat->cpustat[CPUTIME_SYSTEM ]; - val += kcpustat->cpustat[CPUTIME_IRQ ]; - val += kcpustat->cpustat[CPUTIME_SOFTIRQ ]; + val +=atomic64_read (&kcpustat->cpustat[CPUTIME_SYSTEM ]); + val +=atomic64_read (&kcpustat->cpustat[CPUTIME_IRQ ]); + val +=atomic64_read (&kcpustat->cpustat[CPUTIME_SOFTIRQ ]); } val =cputime64_to_clock_t (val);
kernel/sched/cputime.c +1 -1
@@ -135,7 +135,7 @@ static inline void task_group_account_field(struct task_struct *p, int index, ca =task_ca (p);while (ca && (ca != &root_cpuacct)) { kcpustat =this_cpu_ptr (ca->cpustat); - kcpustat->cpustat[index] += tmp; +atomic64_add (tmp, &kcpustat->cpustat[index]); ca =parent_ca (ca); }rcu_read_unlock ();
Signature · 1 line
1.7.5.4
Mats Liljegren <[email protected]> writes:
[...]
Quoted 4 lines
Quoted 4 lines
To give it a try, below is a quick patch to convert
kernel_cpustatto atomic64. I only got as far as compile testing and basic boot testing on a 32-bit ARM platform, but let me know if this is the right direction.
[...]
Quoted 2 lines
I had to do some changes to get it to compile. You can check my patch below and see whether I got it all wrong...
Your changes are fine, and there are sure to be a few more that I missed for various config options (your are because of CGROUP_CPUACCT which I didn't have enabled here.) I'll do a more thorough patch when I hear from Frederic if this is a direction he's OK with.
Thanks for the changes,
Kevin
2013/2/15 Kevin Hilman <[email protected]>:
Quoted 10 lines
Quoted 8 lines · Frederic Weisbecker
Ingo,
Please pull the new full dynticks cputime accounting code that can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
tags/full-dynticks-cputime-for-mingo
Quoted 8 lines
Quoted 5 lines
My last concern is the dependency on
CONFIG_64BIT. We rely oncputime_tbeing u64 for reasonable nanosec granularity implementation. And therefore we need a single instruction fetch to read kernel cpustat for atomicity requirement against concurrent incrementation, which only 64 bit archs can provide.Actually, moderately recent 32-bit ARMs can do atomic 64-bit load/stores too.
Does gcc automatically handle 64 bit store/loads in one way or does that require specific CPU instructions?
Quoted 5 lines
Also, is it just
kernel_cpustatincrements that need protection? or do the various reads of the task_struct's cputime fields also need protection (hmm, thinking twice, maybe those are already sufficiently protected by thevtime_seqlock?)
At least the task stats are protected with vtime_seqlock (hopefully I haven't missed some). But per cpu or global stats are not.
Quoted 7 lines
Quoted 3 lines
It's probably no big deal to solve this issue. What we need is simply some atomic accessors.
What about using the atomic64_* accessors? Those would just use the native loads/stores on arches that have them, otherwise
CONFIG_GENERIC_ATOMIC64provides some fallbacks.
Yeah may be we can try this.
Quoted 5 lines
To give it a try, below is a quick patch to convert
kernel_cpustatto atomic64. I only got as far as compile testing and basic boot testing on a 32-bit ARM platform, but let me know if this is the right direction.
Ok, I'll comment on your second version.
Quoted 7 lines
Quoted 4 lines
There is just no emergency though as this new option depends on the context tracking subsystem that only x86-64 (and soon ppc64) implements yet. And this set is complex enough already. I think we can deal with that later.
I've started working on the ARM version of the
context_tracker, so "later" is coming quickly and I will do what I can to help this along.
Ok. Thanks.
2013/2/15 Mats Liljegren <[email protected]>:
Quoted 7 lines
Kevin Hilman wrote:
/MatsFrom
e3da56bdb36a3efb5a9869ded20f346039f381f2Mon Sep 17 00:00:00 2001
From: Mats Liljegren <[email protected]>
Date: Fri, 15 Feb 2013 13:46:29 +0100
Subject: [PATCH] Added atomic operators to make it compile
Could you please fold this into the previous patch and resend it in a new thread so we can start a fresh review discussion?
Thanks.
Re: [PATCH 2/8] cputime: Librarize per nsecs resolution cputime definitions
In reply to Kevin Hilman2013/2/14 Kevin Hilman <[email protected]>:
Quoted 16 lines
Quoted 10 lines · Frederic Weisbecker
The full dynticks cputime accounting that we'll soon introduce will rely on
sched_clock(). And its clock can have a per nanosecond granularity.To prepare for this, we need to have a
cputime_timplementation that has this precision.ia64 virtual cputime accounting already uses that granularity so all we need is to librarize its implementation in the asm generic headers.
...except that for it to be truly generic (i.e. usable on 32-bit arches), it should be using
do_div()for 64-bit divides.
Quoted 7 lines
I understand this series is targetted at 64-bit platforms currently, but I'm looking (again) at getting adaptive NOHZ working on ARM, and this was the first obvious obstacle to even compiling.
I see this is already merged into tip/sched/core, so below is a patch on top of that to convert to using
do_div(). If you're OK with the approach, I'll post it formally to LKML.
Yes please, this looks like something we want.
Thanks.
Quoted 11 lines · Frederic Weisbecker
2013/2/15 Mats Liljegren <[email protected]>:
Quoted 7 lines
Kevin Hilman wrote:
/MatsFrom
e3da56bdb36a3efb5a9869ded20f346039f381f2Mon Sep 17 00:00:00 2001
From: Mats Liljegren <[email protected]>
Date: Fri, 15 Feb 2013 13:46:29 +0100
Subject: [PATCH] Added atomic operators to make it compileCould you please fold this into the previous patch and resend it in a new thread so we can start a fresh review discussion?
Yes, I have an RFC series coming shortly.
Kevin
Quoted 17 lines · Frederic Weisbecker
2013/2/15 Kevin Hilman <[email protected]>:
Quoted 16 lines
Quoted 13 lines · Frederic Weisbecker
Ingo,
Please pull the new full dynticks cputime accounting code that can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
tags/full-dynticks-cputime-for-mingoMy last concern is the dependency on
CONFIG_64BIT. We rely oncputime_tbeing u64 for reasonable nanosec granularity implementation. And therefore we need a single instruction fetch to read kernel cpustat for atomicity requirement against concurrent incrementation, which only 64 bit archs can provide.
Quoted 5 lines
Quoted 2 lines
Actually, moderately recent 32-bit ARMs can do atomic 64-bit load/stores too.
Does gcc automatically handle 64 bit store/loads in one way or does that require specific CPU instructions?
For atomic load/stores, it requires specific instructions that gcc will not generate, so the atomic64 accessors are needed on ARM.
Kevin