diff options
author | Chang S. Bae <chang.seok.bae@intel.com> | 2021-05-18 13:03:16 -0700 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-05-19 11:46:27 +0200 |
commit | 939ef713297df2cc910592305aa26af0e87f28ac (patch) | |
tree | 346b1c50d3928c071d45e4c899b4ffef58ef7b31 /Documentation/block/blk-mq.rst | |
parent | 7cd60e43a6def40ecb75deb8decc677995970d0b (diff) |
x86/signal: Introduce helpers to get the maximum signal frame size
Signal frames do not have a fixed format and can vary in size when a number
of things change: supported XSAVE features, 32 vs. 64-bit apps, etc.
Add support for a runtime method for userspace to dynamically discover
how large a signal stack needs to be.
Introduce a new variable, max_frame_size, and helper functions for the
calculation to be used in a new user interface. Set max_frame_size to a
system-wide worst-case value, instead of storing multiple app-specific
values.
Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Len Brown <len.brown@intel.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: H.J. Lu <hjl.tools@gmail.com>
Link: https://lkml.kernel.org/r/20210518200320.17239-3-chang.seok.bae@intel.com
Diffstat (limited to 'Documentation/block/blk-mq.rst')
0 files changed, 0 insertions, 0 deletions