Re: [PATCH mm] kfence, x86: fix preemptible warning on KPTI-enabled systems

2021-04-01 Thread Alexander Potapenko
On Tue, Mar 30, 2021 at 8:57 AM Marco Elver wrote: > > On systems with KPTI enabled, we can currently observe the following warning: > > BUG: using smp_processor_id() in preemptible > caller is invalidate_user_asid+0x13/0x50 > CPU: 6 PID: 1075 Comm: dmesg Not tainted

[PATCH mm] kfence, x86: fix preemptible warning on KPTI-enabled systems

2021-03-30 Thread Marco Elver
On systems with KPTI enabled, we can currently observe the following warning: BUG: using smp_processor_id() in preemptible caller is invalidate_user_asid+0x13/0x50 CPU: 6 PID: 1075 Comm: dmesg Not tainted 5.12.0-rc4-gda4a2b1a5479-kfence_1+ #1 Hardware name: Hewlett-Packard HP Pro 3500