ltp::mmap05 --> BUG: using __this_cpu_read() in preemptible
From: Mike Galbraith
Date: Sat Oct 31 2020 - 01:53:41 EST
[ 138.620544] BUG: using __this_cpu_read() in preemptible [00000000] code: mmap05/4858
[ 138.620737] caller is lockdep_hardirqs_on_prepare+0x2f/0x1b0
[ 138.620880] CPU: 2 PID: 4858 Comm: mmap05 Kdump: loaded Tainted: G S E 5.10.0.g07e0887-master #18
[ 138.621097] Hardware name: MEDION MS-7848/MS-7848, BIOS M7848W08.20C 09/23/2013
[ 138.621243] Call Trace:
[ 138.621330] dump_stack+0x77/0x97
[ 138.621434] check_preemption_disabled+0xb4/0xc0
[ 138.621551] ? __bad_area_nosemaphore+0x63/0x1e0
[ 138.621636] lockdep_hardirqs_on_prepare+0x2f/0x1b0
[ 138.621697] ? __bad_area_nosemaphore+0x63/0x1e0
[ 138.621758] trace_hardirqs_on+0x33/0xf0
[ 138.621813] __bad_area_nosemaphore+0x63/0x1e0
[ 138.621887] exc_page_fault+0x1a4/0x670
[ 138.621956] ? asm_exc_page_fault+0x8/0x30
[ 138.622017] asm_exc_page_fault+0x1e/0x30
[ 138.622073] RIP: 0033:0x403ef6
[ 138.622118] Code: 48 83 c0 01 89 15 aa 1f 22 00 0f 84 d7 00 00 00 be 01 00 00 00 bf 00 07 62 00 e8 65 fd ff ff 85 c0 75 0a 48 8b 05 da c8 21 00 <0f> b6 00 8b 05 c9 c8 21 00 85 c0 74 43 b9 49 4e 41 00 31 d2 be 6e
[ 138.622314] RSP: 002b:00007fff18c776e0 EFLAGS: 00010246
[ 138.622384] RAX: 00007faf439cc000 RBX: 0000000000000003 RCX: 00007faf432077d0
[ 138.622466] RDX: 0000000000620748 RSI: 0000000000000001 RDI: 0000000000000000
[ 138.622547] RBP: 00007faf4397f6c0 R08: 0000000000000003 R09: 0000000000000000
[ 138.622628] R10: 0000000000000008 R11: 0000000000000246 R12: 00000000004040a0
[ 138.622709] R13: 00007fff18c777e0 R14: 0000000000000000 R15: 0000000000000000
[ 138.622840] BUG: using __this_cpu_read() in preemptible [00000000] code: mmap05/4858
[ 138.622931] caller is lockdep_hardirqs_on+0x38/0x110
[ 138.622994] CPU: 2 PID: 4858 Comm: mmap05 Kdump: loaded Tainted: G S E 5.10.0.g07e0887-master #18
[ 138.623102] Hardware name: MEDION MS-7848/MS-7848, BIOS M7848W08.20C 09/23/2013
[ 138.623184] Call Trace:
[ 138.623234] dump_stack+0x77/0x97
[ 138.623292] check_preemption_disabled+0xb4/0xc0
[ 138.623355] ? __bad_area_nosemaphore+0x63/0x1e0
[ 138.623422] lockdep_hardirqs_on+0x38/0x110
[ 138.623484] __bad_area_nosemaphore+0x63/0x1e0
[ 138.623561] exc_page_fault+0x1a4/0x670
[ 138.623630] ? asm_exc_page_fault+0x8/0x30
[ 138.623695] asm_exc_page_fault+0x1e/0x30
[ 138.623751] RIP: 0033:0x403ef6
[ 138.623797] Code: 48 83 c0 01 89 15 aa 1f 22 00 0f 84 d7 00 00 00 be 01 00 00 00 bf 00 07 62 00 e8 65 fd ff ff 85 c0 75 0a 48 8b 05 da c8 21 00 <0f> b6 00 8b 05 c9 c8 21 00 85 c0 74 43 b9 49 4e 41 00 31 d2 be 6e
[ 138.623993] RSP: 002b:00007fff18c776e0 EFLAGS: 00010246
[ 138.624065] RAX: 00007faf439cc000 RBX: 0000000000000003 RCX: 00007faf432077d0
[ 138.624150] RDX: 0000000000620748 RSI: 0000000000000001 RDI: 0000000000000000
[ 138.624235] RBP: 00007faf4397f6c0 R08: 0000000000000003 R09: 0000000000000000
[ 138.624319] R10: 0000000000000008 R11: 0000000000000246 R12: 00000000004040a0
[ 138.624404] R13: 00007fff18c777e0 R14: 0000000000000000 R15: 0000000000000000
A.