Files
linux/arch/um/os-Linux
Benjamin Berg 5b37d2370d um: remove copy_from_kernel_nofault_allowed
[ Upstream commit 84a6fc3784 ]

There is no need to override the default version of this function
anymore as UML now has proper _nofault memory access functions.

Doing this also fixes the fact that the implementation was incorrect as
using mincore() will incorrectly flag pages as inaccessible if they were
swapped out by the host.

Fixes: f75b1b1bed ("um: Implement probe_kernel_read()")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Link: https://patch.msgid.link/20250210160926.420133-3-benjamin@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-04-10 14:39:25 +02:00
..
2022-03-21 08:13:03 -07:00
2023-02-01 22:11:24 +01:00
2024-07-03 17:09:49 +02:00
2024-01-04 23:45:17 +01:00