Files
linux/mm
Mel Gorman 496d2d2388 mm: security: Check early if HARDENED_USERCOPY is enabled
HARDENED_USERCOPY is checked within a function so even if disabled, the
function overhead still exists. Move the static check inline.

This is at best a micro-optimisation and any difference in performance
was within noise but it is relatively consistent with the init_on_*
implementations.

Suggested-by: Kees Cook <kees@kernel.org>
Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
Link: https://lore.kernel.org/r/20250123221115.19722-4-mgorman@techsingularity.net
Signed-off-by: Kees Cook <kees@kernel.org>
2025-02-28 11:51:31 -08:00
..
2024-11-07 14:38:07 -08:00
2024-11-03 01:28:06 -05:00
2025-01-25 20:22:38 -08:00
2024-11-11 00:26:44 -08:00
2025-01-13 22:40:51 -08:00
2024-08-15 22:16:14 -07:00
2024-07-10 12:14:54 -07:00
2025-01-27 19:25:45 -05:00
2025-01-25 20:22:38 -08:00
2025-01-25 20:22:38 -08:00
2025-01-25 20:22:31 -08:00
2024-04-25 20:55:48 -07:00
2024-04-25 20:55:48 -07:00