]> git.ipfire.org Git - thirdparty/linux.git/commit
um: Fix potential race condition in TLB sync
authorTiwei Bie <tiwei.btw@antgroup.com>
Mon, 2 Mar 2026 23:52:23 +0000 (07:52 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Sat, 21 Mar 2026 09:42:24 +0000 (10:42 +0100)
commit102331b66bcaf1f41f50b9c4cd5c36e46bafa9f3
tree68116370e39cb0f3a1a540f5da8ecfa5d98d3861
parent1ccc861dbbc1b4c6a896e95f815ef3310775c33f
um: Fix potential race condition in TLB sync

During the TLB sync, we need to traverse and modify the page table,
so we should hold the page table lock. Since full SMP support for
threads within the same process is still missing, let's disable the
split page table lock for simplicity.

Fixes: 1e4ee5135d81 ("um: Add initial SMP support")
Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20260302235224.1915380-2-tiwei.btw@antgroup.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/kernel/tlb.c
mm/Kconfig