diff options
author | 2025-04-02 11:45:40 +0200 | |
---|---|---|
committer | 2025-04-12 10:06:08 +0200 | |
commit | af8967158f9ad759a93e8e7a933c10e7cbb01ba2 (patch) | |
tree | c984c49f6d377fe85f79cf4bffcb73ef4ba43b68 /scripts/gdb/linux/utils.py | |
parent | x86/efi: Make efi_enter/leave_mm() use the use_/unuse_temporary_mm() machinery (diff) | |
download | linux-rng-af8967158f9ad759a93e8e7a933c10e7cbb01ba2.tar.xz linux-rng-af8967158f9ad759a93e8e7a933c10e7cbb01ba2.zip |
x86/mm: Opt-in to IRQs-off activate_mm()
We gain nothing by having the core code enable IRQs right before calling
activate_mm() only for us to turn them right back off again in switch_mm().
This will save a few cycles, so execve() should be blazingly fast with this
patch applied!
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Rik van Riel <riel@surriel.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: https://lore.kernel.org/r/20250402094540.3586683-8-mingo@kernel.org
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions