Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/rgushchin/linux.git bpf_memcg_acc
commit c3c0a0c6cf58efdb76d6c527712f436602064688
Author: Roman Gushchin <guro(a)fb.com>
AuthorDate: Thu May 16 19:30:33 2019 -0700
Commit: Roman Gushchin <guro(a)fb.com>
CommitDate: Thu May 16 20:06:13 2019 -0700
bpf: memcg-based memory accounting for bpf maps
Signed-off-by: Roman Gushchin <guro(a)fb.com>
1ecf7718b8 bpf: track memcg for map memory allocations
c3c0a0c6cf bpf: memcg-based memory accounting for bpf maps
07e5faf187 bpf: memcg-based memory accounting for dynamic maps memory charges
+-----------------------------------------------------------+------------+------------+------------+
| | 1ecf7718b8 | c3c0a0c6cf |
07e5faf187 |
+-----------------------------------------------------------+------------+------------+------------+
| boot_successes | 58 | 5 | 11
|
| boot_failures | 1 | 8 | 10
|
| WARNING:at_kernel/locking/lockdep.c:#lockdep_register_key | 1 | |
|
| EIP:lockdep_register_key | 1 | |
|
| WARNING:at_mm/page_counter.c:#page_counter_cancel | 0 | 6 | 10
|
| EIP:page_counter_cancel | 0 | 6 | 10
|
| Mem-Info | 0 | 2 |
|
+-----------------------------------------------------------+------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp(a)intel.com>
[ 70.612864] random: get_random_u32 called from arch_align_stack+0x28/0x3f with
crng_init=1
[ 71.707450] _warn_unseeded_randomness: 65 callbacks suppressed
[ 71.707461] random: get_random_u32 called from arch_rnd+0x27/0x38 with crng_init=1
[ 71.710741] random: get_random_u32 called from load_elf_binary+0x45b/0x1457 with
crng_init=1
[ 71.712854] random: get_random_u32 called from arch_align_stack+0x28/0x3f with
crng_init=1
[ 71.844514] WARNING: CPU: 0 PID: 64 at mm/page_counter.c:62
page_counter_cancel+0x37/0x59
[ 71.846793] Modules linked in:
[ 71.846850] CPU: 0 PID: 64 Comm: kworker/0:1 Not tainted 5.1.0-10752-gc3c0a0c #58
[ 71.846850] Workqueue: events bpf_map_free_deferred
[ 71.846850] EIP: page_counter_cancel+0x37/0x59
[ 71.846850] Code: cb 29 d3 89 da 89 de e8 31 ff ff ff c1 ee 1f 6a 00 31 c9 89 f2 b8 90
48 fe 57 e8 ce 89 f2 ff 85 db 5a 79 0a ff 05 88 4c 0f 58 <0f> 0b eb 06 ff 05 84 4c
0f 58 6a 00 89 f2 b8 78 48 fe 57 31 c9 e8
[ 71.846850] EAX: 57fe4890 EBX: ffffffd2 ECX: 00000000 EDX: 00000000
[ 71.846850] ESI: 00000001 EDI: 40087800 EBP: 40179e90 ESP: 40179e88
[ 71.846850] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 EFLAGS: 00010002
[ 71.846850] CR0: 80050033 CR2: 37e8604b CR3: 1c156000 CR4: 000006d0
[ 71.846850] DR0: 361f5000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 71.846850] DR6: ffff0ff0 DR7: 00000600
[ 71.846850] Call Trace:
[ 71.846850] ? page_counter_uncharge+0x16/0x1f
[ 71.846850] ? drain_stock+0x28/0x160
[ 71.846850] ? refill_stock+0x4f/0x7e
[ 71.846850] ? mem_cgroup_uncharge_bpf+0x106/0x10e
[ 71.846850] ? bpf_map_charge_release+0x22/0x153
[ 71.846850] ? bpf_map_free_deferred+0x31/0x33
[ 71.846850] ? process_one_work+0x3c5/0x6c1
[ 71.846850] ? worker_thread+0x3ca/0x545
[ 71.846850] ? kthread+0x131/0x146
[ 71.846850] ? rescuer_thread+0x39c/0x39c
[ 71.846850] ? kthread_create_on_node+0x1a/0x1a
[ 71.846850] ? ret_from_fork+0x19/0x24
[ 71.846850] irq event stamp: 10950
[ 71.846850] hardirqs last enabled at (10949): [<56bf2210>]
mem_cgroup_uncharge_bpf+0xf8/0x10e
[ 71.846850] hardirqs last disabled at (10950): [<56be9a8b>]
refill_stock+0x12/0x7e
[ 71.846850] softirqs last enabled at (8634): [<56ab8469>]
srcu_drive_gp+0xc2/0x11e
[ 71.846850] softirqs last disabled at (8630): [<56ab8469>]
srcu_drive_gp+0xc2/0x11e
[ 71.846850] ---[ end trace ed693796e9c0266d ]---
Sending all processes the KILL signal...
# HH:MM RESULT GOOD BAD
GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start c3c0a0c6cf58efdb76d6c527712f436602064688
35c99ffa20edd3c24be352d28a63cd3a23121282 --
git bisect good cc71b1333207372c4cb4b6ae88993a819aca1c9e # 10:02 G 15 0 3 3
bpf: rework memlock-based memory accounting for maps
git bisect good 045085645bdfb6feb8b68ee4e1d6a1b09b9bdae8 # 10:22 G 15 0 0 0
mm: memcontrol: introduce MEMCG_BPF and memory.stat::bpf
git bisect good d5390f1083753d12033190a65ad768e97b56295e # 23:12 G 16 0 1 17
mm: memcontrol: bpf charging API
git bisect good 1ecf7718b8a98abb9cdd2da7026f35c64edf8d49 # 23:30 G 16 0 3 3
bpf: track memcg for map memory allocations
# first bad commit: [c3c0a0c6cf58efdb76d6c527712f436602064688] bpf: memcg-based memory
accounting for bpf maps
git bisect good 1ecf7718b8a98abb9cdd2da7026f35c64edf8d49 # 23:34 G 46 0 2 5
bpf: track memcg for map memory allocations
# extra tests with debug options
git bisect bad c3c0a0c6cf58efdb76d6c527712f436602064688 # 23:56 B 4 11 2 2
bpf: memcg-based memory accounting for bpf maps
# extra tests on HEAD of rgushchin/bpf_memcg_acc
git bisect bad c3c0a0c6cf58efdb76d6c527712f436602064688 # 23:56 B 5 6 0 3
bpf: memcg-based memory accounting for bpf maps
# extra tests on tree/branch rgushchin/bpf_memcg_acc
git bisect bad 07e5faf187cb317033b5ba5eb36dfe04f001022c # 00:33 B 5 2 1 1
bpf: memcg-based memory accounting for dynamic maps memory charges
# extra tests with first bad commit reverted
git bisect good 241c59c86d874b0d742b98d02047c4856d8f094b # 01:03 G 17 0 5 5
Revert "bpf: memcg-based memory accounting for bpf maps"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation