Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is git://bee.sh.intel.com/git/ydu19/linux cc-v4-on-3.16-rc2 commit 981fa8778958e70170ad2e757bc75f5e3c688665 Author: Yuyang Du AuthorDate: Wed Jun 25 03:57:18 2014 +0800 Commit: Yuyang Du CommitDate: Thu Jun 26 15:06:56 2014 +0800 Define SD_WORKLOAD_CONSOLIDATION and attach to sched_domain Workload Consolidation is completely CPU topology and policy driven. To do so, we define SD_WORKLOAD_CONSOLIDATION, and add some fields in sched_domain struct: 1) total_groups is the group number in total in this domain 2) group_number is this CPU's group sequence number 3) consolidating_coeff is the coefficient for consolidating CPUs, and is changeable via sysctl tool to make consolidation more aggressive or less 4) first_group is the pointer to this domain's first group ordered by CPU number This patchset enables SD_WORKLOAD_CONSOLIDATION in MC domain by default. But we need to come up with a better way to determine on which architecture this flag should be enabled or not. Thanks to PeterZ and Dietmar for pointing this out and help me finally understand it. Signed-off-by: Yuyang Du =================================================== 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. +-------------------------------------------------------------+------------+------------+------------------+ | | 3b3fb61976 | 981fa87789 | v3.16-rc2_062617 | +-------------------------------------------------------------+------------+------------+------------------+ | boot_successes | 76 | 0 | 0 | | boot_failures | 3 | 20 | 13 | | WARNING:CPU:PID:at_mm/early_ioremap.c:__early_ioremap() | 1 | | | | BUG:kernel_boot_crashed | 2 | | | | WARNING:CPU:PID:at_kernel/sched/core.c:build_sched_domain() | 0 | 20 | 13 | | backtrace:build_sched_domains | 0 | 20 | 13 | | backtrace:sched_init_smp | 0 | 20 | 13 | | backtrace:kernel_init_freeable | 0 | 20 | 13 | | BUG:unable_to_handle_kernel_NULL_pointer_dereference | 0 | 0 | 6 | | Oops | 0 | 0 | 6 | | RIP:run_timer_softirq | 0 | 0 | 1 | | Kernel_panic-not_syncing:Fatal_exception_in_interrupt | 0 | 0 | 3 | | backtrace:cryptomgr_test | 0 | 0 | 2 | | BUG:unable_to_handle_kernel_paging_request | 0 | 0 | 5 | | RIP:kzfree | 0 | 0 | 3 | | Kernel_panic-not_syncing:Fatal_exception | 0 | 0 | 4 | | RIP:__insert_vmap_area | 0 | 0 | 1 | | backtrace:add_disk | 0 | 0 | 1 | | backtrace:null_init | 0 | 0 | 1 | | kernel_BUG_at_kernel/cred.c | 0 | 0 | 1 | | invalid_opcode | 0 | 0 | 1 | | RIP:__invalid_creds | 0 | 0 | 1 | | backtrace:delayed_put_task_struct | 0 | 0 | 1 | | BUG:u | 0 | 0 | 1 | | INFO:task_blocked_for_more_than_seconds | 0 | 0 | 1 | | RIP:native_safe_halt | 0 | 0 | 1 | | RIP:flat_send_IPI_mask | 0 | 0 | 1 | | Kernel_panic-not_syncing:hung_task:blocked_tasks | 0 | 0 | 1 | | backtrace:register_pernet_subsys | 0 | 0 | 1 | | backtrace:packet_init | 0 | 0 | 1 | | backtrace:watchdog | 0 | 0 | 1 | | BUG:unable_to_handle_kernel | 0 | 0 | 1 | | RIP:no_context | 0 | 0 | 1 | | INFO:trying_to_register_non-static_key | 0 | 0 | 1 | +-------------------------------------------------------------+------------+------------+------------------+ [ 0.169944] smpboot: Total of 2 processors activated (9575.99 BogoMIPS) [ 0.172397] ------------[ cut here ]------------ [ 0.172397] ------------[ cut here ]------------ [ 0.173600] WARNING: CPU: 0 PID: 1 at kernel/sched/core.c:6069 build_sched_domain+0xbe/0x2e8() git bisect start 9c33bf1e59d26dad8dc45e438cbdc28783589b11 a497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee -- git bisect good 10d9d029067f2aacbdc140786efff146d79b34c5 # 23:21 20+ 1 Merge 'cgroup/for-3.16-fixes' into devel-hourly-2014062617 git bisect bad b8db0fc896849e940f23fbea02c137869c94f3d3 # 23:44 0- 20 Merge 'kvm-ppc/kvm-ppc-queue' into devel-hourly-2014062617 git bisect good 7135b130d9f1c30321f9a9e024498557026cdd03 # 00:11 20+ 0 Merge 'arm-platforms/kvm-arm64/irq-forward' into devel-hourly-2014062617 git bisect good c2484a8acda7d9ff41a98d3e2fcc5a65bbd02747 # 00:21 20+ 1 Merge 'arc/for-next' into devel-hourly-2014062617 git bisect good 1a799f5c9dbbd47d503af1e0cedf9d252cca2d6d # 00:37 20+ 19 Merge 'cryptodev/master' into devel-hourly-2014062617 git bisect bad 9c259d6a46e754ea8fb42bcf688255ffa2c8c048 # 00:40 0- 11 Merge 'yuyang/cc-v4-on-3.16-rc2' into devel-hourly-2014062617 git bisect bad 1a43e8a377f4adc5c9a412de1a57ab453f8313d4 # 00:45 0- 1 Workload Consolidation: Consolidating workload to a subset of CPUs if possible git bisect good 7dee841147a972e809dfcd75f638d7145dd8e756 # 00:50 20+ 0 sched: Precise accumulated time and acount runnable number in update_entity_runnable_avg git bisect bad 981fa8778958e70170ad2e757bc75f5e3c688665 # 00:54 0- 20 Define SD_WORKLOAD_CONSOLIDATION and attach to sched_domain git bisect good 3b3fb61976509ef8f7c0c05adba0b61cea6b05db # 00:59 20+ 1 How CPU ConCurrency (CC) accrues with runqueue change and time # first bad commit: [981fa8778958e70170ad2e757bc75f5e3c688665] Define SD_WORKLOAD_CONSOLIDATION and attach to sched_domain git bisect good 3b3fb61976509ef8f7c0c05adba0b61cea6b05db # 01:02 60+ 4 How CPU ConCurrency (CC) accrues with runqueue change and time git bisect bad 9c33bf1e59d26dad8dc45e438cbdc28783589b11 # 01:02 0- 13 0day head guard for 'devel-hourly-2014062617' git bisect good eb477e03feb8dacb3a9e3b2f750ff6c6eeffee33 # 05:06 60+ 4 Merge git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending git bisect good 96426007c90cde23c0402856f3e0aec0f4cc2e48 # 08:30 60+ 53 Add linux-next specific files for 20140627 This script may reproduce the error. ----------------------------------------------------------------------------- #!/bin/bash kernel=$1 kvm=( qemu-system-x86_64 -cpu kvm64 -enable-kvm -kernel $kernel -smp 2 -m 256M -net nic,vlan=0,macaddr=00:00:00:00:00:00,model=virtio -net user,vlan=0 -net nic,vlan=1,model=e1000 -net user,vlan=1 -boot order=nc -no-reboot -watchdog i6300esb -serial stdio -display none -monitor null ) append=( debug sched_debug apic=debug ignore_loglevel sysrq_always_enabled panic=10 prompt_ramdisk=0 earlyprintk=ttyS0,115200 console=ttyS0,115200 console=tty0 vga=normal root=/dev/ram0 rw ) "${kvm[@]}" --append "${append[*]}" ----------------------------------------------------------------------------- Thanks, Fengguang _______________________________________________ LKP mailing list LKP(a)linux.intel.com