[drm/radeon] BUG: unable to handle kernel paging request at 03200000
by Huang Ying
FYI, we noticed the below changes on
commit e28740ece34d314002b1ddfa14e8fb7c7b909489 ("drm/radeon: Add radeon <--> amdkfd interface")
+------------------------------------------+------------+------------+
| | 1c0a46255f | e28740ece3 |
+------------------------------------------+------------+------------+
| boot_successes | 0 | 0 |
| boot_failures | 10 | 13 |
| BUG:kernel_boot_hang | 9 | 9 |
| INFO:suspicious_RCU_usage | 1 | 3 |
| backtrace:do_fork | 1 | 3 |
| BUG:unable_to_handle_kernel | 0 | 3 |
| Oops | 0 | 3 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 3 |
| backtrace:radeon_init | 0 | 3 |
| backtrace:kernel_init_freeable | 0 | 3 |
| BUG:kernel_boot_crashed | 0 | 1 |
+------------------------------------------+------------+------------+
[ 5.407193] Linux agpgart interface v0.103
[ 5.428469] [drm] Initialized drm 1.1.0 20060810
[ 5.438456] [drm] radeon kernel modesetting enabled.
[ 5.439741] BUG: unable to handle kernel paging request at 03200000
[ 5.440063] IP: [<03200000>] 0x3200000
[ 5.440063] *pde = 00000000
[ 5.440063] Oops: 0000 [#1] SMP
[ 5.440063] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.18.0-g603ba7e #14
[ 5.440063] task: 42e08000 ti: 42e02000 task.ti: 42e02000
[ 5.440063] EIP: 0060:[<03200000>] EFLAGS: 00010246 CPU: 0
[ 5.440063] EIP is at 0x3200000
[ 5.440063] EAX: 00000001 EBX: 00000000 ECX: 4738b460 EDX: 45735a64
[ 5.440063] ESI: 4662d0dd EDI: 401fafa0 EBP: 42e03f20 ESP: 42e03f18
[ 5.440063] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[ 5.440063] CR0: 8005003b CR2: 03200000 CR3: 067f0000 CR4: 00000690
[ 5.440063] Stack:
[ 5.440063] 44bf19b1 00000000 42e03f28 4662d20b 42e03f8c 465b6e5d 00000000 00000000
[ 5.440063] 00000000 00000000 00000000 00000000 000000ea 00000000 00000000 00000101
[ 5.440063] 45f2dfba 00000010 00000012 00000200 47fdcf54 47fdcf54 00000006 00000291
[ 5.440063] Call Trace:
[ 5.440063] [<44bf19b1>] ? radeon_kfd_init+0x67/0xab
[ 5.440063] [<4662d20b>] radeon_init+0x12e/0x15c
[ 5.440063] [<465b6e5d>] do_one_initcall+0x25f/0x41e
[ 5.440063] [<465b7291>] kernel_init_freeable+0x275/0x423
[ 5.440063] [<455b4e52>] kernel_init+0x1c/0x293
[ 5.440063] [<455df181>] ret_from_kernel_thread+0x21/0x30
[ 5.440063] [<455b4e36>] ? rest_init+0x33e/0x33e
[ 5.440063] Code: Bad EIP value.
[ 5.440063] EIP: [<03200000>] 0x3200000 SS:ESP 0068:42e03f18
[ 5.440063] CR2: 0000000003200000
[ 5.440063] ---[ end trace 1959b295b01c0c14 ]---
[ 5.440063] Kernel panic - not syncing: Fatal exception
Thanks,
Huang, Ying
_______________________________________________
LKP mailing list
LKP(a)linux.intel.com
7 years, 7 months
[RFC PATCH] drivers/intel_powerclamp : Redesign implementation of idle injection
by Preeti U Murthy
The powerclamp driver injects idle periods to stay within the thermal constraints.
The driver does a fake idle by spawning per-cpu threads that call the mwait
instruction. This behavior of fake idle can confuse the other kernel subsystems.
For instance it calls into the nohz tick handlers, which are meant to be called
only by the idle thread. It sets the state of the tick in each cpu to idle and
stops the tick, when there are tasks on the runqueue. As a result the callers of
idle_cpu()/ tick_nohz_tick_stopped() see different states of the cpu; while the
former thinks that the cpu is busy, the latter thinks that it is idle. The outcome
may be inconsistency in the scheduler/nohz states which can lead to serious
consequences. One of them was reported on this thread:
https://lkml.org/lkml/2014/12/11/365.
Thomas posted out a patch to disable the powerclamp driver from calling into the
tick nohz code which has taken care of the above regression for the moment. However
powerclamp driver as a result, will not be able to inject idle periods due to the
presence of periodic ticks. With the current design of fake idle, we cannot move
towards a better solution.
https://lkml.org/lkml/2014/12/18/169
This patch aims at removing the concept of fake idle and instead makes the cpus
truly idle by throttling the runqueues during the idle injection periods. The situation
is in fact very similar to throttling cfs_rqs when they exceed their bandwidths.
The exception here is that the root cfs_rq is throttled in the presence of available
bandwidth, due to the need to force idle. The runqueues automatically get unthrottled
at all other times and call to reschedule is made. Per-cpu timers are queued to expire
after every active/idle periods of powerclamp driver, which decide whether to throttle
or unthrottle the runqueues. This way, the tick nohz state and the scheduler states of
the cpus are sane during the idle injection periods because they naturally fall in place.
Another point to note is that the scheduler_tick() is called after the timers are
serviced. This means that soon after the runqueue is throttled by the powerclamp timer,
the idle task will get scheduled in. IOW, the request of the powerclamp timer to inject
idle is honored almost immediately. The same holds for unthrottling as well.
This patch is compile tested only. The goal is to get a consensus on the design first.
There are some points that need to be given a thought as far as I can see:
1. The idle task chosen during the idle injection period needs to enter a specific mwait
state. The cpuidle governors cannot choose any idle state like they do generally for idle
tasks.
2. We throttle runqueue when the bandwidth is available. We do not touch any parameters
around the cfs_rq bandwidth in this patch. It is supposed to bypass the bandwidth checks
entirely. But will there be any serious consequence as a result?
3. There can be cases when the runqueues are throttled when bandwidths are exceeded too.
What are the consequences of the powerclamp driver running parallely?
4. The idle periods should stand synchronized across all cpus because the change in the
design is to start timers to expire immediately instead of waking up kthreads. The only
concern is cpu hotplug operations when the cpu coming online can go out of sync with
the idle periods. But that situation exists today as well.
Signed-off-by: Preeti U Murthy <preeti(a)linux.vnet.ibm.com>
---
Missed Ccing LKML on the previous mail.
drivers/thermal/intel_powerclamp.c | 227 ++++++++++++++----------------------
include/linux/sched.h | 2
kernel/sched/fair.c | 29 ++++-
3 files changed, 117 insertions(+), 141 deletions(-)
diff --git a/drivers/thermal/intel_powerclamp.c b/drivers/thermal/intel_powerclamp.c
index 95cb7fc..a6fd453 100644
--- a/drivers/thermal/intel_powerclamp.c
+++ b/drivers/thermal/intel_powerclamp.c
@@ -87,7 +87,7 @@ static unsigned int control_cpu; /* The cpu assigned to collect stat and update
static bool clamping;
-static struct task_struct * __percpu *powerclamp_thread;
+DEFINE_PER_CPU(struct timer_list, powerclamp_timer);
static struct thermal_cooling_device *cooling_dev;
static unsigned long *cpu_clamping_mask; /* bit map for tracking per cpu
* clamping thread
@@ -256,11 +256,6 @@ static u64 pkg_state_counter(void)
return count;
}
-static void noop_timer(unsigned long foo)
-{
- /* empty... just the fact that we get the interrupt wakes us up */
-}
-
static unsigned int get_compensation(int ratio)
{
unsigned int comp = 0;
@@ -362,102 +357,72 @@ static bool powerclamp_adjust_controls(unsigned int target_ratio,
return set_target_ratio + guard <= current_ratio;
}
-static int clamp_thread(void *arg)
+static void powerclamp_timer_fn(unsigned long data)
{
- int cpunr = (unsigned long)arg;
- DEFINE_TIMER(wakeup_timer, noop_timer, 0, 0);
- static const struct sched_param param = {
- .sched_priority = MAX_USER_RT_PRIO/2,
- };
+ int sleeptime;
+ unsigned long target_jiffies;
+ unsigned int guard;
+ unsigned int compensation = 0;
+ int interval; /* jiffies to sleep for each attempt */
+ unsigned int duration_jiffies = msecs_to_jiffies(duration);
+ unsigned int window_size_now;
+ int clamp = 0, cpu = smp_processor_id();
+ struct timer_list *ts = this_cpu_ptr(&powerclamp_timer);
unsigned int count = 0;
unsigned int target_ratio;
- set_bit(cpunr, cpu_clamping_mask);
- set_freezable();
- init_timer_on_stack(&wakeup_timer);
- sched_setscheduler(current, SCHED_FIFO, ¶m);
-
- while (true == clamping && !kthread_should_stop() &&
- cpu_online(cpunr)) {
- int sleeptime;
- unsigned long target_jiffies;
- unsigned int guard;
- unsigned int compensation = 0;
- int interval; /* jiffies to sleep for each attempt */
- unsigned int duration_jiffies = msecs_to_jiffies(duration);
- unsigned int window_size_now;
-
- try_to_freeze();
- /*
- * make sure user selected ratio does not take effect until
- * the next round. adjust target_ratio if user has changed
- * target such that we can converge quickly.
- */
- target_ratio = set_target_ratio;
- guard = 1 + target_ratio/20;
- window_size_now = window_size;
- count++;
-
- /*
- * systems may have different ability to enter package level
- * c-states, thus we need to compensate the injected idle ratio
- * to achieve the actual target reported by the HW.
- */
- compensation = get_compensation(target_ratio);
- interval = duration_jiffies*100/(target_ratio+compensation);
-
- /* align idle time */
- target_jiffies = roundup(jiffies, interval);
- sleeptime = target_jiffies - jiffies;
- if (sleeptime <= 0)
- sleeptime = 1;
- schedule_timeout_interruptible(sleeptime);
- /*
- * only elected controlling cpu can collect stats and update
- * control parameters.
- */
- if (cpunr == control_cpu && !(count%window_size_now)) {
- should_skip =
- powerclamp_adjust_controls(target_ratio,
- guard, window_size_now);
- smp_mb();
- }
+again: if (!clamping) {
+ throttle_rq(cpu, 0);
+ clear_bit(cpu, clamping_mask);
+ return;
+ }
- if (should_skip)
- continue;
-
- target_jiffies = jiffies + duration_jiffies;
- mod_timer(&wakeup_timer, target_jiffies);
- if (unlikely(local_softirq_pending()))
- continue;
- /*
- * stop tick sched during idle time, interrupts are still
- * allowed. thus jiffies are updated properly.
- */
- preempt_disable();
- tick_nohz_idle_enter();
- /* mwait until target jiffies is reached */
- while (time_before(jiffies, target_jiffies)) {
- unsigned long ecx = 1;
- unsigned long eax = target_mwait;
-
- /*
- * REVISIT: may call enter_idle() to notify drivers who
- * can save power during cpu idle. same for exit_idle()
- */
- local_touch_nmi();
- stop_critical_timings();
- mwait_idle_with_hints(eax, ecx);
- start_critical_timings();
- atomic_inc(&idle_wakeup_counter);
- }
- tick_nohz_idle_exit();
- preempt_enable();
+ /*
+ * make sure user selected ratio does not take effect until
+ * the next round. adjust target_ratio if user has changed
+ * target such that we can converge quickly.
+ */
+ target_ratio = set_target_ratio;
+ guard = 1 + target_ratio/20;
+ window_size_now = window_size;
+ count++;
+
+ /*
+ * systems may have different ability to enter package level
+ * c-states, thus we need to compensate the injected idle ratio
+ * to achieve the actual target reported by the HW.
+ */
+ compensation = get_compensation(target_ratio);
+ interval = duration_jiffies*100/(target_ratio+compensation);
+
+ /* align idle time */
+ target_jiffies = roundup(jiffies, interval);
+ sleeptime = target_jiffies - jiffies;
+ if (sleeptime > 0)
+ goto queue_timer;
+ /*
+ * only elected controlling cpu can collect stats and update
+ * control parameters.
+ */
+ if (cpu == control_cpu && !(count%window_size_now)) {
+ should_skip =
+ powerclamp_adjust_controls(target_ratio,
+ guard, window_size_now);
+ smp_mb();
}
- del_timer_sync(&wakeup_timer);
- clear_bit(cpunr, cpu_clamping_mask);
- return 0;
+ if (should_skip)
+ goto again;
+
+ target_jiffies = jiffies + duration_jiffies;
+
+ if (unlikely(local_softirq_pending()))
+ goto again;
+ clamp = 1;
+
+queue_timer:
+ mod_timer(ts, target_jiffies);
+ throttle_rq(cpu, clamp);
}
/*
@@ -504,7 +469,6 @@ static void poll_pkg_cstate(struct work_struct *dummy)
static int start_power_clamp(void)
{
unsigned long cpu;
- struct task_struct *thread;
/* check if pkg cstate counter is completely 0, abort in this case */
if (!has_pkg_state_counter()) {
@@ -526,20 +490,11 @@ static int start_power_clamp(void)
/* start one thread per online cpu */
for_each_online_cpu(cpu) {
- struct task_struct **p =
- per_cpu_ptr(powerclamp_thread, cpu);
-
- thread = kthread_create_on_node(clamp_thread,
- (void *) cpu,
- cpu_to_node(cpu),
- "kidle_inject/%ld", cpu);
- /* bind to cpu here */
- if (likely(!IS_ERR(thread))) {
- kthread_bind(thread, cpu);
- wake_up_process(thread);
- *p = thread;
- }
+ struct timer_list *ts = &per_cpu(powerclamp_timer, cpu);
+ set_bit(cpu, cpu_clamping_mask);
+ ts.expires = 0;
+ add_timer_on(ts, cpu);
}
put_online_cpus();
@@ -549,7 +504,7 @@ static int start_power_clamp(void)
static void end_power_clamp(void)
{
int i;
- struct task_struct *thread;
+ struct timer_list *ts;
clamping = false;
/*
@@ -560,9 +515,10 @@ static void end_power_clamp(void)
msleep(20);
if (bitmap_weight(cpu_clamping_mask, num_possible_cpus())) {
for_each_set_bit(i, cpu_clamping_mask, num_possible_cpus()) {
- pr_debug("clamping thread for cpu %d alive, kill\n", i);
- thread = *per_cpu_ptr(powerclamp_thread, i);
- kthread_stop(thread);
+ ts = &per_cpu(powerclamp_timer, i);
+ pr_debug("clamping timer for cpu %d alive, delete\n", i);
+ del_timer_sync(ts);
+ throttle_rq(i, 0);
}
}
}
@@ -571,36 +527,26 @@ static int powerclamp_cpu_callback(struct notifier_block *nfb,
unsigned long action, void *hcpu)
{
unsigned long cpu = (unsigned long)hcpu;
- struct task_struct *thread;
- struct task_struct **percpu_thread =
- per_cpu_ptr(powerclamp_thread, cpu);
+ struct timer_list *ts = &per_cpu(powerclamp_timer, cpu);
if (false == clamping)
goto exit_ok;
switch (action) {
case CPU_ONLINE:
- thread = kthread_create_on_node(clamp_thread,
- (void *) cpu,
- cpu_to_node(cpu),
- "kidle_inject/%lu", cpu);
- if (likely(!IS_ERR(thread))) {
- kthread_bind(thread, cpu);
- wake_up_process(thread);
- *percpu_thread = thread;
- }
/* prefer BSP as controlling CPU */
+ init_timer(ts);
+ ts.function = powerclamp_timer_fn;
+ ts.expires = 0;
+ add_timer_on(ts, cpu);
if (cpu == 0) {
control_cpu = 0;
smp_mb();
}
break;
case CPU_DEAD:
- if (test_bit(cpu, cpu_clamping_mask)) {
- pr_err("cpu %lu dead but powerclamping thread is not\n",
- cpu);
- kthread_stop(*percpu_thread);
- }
+ clear_bit(cpu, cpu_clamping_mask);
+ del_timer(ts);
if (cpu == control_cpu) {
control_cpu = smp_processor_id();
smp_mb();
@@ -763,6 +709,8 @@ static int powerclamp_init(void)
{
int retval;
int bitmap_size;
+ int cpu;
+ struct timer_list *ts;
bitmap_size = BITS_TO_LONGS(num_possible_cpus()) * sizeof(long);
cpu_clamping_mask = kzalloc(bitmap_size, GFP_KERNEL);
@@ -778,18 +726,20 @@ static int powerclamp_init(void)
window_size = 2;
register_hotcpu_notifier(&powerclamp_cpu_notifier);
- powerclamp_thread = alloc_percpu(struct task_struct *);
- if (!powerclamp_thread) {
- retval = -ENOMEM;
- goto exit_unregister;
- }
-
cooling_dev = thermal_cooling_device_register("intel_powerclamp", NULL,
&powerclamp_cooling_ops);
if (IS_ERR(cooling_dev)) {
retval = -ENODEV;
- goto exit_free_thread;
+ goto exit_unregister;
+ }
+
+ get_online_cpus();
+ for_each_online_cpu(cpu) {
+ ts = &per_cpu(powerclamp_timer, cpu);
+ init_timer(ts);
+ ts.function = powerclamp_timer_fn();
}
+ put_online_cpus();
if (!duration)
duration = jiffies_to_msecs(DEFAULT_DURATION_JIFFIES);
@@ -798,8 +748,6 @@ static int powerclamp_init(void)
return 0;
-exit_free_thread:
- free_percpu(powerclamp_thread);
exit_unregister:
unregister_hotcpu_notifier(&powerclamp_cpu_notifier);
exit_free:
@@ -812,7 +760,6 @@ static void powerclamp_exit(void)
{
unregister_hotcpu_notifier(&powerclamp_cpu_notifier);
end_power_clamp();
- free_percpu(powerclamp_thread);
thermal_cooling_device_unregister(cooling_dev);
kfree(cpu_clamping_mask);
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 5e344bb..5843b7e 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -2075,9 +2075,11 @@ static inline int set_cpus_allowed_ptr(struct task_struct *p,
#ifdef CONFIG_NO_HZ_COMMON
void calc_load_enter_idle(void);
void calc_load_exit_idle(void);
+void throttle_rq(int cpu, int throttle);
#else
static inline void calc_load_enter_idle(void) { }
static inline void calc_load_exit_idle(void) { }
+static inline void throttle_rq(int cpu, int throttle);
#endif /* CONFIG_NO_HZ_COMMON */
#ifndef CONFIG_CPUMASK_OFFSTACK
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index ef2b104..01785cb 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -3417,8 +3417,15 @@ static void throttle_cfs_rq(struct cfs_rq *cfs_rq)
* distribute_cfs_runtime will not see us
*/
list_add_rcu(&cfs_rq->throttled_list, &cfs_b->throttled_cfs_rq);
- if (!cfs_b->timer_active)
+
+ /*
+ * Check if the cfs_rq is throttled inspite of having sufficient
+ * bandwidth. If so, do not meddle with the bandwidth since this
+ * is a case of forced idle injection
+ */
+ if (cfs_rq_throttled(cfs_rq) && !cfs_b->timer_active)
__start_cfs_bandwidth(cfs_b, false);
+
raw_spin_unlock(&cfs_b->lock);
}
@@ -3469,6 +3476,17 @@ void unthrottle_cfs_rq(struct cfs_rq *cfs_rq)
resched_curr(rq);
}
+void throttle_rq(int cpu, int throttle)
+{
+ struct rq *rq = cpu_rq(cpu);
+
+ if (throttle && !rq->cfs.throttled)
+ throttle_cfs_rq(&rq->cfs);
+ else if (!throttle && rq->cfs.throttled)
+ unthrottle_cfs_rq(&rq->cfs);
+}
+EXPORT_SYMBOL(throttle_rq);
+
static u64 distribute_cfs_runtime(struct cfs_bandwidth *cfs_b,
u64 remaining, u64 expires)
{
@@ -4855,6 +4873,14 @@ again:
if (unlikely(check_cfs_rq_runtime(cfs_rq)))
goto simple;
+ /*
+ * We may have forced throttling to inject idle.
+ */
+ if (unlikely(cfs_rq->throttled)) {
+ put_prev_task(rq, prev);
+ goto force_idle;
+ }
+
se = pick_next_entity(cfs_rq, curr);
cfs_rq = group_cfs_rq(se);
} while (cfs_rq);
@@ -4926,6 +4952,7 @@ idle:
if (new_tasks > 0)
goto again;
+force_idle:
return NULL;
}
7 years, 7 months
[sched] BUG: unable to handle kernel
by Fengguang Wu
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.linaro.org/people/mturquette/linux.git eas-next
commit 1fadb581b0be9420b143e43ff2f4a07ea7e45f6c
Author: Dietmar Eggemann <dietmar.eggemann(a)arm.com>
AuthorDate: Tue Dec 2 14:06:24 2014 +0000
Commit: Michael Turquette <mturquette(a)deferred.io>
CommitDate: Tue Dec 9 20:33:17 2014 -0800
sched: Make usage and load tracking cpu scale-invariant
Besides the existing frequency scale-invariance correction factor, apply
cpu scale-invariance correction factor to usage and load tracking.
Cpu scale-invariance takes cpu performance deviations due to
micro-architectural differences (i.e. instructions per seconds) between
cpus in HMP systems (e.g. big.LITTLE) and differences in the frequency
value of the highest OPP between cpus in SMP systems into consideration.
Each segment of the sched_avg::{running_avg_sum, runnable_avg_sum}
geometric series is now scaled by the cpu performance factor too so the
sched_avg::{utilization_avg_contrib, load_avg_contrib} of each entity will
be invariant from the particular cpu of the HMP/SMP system it is gathered
on. As a result, cfs_rq::runnable_load_avg which is the sum of
sched_avg::load_avg_contrib, becomes cpu scale-invariant too.
So the {usage, load} level that is returned by {get_cpu_usage,
weighted_cpuload} stays relative to the max cpu performance of the system.
Cc: Ingo Molnar <mingo(a)redhat.com>
Cc: Peter Zijlstra <peterz(a)infradead.org>
Signed-off-by: Dietmar Eggemann <dietmar.eggemann(a)arm.com>
===================================================
PARENT COMMIT NOT CLEAN. LOOK OUT FOR WRONG BISECT!
===================================================
Attached dmesg for the parent commit, too, to help confirm whether it is a noise error.
+-------------------------------------------------------+------------+------------+------------+
| | e754569101 | 1fadb581b0 | 41ae5f4aae |
+-------------------------------------------------------+------------+------------+------------+
| boot_successes | 0 | 0 | 0 |
| boot_failures | 175 | 35 | 16 |
| INFO:suspicious_RCU_usage | 175 | | |
| RCU_used_illegally_from_idle_CPU | 42 | | |
| RCU_used_illegally_from_extended_quiescent_state | 42 | | |
| backtrace:do_fork | 175 | | |
| BUG:kernel_boot_crashed | 0 | 4 | |
| BUG:unable_to_handle_kernel | 0 | 31 | 16 |
| Oops | 0 | 31 | 16 |
| RIP:default_scale_cpu_capacity | 0 | 31 | 16 |
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt | 0 | 31 | 16 |
| backtrace:acpi_load_tables | 0 | 30 | 15 |
| backtrace:acpi_early_init | 0 | 31 | 15 |
| backtrace:acpi_initialize_subsystem | 0 | 1 | |
| backtrace:acpi_ds_auto_serialize_method | 0 | 6 | |
| backtrace:acpi_ds_init_one_object | 0 | 6 | |
| backtrace:kmem_cache_create | 0 | 0 | 1 |
| backtrace:pidmap_init | 0 | 0 | 1 |
| backtrace:acpi_ns_lookup | 0 | 0 | 1 |
| backtrace:acpi_ds_init_field_objects | 0 | 0 | 1 |
+-------------------------------------------------------+------------+------------+------------+
[ 0.020000] pid_max: default: 32768 minimum: 301
[ 0.020000] ACPI: Core revision 20140926
[ 0.020000] ACPI: Core revision 20140926
[ 0.020018] BUG: unable to handle kernel
[ 0.020018] BUG: unable to handle kernel NULL pointer dereferenceNULL pointer dereference at 0000000000000050
at 0000000000000050
[ 0.021436] IP:
[ 0.021436] IP: [<ffffffff810d68a2>] default_scale_cpu_capacity+0xc/0x41
[<ffffffff810d68a2>] default_scale_cpu_capacity+0xc/0x41
[ 0.022741] PGD 0
[ 0.022741] PGD 0
[ 0.023123] Oops: 0000 [#1]
[ 0.023123] Oops: 0000 [#1] PREEMPT PREEMPT SMP SMP
[ 0.023853] Modules linked in:
[ 0.023853] Modules linked in:
[ 0.024476] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.18.0-rc2-00089-g1fadb58 #3
[ 0.024476] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.18.0-rc2-00089-g1fadb58 #3
[ 0.026198] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.7.5-20140531_083030-gandalf 04/01/2014
[ 0.026198] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.7.5-20140531_083030-gandalf 04/01/2014
[ 0.027982] task: ffffffff81c0f500 ti: ffffffff81c00000 task.ti: ffffffff81c00000
[ 0.027982] task: ffffffff81c0f500 ti: ffffffff81c00000 task.ti: ffffffff81c00000
[ 0.029308] RIP: 0010:[<ffffffff810d68a2>]
[ 0.029308] RIP: 0010:[<ffffffff810d68a2>] [<ffffffff810d68a2>] default_scale_cpu_capacity+0xc/0x41
[<ffffffff810d68a2>] default_scale_cpu_capacity+0xc/0x41
[ 0.030000] RSP: 0000:ffff880012603d10 EFLAGS: 00010002
[ 0.030000] RSP: 0000:ffff880012603d10 EFLAGS: 00010002
[ 0.030000] RAX: 0000000000000400 RBX: 0000000000000400 RCX: 0000000000000000
[ 0.030000] RAX: 0000000000000400 RBX: 0000000000000400 RCX: 0000000000000000
[ 0.030000] RDX: 0000000000004c4c RSI: 0000000000000000 RDI: 0000000000000000
[ 0.030000] RDX: 0000000000004c4c RSI: 0000000000000000 RDI: 0000000000000000
[ 0.030000] RBP: ffff880012603d18 R08: 0000000000000001 R09: 0000000000000017
[ 0.030000] RBP: ffff880012603d18 R08: 0000000000000001 R09: 0000000000000017
[ 0.030000] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[ 0.030000] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[ 0.030000] R13: ffffffff81c0f568 R14: ffffffff81c03b98 R15: 0000000000000000
[ 0.030000] R13: ffffffff81c0f568 R14: ffffffff81c03b98 R15: 0000000000000000
[ 0.030000] FS: 0000000000000000(0000) GS:ffff880012600000(0000) knlGS:0000000000000000
[ 0.030000] FS: 0000000000000000(0000) GS:ffff880012600000(0000) knlGS:0000000000000000
[ 0.030000] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 0.030000] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 0.030000] CR2: 0000000000000050 CR3: 0000000001c08000 CR4: 00000000000006b0
[ 0.030000] CR2: 0000000000000050 CR3: 0000000001c08000 CR4: 00000000000006b0
[ 0.030000] Stack:
[ 0.030000] Stack:
[ 0.030000] ffffffff810d88d4
[ 0.030000] ffffffff810d88d4 ffff880012603d88 ffff880012603d88 ffffffff810d8986 ffffffff810d8986 ffffffff810cd13f ffffffff810cd13f
[ 0.030000] 0000000000000000
[ 0.030000] 0000000000000000 ffff880000000001 ffff880000000001 00ffffff00000000 00ffffff00000000 0000000000004c4c 0000000000004c4c
[ 0.030000] ffff880012612d70
[ 0.030000] ffff880012612d70 ffff880012603d88 ffff880012603d88 ffff880012612d70 ffff880012612d70 ffffffff81c0f500 ffffffff81c0f500
[ 0.030000] Call Trace:
[ 0.030000] Call Trace:
[ 0.030000] <IRQ>
[ 0.030000] <IRQ>
[ 0.030000]
[ 0.030000] [<ffffffff810d88d4>] ? arch_scale_cpu_capacity+0x15/0x1e
[<ffffffff810d88d4>] ? arch_scale_cpu_capacity+0x15/0x1e
[ 0.030000] [<ffffffff810d8986>] update_entity_load_avg+0xa9/0x5e2
[ 0.030000] [<ffffffff810d8986>] update_entity_load_avg+0xa9/0x5e2
[ 0.030000] [<ffffffff810cd13f>] ? scheduler_tick+0x51/0xe4
[ 0.030000] [<ffffffff810cd13f>] ? scheduler_tick+0x51/0xe4
[ 0.030000] [<ffffffff810d8f1e>] task_tick_fair+0x5f/0x156
[ 0.030000] [<ffffffff810d8f1e>] task_tick_fair+0x5f/0x156
[ 0.030000] [<ffffffff810cd167>] scheduler_tick+0x79/0xe4
[ 0.030000] [<ffffffff810cd167>] scheduler_tick+0x79/0xe4
[ 0.030000] [<ffffffff8111c3d2>] update_process_times+0x88/0xa6
[ 0.030000] [<ffffffff8111c3d2>] update_process_times+0x88/0xa6
[ 0.030000] [<ffffffff8112d559>] ? tick_handle_periodic+0x34/0xa2
[ 0.030000] [<ffffffff8112d559>] ? tick_handle_periodic+0x34/0xa2
[ 0.030000] [<ffffffff8112d2a2>] tick_periodic+0x141/0x14a
[ 0.030000] [<ffffffff8112d2a2>] tick_periodic+0x141/0x14a
[ 0.030000] [<ffffffff8112d559>] tick_handle_periodic+0x34/0xa2
[ 0.030000] [<ffffffff8112d559>] tick_handle_periodic+0x34/0xa2
[ 0.030000] [<ffffffff81007e46>] timer_interrupt+0x1c/0x2a
[ 0.030000] [<ffffffff81007e46>] timer_interrupt+0x1c/0x2a
[ 0.030000] [<ffffffff81101e2b>] handle_irq_event_percpu+0xfe/0x592
[ 0.030000] [<ffffffff81101e2b>] handle_irq_event_percpu+0xfe/0x592
[ 0.030000] [<ffffffff8110230e>] handle_irq_event+0x4f/0x7d
[ 0.030000] [<ffffffff8110230e>] handle_irq_event+0x4f/0x7d
[ 0.030000] [<ffffffff8130010a>] ? __this_cpu_preempt_check+0x1a/0x23
[ 0.030000] [<ffffffff8130010a>] ? __this_cpu_preempt_check+0x1a/0x23
[ 0.030000] [<ffffffff81107190>] handle_level_irq+0xce/0x139
[ 0.030000] [<ffffffff81107190>] handle_level_irq+0xce/0x139
[ 0.030000] [<ffffffff81007330>] handle_irq+0x6d/0x85
[ 0.030000] [<ffffffff81007330>] handle_irq+0x6d/0x85
[ 0.030000] [<ffffffff8156f1d6>] do_IRQ+0x76/0x141
[ 0.030000] [<ffffffff8156f1d6>] do_IRQ+0x76/0x141
[ 0.030000] [<ffffffff8156dcaf>] common_interrupt+0x6f/0x6f
[ 0.030000] [<ffffffff8156dcaf>] common_interrupt+0x6f/0x6f
[ 0.030000] <EOI>
[ 0.030000] <EOI>
[ 0.030000]
[ 0.030000] [<ffffffff8104c846>] ? native_restore_fl+0xd/0x16
[<ffffffff8104c846>] ? native_restore_fl+0xd/0x16
[ 0.030000] [<ffffffff810f4228>] arch_local_irq_restore+0x12/0x1b
[ 0.030000] [<ffffffff810f4228>] arch_local_irq_restore+0x12/0x1b
[ 0.030000] [<ffffffff8156bc13>] _raw_spin_unlock_irqrestore+0x8c/0x10f
[ 0.030000] [<ffffffff8156bc13>] _raw_spin_unlock_irqrestore+0x8c/0x10f
[ 0.030000] [<ffffffff8121adc2>] slob_free+0x410/0x426
[ 0.030000] [<ffffffff8121adc2>] slob_free+0x410/0x426
[ 0.030000] [<ffffffff8121adfa>] __kmem_cache_free+0x22/0x56
[ 0.030000] [<ffffffff8121adfa>] __kmem_cache_free+0x22/0x56
[ 0.030000] [<ffffffff8121aeac>] kmem_cache_free+0x7e/0x20f
[ 0.030000] [<ffffffff8121aeac>] kmem_cache_free+0x7e/0x20f
[ 0.030000] [<ffffffff8133692e>] acpi_os_release_object+0x15/0x20
[ 0.030000] [<ffffffff8133692e>] acpi_os_release_object+0x15/0x20
[ 0.030000] [<ffffffff81374964>] acpi_ut_delete_generic_state+0x2b/0x34
[ 0.030000] [<ffffffff81374964>] acpi_ut_delete_generic_state+0x2b/0x34
[ 0.030000] [<ffffffff8134dec1>] acpi_ds_scope_stack_clear+0x37/0x44
[ 0.030000] [<ffffffff8134dec1>] acpi_ds_scope_stack_clear+0x37/0x44
[ 0.030000] [<ffffffff81369666>] acpi_ps_parse_aml+0x1e1/0x402
[ 0.030000] [<ffffffff81369666>] acpi_ps_parse_aml+0x1e1/0x402
[ 0.030000] [<ffffffff81349703>] acpi_ds_auto_serialize_method+0xd9/0x10b
[ 0.030000] [<ffffffff81349703>] acpi_ds_auto_serialize_method+0xd9/0x10b
[ 0.030000] [<ffffffff813494a5>] acpi_ds_init_one_object+0x110/0x144
[ 0.030000] [<ffffffff813494a5>] acpi_ds_init_one_object+0x110/0x144
[ 0.030000] [<ffffffff813658a4>] acpi_ns_walk_namespace+0x11a/0x247
[ 0.030000] [<ffffffff813658a4>] acpi_ns_walk_namespace+0x11a/0x247
[ 0.030000] [<ffffffff81349395>] ? acpi_ds_create_index_field+0x12a/0x12a
[ 0.030000] [<ffffffff81349395>] ? acpi_ds_create_index_field+0x12a/0x12a
[ 0.030000] [<ffffffff81349571>] acpi_ds_initialize_objects+0x98/0x10e
[ 0.030000] [<ffffffff81349571>] acpi_ds_initialize_objects+0x98/0x10e
[ 0.030000] [<ffffffff8156bc6c>] ? _raw_spin_unlock_irqrestore+0xe5/0x10f
[ 0.030000] [<ffffffff8156bc6c>] ? _raw_spin_unlock_irqrestore+0xe5/0x10f
[ 0.030000] [<ffffffff81361f99>] acpi_ns_load_table+0xe4/0xf3
[ 0.030000] [<ffffffff81361f99>] acpi_ns_load_table+0xe4/0xf3
[ 0.030000] [<ffffffff81f80965>] acpi_load_tables+0xea/0x225
[ 0.030000] [<ffffffff81f80965>] acpi_load_tables+0xea/0x225
[ 0.030000] [<ffffffff81f7f249>] acpi_early_init+0xd8/0x1ac
[ 0.030000] [<ffffffff81f7f249>] acpi_early_init+0xd8/0x1ac
[ 0.030000] [<ffffffff81f42602>] start_kernel+0x6d5/0x787
[ 0.030000] [<ffffffff81f42602>] start_kernel+0x6d5/0x787
[ 0.030000] [<ffffffff81f41120>] ? early_idt_handlers+0x120/0x120
[ 0.030000] [<ffffffff81f41120>] ? early_idt_handlers+0x120/0x120
[ 0.030000] [<ffffffff81f41587>] x86_64_start_reservations+0x46/0x4f
[ 0.030000] [<ffffffff81f41587>] x86_64_start_reservations+0x46/0x4f
[ 0.030000] [<ffffffff81f4175a>] x86_64_start_kernel+0x1ca/0x1e0
[ 0.030000] [<ffffffff81f4175a>] x86_64_start_kernel+0x1ca/0x1e0
[ 0.030000] Code:
[ 0.030000] Code: c3 c3 55 55 be be 08 08 00 00 00 00 00 00 48 48 ff ff 05 05 ab ab 04 04 fe fe 00 00 48 48 89 89 e5 e5 e8 e8 67 67 fd fd 21 21 00 00 48 48 ff ff 05 05 a4 a4 04 04 fe fe 00 00 5d 5d c3 c3 e8 e8 55 55 87 87 49 49 00 00 48 48 ff ff 05 05 7e 7e 39 39 fe fe 00 00 <f6> <f6> 47 47 50 50 80 80 55 55 48 48 89 89 e5 e5 75 75 07 07 b8 b8 00 00 04 04 00 00 00 00 eb eb 22 22 8b 8b 8f 8f 90 90 00 00
[ 0.030000] RIP
[ 0.030000] RIP [<ffffffff810d68a2>] default_scale_cpu_capacity+0xc/0x41
[<ffffffff810d68a2>] default_scale_cpu_capacity+0xc/0x41
[ 0.030000] RSP <ffff880012603d10>
[ 0.030000] RSP <ffff880012603d10>
[ 0.030000] CR2: 0000000000000050
[ 0.030000] CR2: 0000000000000050
[ 0.030000] ---[ end trace 8aa5f3406d78ad18 ]---
[ 0.030000] ---[ end trace 8aa5f3406d78ad18 ]---
git bisect start 41ae5f4aaef4889974485552fd2c9e0e8d86fc2f b2776bf7149bddd1f4161f14f79520f17fc1d71d --
git bisect good e1945e18b82b6923b0e3ce492ae35fd4587d45eb # 13:10 20+ 0 Merge 'vfs/iov_iter-net-2' into devel-lkp-ib04-smoke-201412101243
git bisect bad 524d698e93870a340afaf5b647d4cce84fb6f880 # 13:12 0- 20 Merge 'clk/eas-next' into devel-lkp-ib04-smoke-201412101243
git bisect good c1a1272dcf10f1bea314226c76245604fbf91c87 # 13:17 20+ 20 sched: updated comments of CLONE_NEWUTS and CLONE_NEWIPC
git bisect good 7c2684baf9042237fa3f72c9f230637911fe9b53 # 13:21 20+ 20 sched: energy_model: simple cpu frequency scaling policy
git bisect good 123c1de3f5f485b44b1b84c50b40cbafe1e379d6 # 13:25 20+ 0 sched: add ftrace for io latency tracking
git bisect bad 318e8cc222050c8c542c7471224fe3ba1ac18062 # 13:29 12- 20 arm: Frequency invariant scheduler load-tracking support
git bisect good b9ed965defe8f8ee2e57e0a9372c70b883a4ea3f # 13:34 35+ 35 Merge remote-tracking branch 'eas-next/eas-next' into sched/cpuidle/eas-next
git bisect bad 1fadb581b0be9420b143e43ff2f4a07ea7e45f6c # 13:38 4- 35 sched: Make usage and load tracking cpu scale-invariant
git bisect good e754569101f392e1924d8ce6f087ea4cfad91d69 # 13:45 35+ 35 sched: Make load tracking frequency scale-invariant
# first bad commit: [1fadb581b0be9420b143e43ff2f4a07ea7e45f6c] sched: Make usage and load tracking cpu scale-invariant
git bisect good e754569101f392e1924d8ce6f087ea4cfad91d69 # 13:49 105+ 140 sched: Make load tracking frequency scale-invariant
# extra tests on HEAD of linux-devel/devel-lkp-ib04-smoke-201412101243
git bisect bad 41ae5f4aaef4889974485552fd2c9e0e8d86fc2f # 13:49 0- 16 0day head guard for 'devel-lkp-ib04-smoke-201412101243'
# extra tests on tree/branch clk/eas-next
git bisect bad 67cc03886394320689d30d65d65b386756d47e39 # 13:58 26- 96 sched: Include blocked load in weighted_cpuload
# extra tests on tree/branch linus/master
git bisect good 86c6a2fddf0b89b494c7616f2c06cf915c4bff01 # 14:22 105+ 0 Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
# extra tests on tree/branch next/master
git bisect good 5348e33950aad8d5ab06d83cb7ac4e6b4198f773 # 14:27 105+ 0 Add linux-next specific files for 20141209
This script may reproduce the error.
----------------------------------------------------------------------------
#!/bin/bash
kernel=$1
kvm=(
qemu-system-x86_64
-cpu kvm64
-enable-kvm
-kernel $kernel
-m 320
-smp 2
-net nic,vlan=1,model=e1000
-net user,vlan=1
-boot order=nc
-no-reboot
-watchdog i6300esb
-rtc base=localtime
-serial stdio
-display none
-monitor null
)
append=(
hung_task_panic=1
earlyprintk=ttyS0,115200
debug
apic=debug
sysrq_always_enabled
rcupdate.rcu_cpu_stall_timeout=100
panic=-1
softlockup_panic=1
nmi_watchdog=panic
oops=panic
load_ramdisk=2
prompt_ramdisk=0
console=ttyS0,115200
console=tty0
vga=normal
root=/dev/ram0
rw
drbd.minor_count=8
)
"${kvm[@]}" --append "${append[*]}"
----------------------------------------------------------------------------
Thanks,
Fengguang
_______________________________________________
LKP mailing list
LKP(a)linux.intel.com
7 years, 7 months
[PATCH] tick/powerclamp: Remove tick_nohz_idle abuse
by Thomas Gleixner
commit 4dbd27711cd9 "tick: export nohz tick idle symbols for module
use" was merged via the thermal tree without an explicit ack from the
relevant maintainers.
The exports are abused by the intel powerclamp driver which implements
a fake idle state from a sched FIFO task. This causes all kinds of
wreckage in the NOHZ core code which rightfully assumes that
tick_nohz_idle_enter/exit() are only called from the idle task itself.
Recent changes in the NOHZ core lead to a failure of the powerclamp
driver and now people try to hack completely broken and backwards
workarounds into the NOHZ core code. This is completely unacceptable.
The real solution is to fix the powerclamp driver by rewriting it with
a sane concept, but that's beyond the scope of this.
So the only solution for now is to remove the calls into the core NOHZ
code from the powerclamp trainwreck along with the exports.
Fixes: d6d71ee4a14a "PM: Introduce Intel PowerClamp Driver"
Signed-off-by: Thomas Gleixner <tglx(a)linutronix.de>
---
diff --git a/drivers/thermal/intel_powerclamp.c b/drivers/thermal/intel_powerclamp.c
index b46c706e1cac..e98b4249187c 100644
--- a/drivers/thermal/intel_powerclamp.c
+++ b/drivers/thermal/intel_powerclamp.c
@@ -435,7 +435,6 @@ static int clamp_thread(void *arg)
* allowed. thus jiffies are updated properly.
*/
preempt_disable();
- tick_nohz_idle_enter();
/* mwait until target jiffies is reached */
while (time_before(jiffies, target_jiffies)) {
unsigned long ecx = 1;
@@ -451,7 +450,6 @@ static int clamp_thread(void *arg)
start_critical_timings();
atomic_inc(&idle_wakeup_counter);
}
- tick_nohz_idle_exit();
preempt_enable();
}
del_timer_sync(&wakeup_timer);
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index 4d54b7540585..1363d58f07e9 100644
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -847,7 +847,6 @@ void tick_nohz_idle_enter(void)
local_irq_enable();
}
-EXPORT_SYMBOL_GPL(tick_nohz_idle_enter);
/**
* tick_nohz_irq_exit - update next tick event from interrupt exit
@@ -974,7 +973,6 @@ void tick_nohz_idle_exit(void)
local_irq_enable();
}
-EXPORT_SYMBOL_GPL(tick_nohz_idle_exit);
static int tick_nohz_reprogram(struct tick_sched *ts, ktime_t now)
{
7 years, 7 months
[drm/fb-helper] WARNING: CPU: 1 PID: 1 at lib/idr.c:506 idr_remove()
by Fengguang Wu
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
git://anongit.freedesktop.org/drm-intel topic/core-stuff
commit 7bf2844ed14de049a4ccec26eb3d8b4c3d5c1971
Author: Thierry Reding <treding(a)nvidia.com>
AuthorDate: Wed Dec 17 16:39:59 2014 +0100
Commit: Daniel Vetter <daniel.vetter(a)ffwll.ch>
CommitDate: Wed Dec 17 22:05:08 2014 +0100
drm/fb-helper: Propagate errors from initial config failure
Make drm_fb_helper_initial_config() return an int rather than a bool so
that the error can be properly propagated. While at it, update drivers
to propagate errors further rather than just ignore them.
Cc: David Airlie <airlied(a)linux.ie>
Cc: Daniel Vetter <daniel.vetter(a)ffwll.ch>
Cc: Patrik Jakobsson <patrik.r.jakobsson(a)gmail.com>
Cc: Rob Clark <robdclark(a)gmail.com>
Cc: Tomi Valkeinen <tomi.valkeinen(a)ti.com>
Cc: Alex Deucher <alexander.deucher(a)amd.com>
Cc: Christian König <christian.koenig(a)amd.com>
Cc: Ben Skeggs <bskeggs(a)redhat.com>
Signed-off-by: Thierry Reding <treding(a)nvidia.com>
Reviewed-by: Alex Deucher <alexander.deucher(a)amd.com>
Reviewed-by: Patrik Jakobsson <patrik.r.jakobsson(a)gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter(a)ffwll.ch>
Attached dmesg for the parent commit, too, to help confirm whether it is a noise error.
Judging from the kernel boot hang timestamps, that looks like an noise.
+------------------------------------------------+------------+------------+------------+
| | 7552e7dd95 | 7bf2844ed1 | 7bf2844ed1 |
+------------------------------------------------+------------+------------+------------+
| boot_successes | 0 | 0 | 0 |
| boot_failures | 80 | 12 | 12 |
| BUG:kernel_boot_hang | 80 | | |
| WARNING:at_lib/idr.c:#idr_remove() | 0 | 12 | 12 |
| RIP:strcmp | 0 | 5 | 5 |
| Kernel_panic-not_syncing:softlockup:hung_tasks | 0 | 11 | 11 |
| backtrace:__pci_register_driver | 0 | 12 | 12 |
| backtrace:drm_pci_init | 0 | 12 | 12 |
| backtrace:cirrus_init | 0 | 12 | 12 |
| backtrace:kernel_init_freeable | 0 | 12 | 12 |
| backtrace:i2c_register_driver | 0 | 5 | 5 |
| backtrace:bh1780_driver_init | 0 | 2 | 2 |
| RIP:kset_find_obj | 0 | 6 | 6 |
| backtrace:i2o_pci_init | 0 | 2 | 2 |
| backtrace:i2o_iop_init | 0 | 2 | 2 |
| backtrace:lm3642_i2c_driver_init | 0 | 1 | 1 |
| BUG:kernel_test_hang | 0 | 1 | 1 |
| backtrace:usb_register_driver | 0 | 2 | 2 |
| backtrace:hanwang_driver_init | 0 | 2 | 2 |
| backtrace:__gameport_register_driver | 0 | 1 | 1 |
| backtrace:grip_drv_init | 0 | 1 | 1 |
| backtrace:w83l785ts_driver_init | 0 | 2 | 2 |
| backtrace:spi_register_driver | 0 | 1 | 1 |
| backtrace:dac7512_driver_init | 0 | 1 | 1 |
+------------------------------------------------+------------+------------+------------+
[ 4.754439] cirrus 0000:00:02.0: Fatal error during modeset init: -22
[ 4.756061] ------------[ cut here ]------------
[ 4.756061] ------------[ cut here ]------------
[ 4.756800] WARNING: CPU: 1 PID: 1 at lib/idr.c:506 idr_remove+0x384/0x3b0()
[ 4.756800] WARNING: CPU: 1 PID: 1 at lib/idr.c:506 idr_remove+0x384/0x3b0()
[ 4.758132] idr_remove called for id=20 which is not allocated.
[ 4.758132] idr_remove called for id=20 which is not allocated.
[ 4.759056] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.18.0-rc4-g7bf2844 #20
[ 4.759056] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.18.0-rc4-g7bf2844 #20
[ 4.760184] 0000000000000009
[ 4.760184] 0000000000000009 ffff88001147fa08 ffff88001147fa08 ffffffff824ce992 ffffffff824ce992 ffffffff81151538 ffffffff81151538
[ 4.761391] ffff88001147fa58
[ 4.761391] ffff88001147fa58 ffff88001147fa48 ffff88001147fa48 ffffffff810dac1a ffffffff810dac1a ffff88001147fa78 ffff88001147fa78
[ 4.762593] ffff88001147fac8
[ 4.762593] ffff88001147fac8 ffff880012c916f8 ffff880012c916f8 ffff880012d01310 ffff880012d01310 ffff880012c91060 ffff880012c91060
[ 4.763796] Call Trace:
[ 4.763796] Call Trace:
[ 4.764187] [<ffffffff824ce992>] dump_stack+0x86/0xbc
[ 4.764187] [<ffffffff824ce992>] dump_stack+0x86/0xbc
[ 4.764995] [<ffffffff81151538>] ? console_unlock+0x3b8/0x7a0
[ 4.764995] [<ffffffff81151538>] ? console_unlock+0x3b8/0x7a0
[ 4.765908] [<ffffffff810dac1a>] warn_slowpath_common+0x9a/0xd0
[ 4.765908] [<ffffffff810dac1a>] warn_slowpath_common+0x9a/0xd0
[ 4.766846] [<ffffffff810dace1>] warn_slowpath_fmt+0x51/0x60
[ 4.766846] [<ffffffff810dace1>] warn_slowpath_fmt+0x51/0x60
[ 4.767740] [<ffffffff819b7c7c>] ? drm_mode_object_put+0x2c/0x70
[ 4.767740] [<ffffffff819b7c7c>] ? drm_mode_object_put+0x2c/0x70
[ 4.768689] [<ffffffff8170f7c4>] idr_remove+0x384/0x3b0
[ 4.768689] [<ffffffff8170f7c4>] idr_remove+0x384/0x3b0
[ 4.769521] [<ffffffff81738039>] ? debug_check_no_obj_freed+0x29/0x40
[ 4.769521] [<ffffffff81738039>] ? debug_check_no_obj_freed+0x29/0x40
[ 4.770551] [<ffffffff819b7c94>] drm_mode_object_put+0x44/0x70
[ 4.770551] [<ffffffff819b7c94>] drm_mode_object_put+0x44/0x70
[ 4.771473] [<ffffffff819c1bba>] drm_mode_destroy+0x2a/0x50
[ 4.771473] [<ffffffff819c1bba>] drm_mode_destroy+0x2a/0x50
[ 4.772358] [<ffffffff8199d155>] drm_fb_helper_crtc_free+0xc5/0x110
[ 4.772358] [<ffffffff8199d155>] drm_fb_helper_crtc_free+0xc5/0x110
[ 4.773348] [<ffffffff8199e724>] drm_fb_helper_fini+0x74/0xc0
[ 4.773348] [<ffffffff8199e724>] drm_fb_helper_fini+0x74/0xc0
[ 4.774259] [<ffffffff81cbaa73>] cirrus_fbdev_fini+0x193/0x230
[ 4.774259] [<ffffffff81cbaa73>] cirrus_fbdev_fini+0x193/0x230
[ 4.775186] [<ffffffff81cb98c9>] cirrus_modeset_fini+0x19/0x50
[ 4.775186] [<ffffffff81cb98c9>] cirrus_modeset_fini+0x19/0x50
[ 4.776117] [<ffffffff81cb7afb>] cirrus_driver_unload+0x2b/0x80
[ 4.776117] [<ffffffff81cb7afb>] cirrus_driver_unload+0x2b/0x80
[ 4.777061] [<ffffffff81cb7c97>] cirrus_driver_load+0x147/0x220
[ 4.777061] [<ffffffff81cb7c97>] cirrus_driver_load+0x147/0x220
[ 4.778004] [<ffffffff819b0515>] drm_dev_register+0x115/0x1c0
[ 4.778004] [<ffffffff819b0515>] drm_dev_register+0x115/0x1c0
[ 4.778917] [<ffffffff819b3c8c>] drm_get_pci_dev+0xcc/0x300
[ 4.778917] [<ffffffff819b3c8c>] drm_get_pci_dev+0xcc/0x300
[ 4.779807] [<ffffffff824e3361>] ? mutex_unlock+0x11/0x20
[ 4.779807] [<ffffffff824e3361>] ? mutex_unlock+0x11/0x20
[ 4.780675] [<ffffffff81cb9b7a>] cirrus_pci_probe+0x13a/0x180
[ 4.780675] [<ffffffff81cb9b7a>] cirrus_pci_probe+0x13a/0x180
[ 4.781586] [<ffffffff817893fc>] pci_device_probe+0xbc/0x180
[ 4.781586] [<ffffffff817893fc>] pci_device_probe+0xbc/0x180
[ 4.782482] [<ffffffff81e470bb>] really_probe+0x7b/0x340
[ 4.782482] [<ffffffff81e470bb>] really_probe+0x7b/0x340
[ 4.783327] [<ffffffff81e47481>] __driver_attach+0x101/0x110
[ 4.783327] [<ffffffff81e47481>] __driver_attach+0x101/0x110
[ 4.784228] [<ffffffff81e47380>] ? really_probe+0x340/0x340
[ 4.784228] [<ffffffff81e47380>] ? really_probe+0x340/0x340
[ 4.785110] [<ffffffff81e4477b>] bus_for_each_dev+0xab/0x100
[ 4.785110] [<ffffffff81e4477b>] bus_for_each_dev+0xab/0x100
[ 4.786004] [<ffffffff81e477a1>] driver_attach+0x21/0x30
[ 4.786004] [<ffffffff81e477a1>] driver_attach+0x21/0x30
[ 4.786846] [<ffffffff81e458a0>] bus_add_driver+0x2a0/0x3e0
[ 4.786846] [<ffffffff81e458a0>] bus_add_driver+0x2a0/0x3e0
[ 4.787721] [<ffffffff81e48397>] driver_register+0xa7/0x190
[ 4.787721] [<ffffffff81e48397>] driver_register+0xa7/0x190
[ 4.788618] [<ffffffff8178988f>] __pci_register_driver+0x6f/0x80
[ 4.788618] [<ffffffff8178988f>] __pci_register_driver+0x6f/0x80
[ 4.789564] [<ffffffff819b3ff9>] drm_pci_init+0x139/0x170
[ 4.789564] [<ffffffff819b3ff9>] drm_pci_init+0x139/0x170
[ 4.790445] [<ffffffff839234c6>] ? mgag200_init+0x3c/0x3c
[ 4.790445] [<ffffffff839234c6>] ? mgag200_init+0x3c/0x3c
[ 4.791306] [<ffffffff839234f9>] cirrus_init+0x33/0x3c
[ 4.791306] [<ffffffff839234f9>] cirrus_init+0x33/0x3c
[ 4.792129] [<ffffffff838d88d6>] do_one_initcall+0x176/0x247
[ 4.792129] [<ffffffff838d88d6>] do_one_initcall+0x176/0x247
[ 4.793030] [<ffffffff838d8b79>] kernel_init_freeable+0x1d2/0x2d4
[ 4.793030] [<ffffffff838d8b79>] kernel_init_freeable+0x1d2/0x2d4
[ 4.793999] [<ffffffff824c2750>] ? rest_init+0x130/0x130
[ 4.793999] [<ffffffff824c2750>] ? rest_init+0x130/0x130
[ 4.794847] [<ffffffff824c2761>] kernel_init+0x11/0x1a0
[ 4.794847] [<ffffffff824c2761>] kernel_init+0x11/0x1a0
[ 4.795676] [<ffffffff824e7f3c>] ret_from_fork+0x7c/0xb0
[ 4.795676] [<ffffffff824e7f3c>] ret_from_fork+0x7c/0xb0
[ 4.796523] [<ffffffff824c2750>] ? rest_init+0x130/0x130
[ 4.796523] [<ffffffff824c2750>] ? rest_init+0x130/0x130
[ 4.797374] ---[ end trace 84335bfc53d465fe ]---
[ 4.797374] ---[ end trace 84335bfc53d465fe ]---
git bisect start 7bf2844ed14de049a4ccec26eb3d8b4c3d5c1971 955289c7cfad158dc939e150896a240f549ccc60 --
git bisect good a18c0af171bfb875012da26f23df051004726973 # 06:09 20+ 20 drm: Zero out DRM object memory upon cleanup
git bisect good ae28290be3871969fc3f64b480d42575a16ae990 # 06:21 20+ 20 drm: bit of spell-check / editorializing.
git bisect good 05acaec334fcc1132d1e48c5042e044651e0b75b # 06:32 20+ 20 drm: Reorganize probed mode validation
git bisect good 261ea74f3689a997502f1264494f1749951a05a8 # 06:47 20+ 20 drm: Remove stale comment
git bisect good 6d11a2f00724d52b988b5fedc6e6a050e1a46389 # 06:59 20+ 20 drm: Make drm_crtc_helper.h standalone includible
git bisect good 7552e7dd9527c41f891c87854418896eaf309c20 # 07:07 20+ 20 drm: Include drm_crtc_helper.h in DocBook
# first bad commit: [7bf2844ed14de049a4ccec26eb3d8b4c3d5c1971] drm/fb-helper: Propagate errors from initial config failure
git bisect good 7552e7dd9527c41f891c87854418896eaf309c20 # 07:13 60+ 80 drm: Include drm_crtc_helper.h in DocBook
# extra tests on HEAD of drm-intel/topic/core-stuff
git bisect bad 7bf2844ed14de049a4ccec26eb3d8b4c3d5c1971 # 07:13 0- 12 drm/fb-helper: Propagate errors from initial config failure
# extra tests on tree/branch drm-intel/topic/core-stuff
git bisect bad 7bf2844ed14de049a4ccec26eb3d8b4c3d5c1971 # 07:13 0- 12 drm/fb-helper: Propagate errors from initial config failure
# extra tests on tree/branch linus/master
git bisect good 87c31b39abcb6fb6bd7d111200c9627a594bf6a9 # 07:19 60+ 64 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
# extra tests on tree/branch next/master
git bisect good 5fef85d456eedf616809f7bf722b6f6a782d8a93 # 07:30 60+ 60 Add linux-next specific files for 20141217
This script may reproduce the error.
----------------------------------------------------------------------------
#!/bin/bash
kernel=$1
initrd=quantal-core-x86_64.cgz
wget --no-clobber https://github.com/fengguang/reproduce-kernel-bug/raw/master/initrd/$initrd
kvm=(
qemu-system-x86_64
-cpu kvm64
-enable-kvm
-kernel $kernel
-initrd $initrd
-m 320
-smp 2
-net nic,vlan=1,model=e1000
-net user,vlan=1
-boot order=nc
-no-reboot
-watchdog i6300esb
-rtc base=localtime
-serial stdio
-display none
-monitor null
)
append=(
hung_task_panic=1
earlyprintk=ttyS0,115200
debug
apic=debug
sysrq_always_enabled
rcupdate.rcu_cpu_stall_timeout=100
panic=-1
softlockup_panic=1
nmi_watchdog=panic
oops=panic
load_ramdisk=2
prompt_ramdisk=0
console=ttyS0,115200
console=tty0
vga=normal
root=/dev/ram0
rw
drbd.minor_count=8
)
"${kvm[@]}" --append "${append[*]}"
----------------------------------------------------------------------------
Thanks,
Fengguang
_______________________________________________
LKP mailing list
LKP(a)linux.intel.com
7 years, 7 months
[iwlwifi] BUG: unable to handle kernel
by Fengguang Wu
Hi All,
I don't see any relationship between the BUG and this bisected commit.
Anyway, it's better to report it to the lists than to ignore.
git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-fixes.git master
commit 03d6c3b0fa4f5f0379cede079ec828a6c999fe43
Author: Emmanuel Grumbach <emmanuel.grumbach(a)intel.com>
AuthorDate: Wed Dec 3 10:39:07 2014 +0200
Commit: Emmanuel Grumbach <emmanuel.grumbach(a)intel.com>
CommitDate: Sun Dec 14 10:20:29 2014 +0200
iwlwifi: pcie: re-ACK all interrupts after device reset
When we reset the device, the CSR_INT gets cleared as well
as CSR_INT_MASK. Meaning that we shouldn't get any interrupt
but, due to a hardware bug, recent devices will keep sending
interrupts. This leads to an interrupt storm while stopping
the device.
The way to fix this is to ACK all the interrupts after the
device is reset so that the value of CSR_INT will stay
0xffffffff.
Fixes: 522713c81e4e ("iwlwifi: pcie: properly reset the device")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach(a)intel.com>
+------------------------------------------+------------+------------+------------+
| | 0a79a0c011 | 03d6c3b0fa | iwlwifi-fi |
+------------------------------------------+------------+------------+------------+
| boot_successes | 60 | 19 | 3 |
| boot_failures | 0 | 1 | 9 |
| BUG:unable_to_handle_kernel | 0 | 1 | 9 |
| Oops | 0 | 1 | 9 |
| RIP:strcmp | 0 | 1 | 9 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 1 | 9 |
| backtrace:led_trigger_register_simple | 0 | 1 | 9 |
| backtrace:ledtrig_usb_init | 0 | 1 | 9 |
| backtrace:kernel_init_freeable | 0 | 1 | 9 |
+------------------------------------------+------------+------------+------------+
[ 5.345018] g_serial gadget: Gadget Serial v2.4
[ 5.345927] g_serial gadget: g_serial ready
[ 5.345927] g_serial gadget: g_serial ready
[ 5.346777] BUG: unable to handle kernel
[ 5.346777] BUG: unable to handle kernel paging requestpaging request at ffff88000004e5f0
at ffff88000004e5f0
[ 5.348183] IP:
[ 5.348183] IP: [<ffffffff81446a68>] strcmp+0x6/0x20
[<ffffffff81446a68>] strcmp+0x6/0x20
[ 5.349183] PGD 37f1067
[ 5.349183] PGD 37f1067 PUD 37f2067 PUD 37f2067 PMD 37f3067 PMD 37f3067 PTE 800000000004e060PTE 800000000004e060
[ 5.350498] Oops: 0000 [#1]
[ 5.350498] Oops: 0000 [#1] DEBUG_PAGEALLOCDEBUG_PAGEALLOC
[ 5.351360] CPU: 0 PID: 1 Comm: swapper Not tainted 3.18.0-g03d6c3b #1
[ 5.351360] CPU: 0 PID: 1 Comm: swapper Not tainted 3.18.0-g03d6c3b #1
[ 5.352660] task: ffff880012060000 ti: ffff88001204c000 task.ti: ffff88001204c000
[ 5.352660] task: ffff880012060000 ti: ffff88001204c000 task.ti: ffff88001204c000
[ 5.354143] RIP: 0010:[<ffffffff81446a68>]
[ 5.354143] RIP: 0010:[<ffffffff81446a68>] [<ffffffff81446a68>] strcmp+0x6/0x20
[<ffffffff81446a68>] strcmp+0x6/0x20
[ 5.354451] RSP: 0000:ffff88001204fe28 EFLAGS: 00010246
[ 5.354451] RSP: 0000:ffff88001204fe28 EFLAGS: 00010246
[ 5.354451] RAX: 0000000000000000 RBX: ffff88000c08fe00 RCX: ffffffff81d35310
[ 5.354451] RAX: 0000000000000000 RBX: ffff88000c08fe00 RCX: ffffffff81d35310
[ 5.354451] RDX: ffff88000c08fe68 RSI: ffffffff826d05be RDI: ffff88000004e5f0
[ 5.354451] RDX: ffff88000c08fe68 RSI: ffffffff826d05be RDI: ffff88000004e5f0
[ 5.354451] RBP: ffff88001204fe28 R08: 0000000000000001 R09: 000000000000033a
[ 5.354451] RBP: ffff88001204fe28 R08: 0000000000000001 R09: 000000000000033a
[ 5.354451] R10: 0000000000000000 R11: ffffffff82531cd1 R12: ffff88000c19fa00
[ 5.354451] R10: 0000000000000000 R11: ffffffff82531cd1 R12: ffff88000c19fa00
[ 5.354451] R13: 0000000000000000 R14: ffffffff837958b8 R15: 0000000000000000
[ 5.354451] R13: 0000000000000000 R14: ffffffff837958b8 R15: 0000000000000000
[ 5.354451] FS: 0000000000000000(0000) GS:ffffffff82789000(0000) knlGS:0000000000000000
[ 5.354451] FS: 0000000000000000(0000) GS:ffffffff82789000(0000) knlGS:0000000000000000
[ 5.354451] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 5.354451] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 5.354451] CR2: ffff88000004e5f0 CR3: 0000000002776000 CR4: 00000000000006b0
[ 5.354451] CR2: ffff88000004e5f0 CR3: 0000000002776000 CR4: 00000000000006b0
[ 5.354451] Stack:
[ 5.354451] Stack:
[ 5.354451] ffff88001204fe58
[ 5.354451] ffff88001204fe58 ffffffff81d35334 ffffffff81d35334 0000000000000000 0000000000000000 ffff88000c19fa00 ffff88000c19fa00
[ 5.354451] ffffffff826d05be
[ 5.354451] ffffffff826d05be 0000000000000000 0000000000000000 ffff88001204fe88 ffff88001204fe88 ffffffff81d35648 ffffffff81d35648
[ 5.354451] ffff88000e3bbcc0
[ 5.354451] ffff88000e3bbcc0 ffffffff82b3fe61 ffffffff82b3fe61 0000000000000000 0000000000000000 ffffffff82b98910 ffffffff82b98910
[ 5.354451] Call Trace:
[ 5.354451] Call Trace:
[ 5.354451] [<ffffffff81d35334>] led_trigger_register+0x63/0x129
[ 5.354451] [<ffffffff81d35334>] led_trigger_register+0x63/0x129
[ 5.354451] [<ffffffff81d35648>] led_trigger_register_simple+0x35/0x79
[ 5.354451] [<ffffffff81d35648>] led_trigger_register_simple+0x35/0x79
[ 5.354451] [<ffffffff82b3fe61>] ? gs_bind+0xea/0xea
[ 5.354451] [<ffffffff82b3fe61>] ? gs_bind+0xea/0xea
[ 5.354451] [<ffffffff82b3fe78>] ledtrig_usb_init+0x17/0x2e
[ 5.354451] [<ffffffff82b3fe78>] ledtrig_usb_init+0x17/0x2e
[ 5.354451] [<ffffffff82b00044>] do_one_initcall+0xe6/0x171
[ 5.354451] [<ffffffff82b00044>] do_one_initcall+0xe6/0x171
[ 5.354451] [<ffffffff82b001c7>] kernel_init_freeable+0xf8/0x180
[ 5.354451] [<ffffffff82b001c7>] kernel_init_freeable+0xf8/0x180
[ 5.354451] [<ffffffff82060791>] ? rest_init+0xbd/0xbd
[ 5.354451] [<ffffffff82060791>] ? rest_init+0xbd/0xbd
[ 5.354451] [<ffffffff8206079a>] kernel_init+0x9/0xd0
[ 5.354451] [<ffffffff8206079a>] kernel_init+0x9/0xd0
[ 5.354451] [<ffffffff8207d2ba>] ret_from_fork+0x7a/0xb0
[ 5.354451] [<ffffffff8207d2ba>] ret_from_fork+0x7a/0xb0
[ 5.354451] [<ffffffff82060791>] ? rest_init+0xbd/0xbd
[ 5.354451] [<ffffffff82060791>] ? rest_init+0xbd/0xbd
[ 5.354451] Code:
[ 5.354451] Code: c0 c0 eb eb f5 f5 31 31 c9 c9 40 40 8a 8a 3c 3c 0e 0e 4d 4d 8d 8d 0c 0c 08 08 40 40 84 84 ff ff 41 41 88 88 3c 3c 08 08 74 74 0d 0d 48 48 ff ff c1 c1 48 48 39 39 ca ca 75 75 e7 e7 41 41 c6 c6 41 41 01 01 00 00 5d 5d c3 c3 55 55 31 31 c0 c0 48 48 89 89 e5 e5 <8a> <8a> 14 14 07 07 3a 3a 14 14 06 06 74 74 07 07 19 19 c0 c0 83 83 c8 c8 01 01 eb eb 09 09 48 48 ff ff c0 c0 84 84 d2 d2 75 75
[ 5.354451] RIP
[ 5.354451] RIP [<ffffffff81446a68>] strcmp+0x6/0x20
[<ffffffff81446a68>] strcmp+0x6/0x20
[ 5.354451] RSP <ffff88001204fe28>
[ 5.354451] RSP <ffff88001204fe28>
[ 5.354451] CR2: ffff88000004e5f0
[ 5.354451] CR2: ffff88000004e5f0
[ 5.354451] ---[ end trace 8f9377b34c860a0c ]---
[ 5.354451] ---[ end trace 8f9377b34c860a0c ]---
git bisect start baa21e834941ee5fbe4bd421c871f7c0c5f9a086 70e71ca0af244f48a5dcf56dc435243792e3a495 --
git bisect bad 03d6c3b0fa4f5f0379cede079ec828a6c999fe43 # 16:23 0- 1 iwlwifi: pcie: re-ACK all interrupts after device reset
git bisect good 0a79a0c011cb291675e3b80760a452fcba5c59d9 # 16:28 20+ 0 iwlwifi: mvm: clear IN_HW_RESTART flag on stop()
# first bad commit: [03d6c3b0fa4f5f0379cede079ec828a6c999fe43] iwlwifi: pcie: re-ACK all interrupts after device reset
git bisect good 0a79a0c011cb291675e3b80760a452fcba5c59d9 # 16:30 60+ 0 iwlwifi: mvm: clear IN_HW_RESTART flag on stop()
# extra tests on HEAD of iwlwifi-fixes/master
git bisect bad baa21e834941ee5fbe4bd421c871f7c0c5f9a086 # 16:30 0- 9 iwlwifi: pcie: limit fw chunk sizes given to fh
# extra tests on tree/branch iwlwifi-fixes/master
git bisect bad baa21e834941ee5fbe4bd421c871f7c0c5f9a086 # 16:30 0- 9 iwlwifi: pcie: limit fw chunk sizes given to fh
# extra tests on tree/branch linus/master
git bisect good 44e8967d591686463e84a88b46b03beba3ab49fb # 16:32 60+ 0 Ceph: remove left-over reject file
# extra tests on tree/branch next/master
git bisect good cfaa3a95dd2b402599b1d8122dc3107478db8717 # 16:35 60+ 1 Add linux-next specific files for 20141218
This script may reproduce the error.
----------------------------------------------------------------------------
#!/bin/bash
kernel=$1
initrd=quantal-core-x86_64.cgz
wget --no-clobber https://github.com/fengguang/reproduce-kernel-bug/raw/master/initrd/$initrd
kvm=(
qemu-system-x86_64
-cpu kvm64
-enable-kvm
-kernel $kernel
-initrd $initrd
-m 320
-smp 2
-net nic,vlan=1,model=e1000
-net user,vlan=1
-boot order=nc
-no-reboot
-watchdog i6300esb
-rtc base=localtime
-serial stdio
-display none
-monitor null
)
append=(
hung_task_panic=1
earlyprintk=ttyS0,115200
debug
apic=debug
sysrq_always_enabled
rcupdate.rcu_cpu_stall_timeout=100
panic=-1
softlockup_panic=1
nmi_watchdog=panic
oops=panic
load_ramdisk=2
prompt_ramdisk=0
console=ttyS0,115200
console=tty0
vga=normal
root=/dev/ram0
rw
drbd.minor_count=8
)
"${kvm[@]}" --append "${append[*]}"
----------------------------------------------------------------------------
Thanks,
Fengguang
_______________________________________________
LKP mailing list
LKP(a)linux.intel.com
7 years, 7 months
[cpufreq] BUG: sleeping function called from invalid context at mm/slub.c:1241
by Huang Ying
FYI, we noticed the below changes on
https://git.linaro.org/people/vireshk/linux cpufreq/stats/cleanups
commit 2136fa84639adcc0727e968f99ad222c8146810c ("cpufreq: stats: Fix locking")
+----------------------+------------+------------+
| | 0063f8602b | 2136fa8463 |
+----------------------+------------+------------+
| boot_successes | 9 | 9 |
| boot_failures | 1 | 1 |
| BUG:kernel_boot_hang | 1 | 1 |
+----------------------+------------+------------+
[ 24.295182] Freeing unused kernel memory: 1972K (ffff880001a13000 - ffff880001c00000)
[ 24.304471] Freeing unused kernel memory: 1780K (ffff880002043000 - ffff880002200000)
[ 24.704332] acpi-cpufreq: overriding BIOS provided _PSD data
[ 24.716589] BUG: sleeping function called from invalid context at mm/slub.c:1241
[ 24.726087] in_atomic(): 1, irqs_disabled(): 0, pid: 2393, name: modprobe
[ 24.726092] CPU: 21 PID: 2393 Comm: modprobe Not tainted 3.18.0-g0a0a28c #1
[ 24.726093] Hardware name: Supermicro H8DGU/H8DGU, BIOS 2.0 09/08/11
[ 24.726097] 00000000000004d9 ffff8810071a3ae8 ffffffff81a02d59 000000000f340f34
[ 24.726099] ffffffff81effec4 ffff8810071a3af8 ffffffff8110adca ffff8810071a3b28
[ 24.726101] ffffffff8110ae7d 0000000000000000 00000000000080d0 ffff88040f803b00
[ 24.726102] Call Trace:
[ 24.726111] [<ffffffff81a02d59>] dump_stack+0x4c/0x65
[ 24.726117] [<ffffffff8110adca>] ___might_sleep+0x10e/0x110
[ 24.726119] [<ffffffff8110ae7d>] __might_sleep+0xb1/0xb9
[ 24.726123] [<ffffffff811ea2af>] kmem_cache_alloc_trace+0x48/0x1e6
[ 24.726128] [<ffffffff818a25df>] ? __cpufreq_stats_create_table+0x68/0x194
[ 24.726131] [<ffffffff818a25df>] __cpufreq_stats_create_table+0x68/0x194
[ 24.726138] [<ffffffff818a27b6>] cpufreq_stat_notifier_policy+0x1b/0x32
[ 24.726141] [<ffffffff81105a7d>] notifier_call_chain+0x6d/0x95
[ 24.726143] [<ffffffff81105d20>] __blocking_notifier_call_chain+0x4a/0x63
[ 24.726145] [<ffffffff81105d4d>] blocking_notifier_call_chain+0x14/0x16
[ 24.726148] [<ffffffff818a181e>] __cpufreq_add_dev+0x71d/0x8ce
[ 24.726150] [<ffffffff818a1a3c>] cpufreq_add_dev+0xe/0x10
[ 24.726154] [<ffffffff8155dd93>] subsys_interface_register+0xb8/0xdf
[ 24.726157] [<ffffffff818a0792>] cpufreq_register_driver+0x156/0x268
[ 24.726159] [<ffffffffa009f000>] ? 0xffffffffa009f000
[ 24.726163] [<ffffffffa009f220>] acpi_cpufreq_init+0x220/0x1000 [acpi_cpufreq]
[ 24.726165] [<ffffffffa009f000>] ? 0xffffffffa009f000
[ 24.726168] [<ffffffff8100032a>] do_one_initcall+0xfd/0x18f
[ 24.726172] [<ffffffff811d4383>] ? __vunmap+0xac/0xb7
[ 24.726176] [<ffffffff81150cd3>] load_module+0x1a35/0x1ff7
[ 24.726179] [<ffffffff81205653>] ? kernel_read+0x48/0x5f
[ 24.726183] [<ffffffff811513ef>] SyS_finit_module+0x85/0x92
[ 24.726187] [<ffffffff81a0a1e9>] system_call_fastpath+0x12/0x17
[ 25.539283] microcode: CPU0: patch_level=0x06000613
[ 25.544884] microcode: CPU1: patch_level=0x06000613
[ 25.550137] microcode: CPU2: patch_level=0x06000613
Thanks,
Huang, Ying
_______________________________________________
LKP mailing list
LKP(a)linux.intel.com
7 years, 7 months
[vmstat] 7cc36bbddde: +2.6% will-it-scale.scalability -28.7% time.involuntary_context_switches
by Huang Ying
FYI, we noticed the below changes on
commit 7cc36bbddde5cd0c98f0c06e3304ab833d662565 ("vmstat: on-demand vmstat workers V8")
testbox/testcase/testparams: lkp-sbx04/will-it-scale/performance-pread2
f0d6d1f6ff6f8525 7cc36bbddde5cd0c98f0c06e33
---------------- --------------------------
%stddev %change %stddev
\ | \
0.00 ± 1% +2.6% 0.00 ± 1% will-it-scale.scalability
533566 ± 0% -1.2% 527362 ± 0% will-it-scale.per_process_ops
486263 ± 0% -0.9% 481764 ± 0% will-it-scale.per_thread_ops
355 ± 14% +163.0% 933 ± 37% sched_debug.cpu#20.curr->pid
6 ± 34% +148.0% 15 ± 11% sched_debug.cfs_rq[52]:/.load
11214 ± 48% -55.6% 4973 ± 14% sched_debug.cfs_rq[11]:/.exec_clock
5 ± 31% -55.0% 2 ± 48% sched_debug.cpu#5.cpu_load[1]
88729 ± 46% -53.2% 41487 ± 3% sched_debug.cfs_rq[11]:/.min_vruntime
408 ± 34% -56.8% 176 ± 3% sched_debug.cpu#43.ttwu_local
7 ± 34% +114.3% 15 ± 12% sched_debug.cpu#52.load
13 ± 46% +70.4% 23 ± 26% sched_debug.cpu#43.load
4 ± 17% +105.3% 9 ± 19% sched_debug.cfs_rq[6]:/.blocked_load_avg
6562 ± 25% +120.1% 14443 ± 16% sched_debug.cfs_rq[7]:/.exec_clock
3 ± 22% -46.7% 2 ± 0% sched_debug.cfs_rq[28]:/.blocked_load_avg
68456 ± 17% -39.7% 41302 ± 47% sched_debug.cfs_rq[46]:/.spread0
187 ± 15% -38.2% 115 ± 18% sched_debug.cpu#40.ttwu_local
941 ± 25% +76.9% 1665 ± 19% sched_debug.cpu#52.curr->pid
11 ± 3% +104.4% 23 ± 49% sched_debug.cfs_rq[48]:/.tg_load_contrib
534 ± 20% +87.9% 1003 ± 48% sched_debug.cpu#6.ttwu_local
51437 ± 28% +55.8% 80132 ± 19% sched_debug.cfs_rq[8]:/.min_vruntime
14311 ± 23% +67.2% 23936 ± 24% sched_debug.cpu#22.sched_goidle
9 ± 8% -35.9% 6 ± 26% sched_debug.cpu#39.cpu_load[4]
14113 ± 24% +66.8% 23537 ± 25% sched_debug.cpu#22.ttwu_count
28742 ± 23% +66.8% 47938 ± 24% sched_debug.cpu#22.nr_switches
7 ± 17% -27.6% 5 ± 20% sched_debug.cpu#42.cpu_load[0]
58556 ± 16% -32.5% 39547 ± 4% sched_debug.cfs_rq[12]:/.min_vruntime
199 ± 9% -37.1% 125 ± 12% sched_debug.cpu#46.ttwu_local
161308 ± 28% -45.6% 87699 ± 30% sched_debug.cpu#2.sched_goidle
322838 ± 28% -45.6% 175601 ± 30% sched_debug.cpu#2.nr_switches
188 ± 8% -30.3% 131 ± 11% sched_debug.cpu#47.ttwu_local
330608 ± 31% -46.5% 176795 ± 29% sched_debug.cpu#2.sched_count
407 ± 12% +39.7% 568 ± 10% sched_debug.cpu#30.ttwu_local
75 ± 21% +31.5% 99 ± 19% sched_debug.cfs_rq[8]:/.tg_runnable_contrib
9 ± 15% -33.3% 6 ± 11% sched_debug.cpu#36.cpu_load[1]
3494 ± 21% +31.0% 4578 ± 18% sched_debug.cfs_rq[8]:/.avg->runnable_avg_sum
304 ± 9% -28.7% 217 ± 9% sched_debug.cpu#39.ttwu_local
118 ± 10% -25.2% 88 ± 11% sched_debug.cpu#48.ttwu_local
171927 ± 32% -45.5% 93673 ± 34% sched_debug.cpu#2.ttwu_count
68928 ± 14% -41.9% 40061 ± 46% sched_debug.cfs_rq[40]:/.spread0
9 ± 11% -33.3% 6 ± 17% sched_debug.cpu#38.cpu_load[4]
9 ± 15% -25.6% 7 ± 15% sched_debug.cpu#38.cpu_load[3]
537 ± 15% -28.3% 385 ± 14% sched_debug.cpu#9.ttwu_local
2694 ± 15% -21.5% 2116 ± 6% sched_debug.cfs_rq[16]:/.avg->runnable_avg_sum
58 ± 15% -21.1% 45 ± 6% sched_debug.cfs_rq[16]:/.tg_runnable_contrib
0.05 ± 8% +33.3% 0.07 ± 10% turbostat.%c3
130948 ± 11% -40.3% 78138 ± 47% sched_debug.cfs_rq[39]:/.spread0
282 ± 10% -22.1% 220 ± 7% sched_debug.cpu#38.ttwu_local
20679 ± 18% -26.9% 15120 ± 17% numa-meminfo.node2.Active(anon)
5170 ± 18% -26.9% 3778 ± 17% numa-vmstat.node2.nr_active_anon
36499 ± 4% -24.1% 27721 ± 8% sched_debug.cfs_rq[39]:/.exec_clock
259406 ± 8% -19.7% 208230 ± 10% sched_debug.cfs_rq[39]:/.min_vruntime
125 ± 5% -20.5% 99 ± 14% sched_debug.cpu#55.ttwu_local
23 ± 10% -26.1% 17 ± 19% sched_debug.cfs_rq[44]:/.load
82250 ± 9% -20.9% 65029 ± 11% sched_debug.cfs_rq[2]:/.min_vruntime
80988 ± 8% +17.1% 94812 ± 7% meminfo.DirectMap4k
47 ± 10% +15.3% 54 ± 8% sched_debug.cfs_rq[20]:/.tg_runnable_contrib
73 ± 7% -22.9% 56 ± 8% sched_debug.cpu#63.ttwu_local
46694 ± 4% +29.7% 60558 ± 7% sched_debug.cpu#7.nr_load_updates
2205 ± 9% +15.1% 2539 ± 8% sched_debug.cfs_rq[20]:/.avg->runnable_avg_sum
772 ± 10% -17.6% 636 ± 4% sched_debug.cpu#33.ttwu_local
1.64 ± 3% +21.3% 1.98 ± 10% perf-profile.cpu-cycles.copy_user_generic_string.copy_page_to_iter.shmem_file_read_iter.new_sync_read.vfs_read
140 ± 25% -34.4% 92 ± 9% sched_debug.cpu#54.ttwu_local
1.27 ± 4% -14.0% 1.09 ± 9% perf-profile.cpu-cycles.put_page.shmem_file_read_iter.new_sync_read.vfs_read.sys_pread64
1.72 ± 7% -14.8% 1.46 ± 9% perf-profile.cpu-cycles.find_get_entry.find_lock_entry.shmem_getpage_gfp.shmem_file_read_iter.new_sync_read
251 ± 1% -17.8% 206 ± 11% sched_debug.cfs_rq[39]:/.tg_runnable_contrib
11533 ± 1% -17.7% 9492 ± 11% sched_debug.cfs_rq[39]:/.avg->runnable_avg_sum
649966 ± 7% +20.0% 779700 ± 5% sched_debug.cpu#36.ttwu_count
3.99 ± 2% +20.4% 4.80 ± 7% perf-profile.cpu-cycles.__wake_up_common.__wake_up.__wake_up_bit.unlock_page.shmem_file_read_iter
613256 ± 9% -9.5% 555274 ± 10% sched_debug.cpu#26.avg_idle
554 ± 22% +55.5% 862 ± 39% sched_debug.cpu#3.ttwu_local
8 ± 4% +51.4% 13 ± 33% sched_debug.cfs_rq[25]:/.tg_load_contrib
637300 ± 8% +15.3% 734754 ± 5% sched_debug.cpu#36.sched_goidle
1275355 ± 8% +15.3% 1470926 ± 5% sched_debug.cpu#36.sched_count
1274943 ± 8% +15.3% 1469761 ± 5% sched_debug.cpu#36.nr_switches
101711 ± 5% -13.8% 87699 ± 7% sched_debug.cpu#39.nr_load_updates
374 ± 19% -31.5% 256 ± 13% sched_debug.cpu#32.ttwu_local
249095 ± 6% -14.2% 213769 ± 7% sched_debug.cfs_rq[38]:/.min_vruntime
34404 ± 5% -15.9% 28935 ± 8% sched_debug.cfs_rq[38]:/.exec_clock
44719 ± 5% -11.1% 39771 ± 6% sched_debug.cpu#62.nr_load_updates
1.06 ± 6% +13.5% 1.20 ± 6% perf-profile.cpu-cycles.wake_bit_function.__wake_up.__wake_up_bit.unlock_page.shmem_file_read_iter
11248 ± 5% -13.2% 9765 ± 9% sched_debug.cfs_rq[38]:/.avg->runnable_avg_sum
2425 ± 14% +18.9% 2883 ± 7% sched_debug.cfs_rq[19]:/.exec_clock
245 ± 5% -13.0% 213 ± 9% sched_debug.cfs_rq[38]:/.tg_runnable_contrib
129 ± 3% -21.3% 101 ± 10% sched_debug.cpu#53.ttwu_local
41965 ± 9% -13.8% 36182 ± 5% numa-meminfo.node2.Active
4000 ± 0% -11.1% 3554 ± 7% proc-vmstat.nr_shmem
16003 ± 0% -11.1% 14220 ± 7% meminfo.Shmem
94 ± 3% +10.6% 104 ± 4% sched_debug.cfs_rq[41]:/.tg_runnable_contrib
5773 ± 11% -15.2% 4893 ± 6% numa-vmstat.node1.nr_slab_unreclaimable
4366 ± 3% +10.4% 4818 ± 4% sched_debug.cfs_rq[41]:/.avg->runnable_avg_sum
23094 ± 11% -15.2% 19576 ± 6% numa-meminfo.node1.SUnreclaim
55562 ± 4% -11.5% 49192 ± 10% sched_debug.cpu#2.nr_load_updates
32616 ± 3% -10.2% 29304 ± 8% sched_debug.cpu#61.ttwu_count
667746 ± 13% +21.4% 810334 ± 3% sched_debug.cpu#34.ttwu_count
34230 ± 6% -11.2% 30408 ± 2% numa-meminfo.node1.Slab
1835 ± 2% +12.1% 2057 ± 6% numa-meminfo.node1.KernelStack
4589 ± 1% -28.7% 3271 ± 2% time.involuntary_context_switches
359 ± 3% +5.2% 378 ± 0% time.percent_of_cpu_this_job_got
1105 ± 3% +5.2% 1163 ± 0% time.system_time
lkp-sbx04: Sandy Bridge-EX
Memory: 64G
time.involuntary_context_switches
5000 ++-------------------------------------------------------------------+
4500 ++*.*.*.*.*.*. .*.*.*. .*.*.*.*.*. *.*.*.* |
* * * * |
4000 ++ |
3500 O+O O O O O O O O O |
| O O O O O O O OO O O O O O O O O O O O O O O O
3000 ++ |
2500 ++ |
2000 ++ |
| |
1500 ++ |
1000 ++ |
| |
500 ++ |
0 ++-------------------------------------O-----O-----------------------+
[*] bisect-good sample
[O] bisect-bad sample
To reproduce:
apt-get install ruby ruby-oj
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/setup-local job.yaml # the job file attached in this email
bin/run-local job.yaml
Disclaimer:
Results have been estimated based on internal Intel analysis and are provided
for informational purposes only. Any difference in system hardware or software
design or configuration may affect actual performance.
Thanks,
Huang, Ying
_______________________________________________
LKP mailing list
LKP(a)linux.intel.com
7 years, 7 months
[drm/atomic] BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
by Huang Ying
FYI, we noticed the below changes on
git://people.freedesktop.org/~robclark/linux integration-linux-qcomlt-drm
commit 69384be7fa759b6b753a22f01f49de10b5d41e76 ("drm/atomic: atomic plane properties")
+-------------------------------------------+------------+------------+
| | 86111e08fd | 69384be7fa |
+-------------------------------------------+------------+------------+
| boot_successes | 6 | 10 |
| boot_failures | 7 | 12 |
| BUG:kernel_boot_hang | 7 | |
| BUG:unable_to_handle_kernel | 0 | 12 |
| Oops | 0 | 12 |
| RIP:drm_universal_plane_init[drm] | 0 | 12 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 12 |
| backtrace:drm_universal_plane_init | 0 | 12 |
| backtrace:drm_primary_helper_create_plane | 0 | 12 |
| backtrace:drm_crtc_init | 0 | 12 |
| backtrace:cirrus_modeset_init | 0 | 12 |
| backtrace:__pci_register_driver | 0 | 12 |
| backtrace:drm_pci_init | 0 | 12 |
| backtrace:cirrus_init | 0 | 12 |
| backtrace:load_module | 0 | 12 |
| backtrace:SyS_finit_module | 0 | 12 |
+-------------------------------------------+------------+------------+
[ 5.389789] [TTM] Zone kernel: Available graphics memory: 507084 kiB
[ 5.390816] [TTM] Initializing pool allocator
[ 5.391851] [TTM] Initializing DMA pool allocator
[ 5.392694] BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
[ 5.393640] IP: [<ffffffffa00673be>] drm_universal_plane_init+0x12e/0x240 [drm]
[ 5.393640] PGD 0
[ 5.393640] Oops: 0000 [#1] SMP
[ 5.393640] Modules linked in: cirrus(+) syscopyarea sysfillrect snd_pcm sysimgblt ttm snd_timer ata_piix drm_kms_helper snd soundcore i2c_piix4 drm libata pcspkr
[ 5.393640] CPU: 1 PID: 235 Comm: modprobe Not tainted 3.18.0-01226-gfa84c4d #10
[ 5.393640] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 5.393640] task: ffff88003f570000 ti: ffff88003f720000 task.ti: ffff88003f720000
[ 5.393640] RIP: 0010:[<ffffffffa00673be>] [<ffffffffa00673be>] drm_universal_plane_init+0x12e/0x240 [drm]
[ 5.393640] RSP: 0018:ffff88003f723988 EFLAGS: 00010202
[ 5.393640] RAX: 0000000000000000 RBX: ffff88003ee94058 RCX: ffff88003ee940a0
[ 5.393640] RDX: 0000000000000001 RSI: ffff88003ecb3200 RDI: ffff88003ee94058
[ 5.393640] RBP: ffff88003f7239d8 R08: ffff88003fbbe350 R09: ffff880037c01e00
[ 5.393640] R10: ffffffffa0067346 R11: 0000000000017300 R12: 0000000000000000
[ 5.393640] R13: ffff88003ee94000 R14: 0000000000000008 R15: ffff88003fbbe000
[ 5.393640] FS: 00007f9fd75de700(0000) GS:ffff880038300000(0000) knlGS:0000000000000000
[ 5.393640] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 5.393640] CR2: 0000000000000010 CR3: 000000003f4c6000 CR4: 00000000000006e0
[ 5.393640] Stack:
[ 5.393640] ffff88003f7239d8 ffffffffa00e2c48 0000000000000000 0000000200000240
[ 5.393640] ffff88003fbbe000 ffff88003ee94000 0000000000000000 ffffffffa00e2c48
[ 5.393640] ffff88003fbbe000 ffffffffa0148440 ffff88003f723a18 ffffffffa00d7375
[ 5.393640] Call Trace:
[ 5.393640] [<ffffffffa00d7375>] drm_primary_helper_create_plane+0x65/0xe0 [drm_kms_helper]
[ 5.393640] [<ffffffffa00d7414>] drm_crtc_init+0x24/0x50 [drm_kms_helper]
[ 5.393640] [<ffffffffa0146678>] cirrus_modeset_init+0x98/0x1e0 [cirrus]
[ 5.393640] [<ffffffffa01455a0>] cirrus_driver_load+0xd0/0x130 [cirrus]
[ 5.393640] [<ffffffffa005e5b5>] drm_dev_register+0xb5/0x110 [drm]
[ 5.393640] [<ffffffffa006160d>] drm_get_pci_dev+0x8d/0x200 [drm]
[ 5.393640] [<ffffffffa0146953>] cirrus_pci_probe+0xa3/0xd0 [cirrus]
[ 5.393640] [<ffffffff8143cc05>] local_pci_probe+0x45/0xa0
[ 5.393640] [<ffffffff8143df75>] ? pci_match_device+0xe5/0x110
[ 5.393640] [<ffffffff8143e0b1>] pci_device_probe+0xd1/0x120
[ 5.393640] [<ffffffff8152c3e0>] driver_probe_device+0x90/0x3e0
[ 5.393640] [<ffffffff8152c80b>] __driver_attach+0x9b/0xa0
[ 5.393640] [<ffffffff8152c770>] ? __device_attach+0x40/0x40
[ 5.393640] [<ffffffff8152a1eb>] bus_for_each_dev+0x6b/0xb0
[ 5.393640] [<ffffffff8152be5e>] driver_attach+0x1e/0x20
[ 5.393640] [<ffffffff8152ba40>] bus_add_driver+0x180/0x250
[ 5.393640] [<ffffffff8152d014>] driver_register+0x64/0xf0
[ 5.393640] [<ffffffff8143c45c>] __pci_register_driver+0x4c/0x50
[ 5.393640] [<ffffffffa006187a>] drm_pci_init+0xfa/0x130 [drm]
[ 5.393640] [<ffffffffa0152000>] ? 0xffffffffa0152000
[ 5.393640] [<ffffffffa015203c>] cirrus_init+0x3c/0x1000 [cirrus]
[ 5.393640] [<ffffffff81002130>] do_one_initcall+0xc0/0x1f0
[ 5.393640] [<ffffffff811a4792>] ? __vunmap+0xa2/0x100
[ 5.393640] [<ffffffff810f65d1>] load_module+0x15c1/0x1a60
[ 5.393640] [<ffffffff810f1f60>] ? store_uevent+0x40/0x40
[ 5.393640] [<ffffffff810f6c16>] SyS_finit_module+0x86/0xb0
[ 5.393640] [<ffffffff81898c29>] system_call_fastpath+0x12/0x17
[ 5.393640] Code: 87 4c 03 00 00 01 41 8b 95 28 02 00 00 85 d2 0f 84 d8 00 00 00 49 8b b7 58 04 00 00 48 89 df e8 39 d3 ff ff 49 8b 87 98 03 00 00 <48> 83 78 10 00 0f 84 0f ff ff ff 49 8b b7 a8 04 00 00 31 d2 48
[ 5.393640] RIP [<ffffffffa00673be>] drm_universal_plane_init+0x12e/0x240 [drm]
[ 5.393640] RSP <ffff88003f723988>
[ 5.393640] CR2: 0000000000000010
[ 5.453812] ---[ end trace 10d625cbf95b45e4 ]---
[ 5.454588] Kernel panic - not syncing: Fatal exception
Thanks,
Fengguang
_______________________________________________
LKP mailing list
LKP(a)linux.intel.com
7 years, 8 months
[x86, mm] 982792c782e: -12.3% boot-meminfo.SUnreclaim
by Huang Ying
FYI, we noticed the below changes on
commit 982792c782ef337381e982fd2047391886f89693 ("x86, mm: probe memory block size for generic x86 64bit")
I think this is use memory size reduction, so should be a good thing.
testbox/testcase/testparams: brickland3/boot/1
c46a7c817e662a82 982792c782ef337381e982fd20
---------------- --------------------------
%stddev %change %stddev
\ | \
128348 ± 0% -12.3% 112541 ± 1% boot-meminfo.SUnreclaim
903719 ± 0% -13.9% 778082 ± 0% boot-slabinfo.num_objs
169283 ± 0% -9.7% 152819 ± 1% boot-meminfo.Slab
45691 ± 0% -8.2% 41954 ± 1% boot-slabinfo.num_pages
brickland3: Brickland Ivy Bridge-EX
Memory: 512G
boot-slabinfo.num_objs
940000 ++-----------------------------------------------------------------+
920000 ++ *. * |
*.**.**.*. : * + *.* .*.**. *.*. .* .* |
900000 ++ * *.* * * ** * * |
880000 ++ |
| |
860000 ++ |
840000 ++ |
820000 ++ |
| |
800000 O+ O O |
780000 ++OO O O OO OO OO O O O OO O O OO O
| OO O O OO O O OO O O O O OO |
760000 ++ O O O O |
740000 ++-----------------------------------------------------------------+
[*] bisect-good sample
[O] bisect-bad sample
To reproduce:
apt-get install ruby ruby-oj
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/setup-local job.yaml # the job file attached in this email
bin/run-local job.yaml
Disclaimer:
Results have been estimated based on internal Intel analysis and are provided
for informational purposes only. Any difference in system hardware or software
design or configuration may affect actual performance.
Thanks,
Huang, Ying
_______________________________________________
LKP mailing list
LKP(a)linux.intel.com
7 years, 8 months