diff options
author | Ingo Molnar <mingo@kernel.org> | 2025-04-10 00:11:20 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-04-14 09:18:29 +0300 |
commit | 77fbccede633a5565cae084348b5459f6849086d (patch) | |
tree | 36eb4a661d2e282b2475cbdc13ff8e984187c51d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cbe8e4dab16c56ac84765dcd53e418160c8bc0db (diff) | |
download | linux-77fbccede633a5565cae084348b5459f6849086d.tar.xz |
x86/fpu: Introduce the x86_task_fpu() helper method
The per-task FPU context/save area is allocated right
next to task_struct, currently in a variable-size
array via task_struct::thread.fpu[], but we plan to
fully hide it from the C type scope.
Introduce the x86_task_fpu() accessor that gets to the
FPU context pointer explicitly from the task pointer.
Right now this is a simple (task)->thread.fpu wrapper.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Chang S. Bae <chang.seok.bae@intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250409211127.3544993-2-mingo@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions