Files
linux-stable-mirror/include/linux
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
..
2025-01-04 15:27:35 -07:00
2025-01-06 07:36:39 -07:00
2025-01-18 12:33:39 -08:00
2025-01-25 20:22:31 -08:00
2025-01-09 10:06:14 +01:00
2025-01-07 18:06:51 -08:00
2025-01-25 08:22:26 +00:00
2025-01-14 19:45:35 +01:00
2025-02-04 11:27:45 -05:00
2025-01-15 15:07:23 -08:00
2025-02-03 18:39:59 -08:00
2025-01-25 20:22:42 -08:00
2025-01-16 17:22:59 -08:00
2025-01-10 11:59:00 +01:00
2025-01-07 15:16:48 +01:00
2025-01-02 10:37:14 -06:00
2025-01-08 14:50:11 -08:00
2025-01-11 20:39:43 +01:00
2025-01-29 09:04:28 -08:00
2025-02-28 11:51:26 -08:00
2025-02-28 11:51:26 -08:00
2025-02-28 11:51:26 -08:00