On Wed, Apr 21, 2021 at 09:48:52PM -0700, Chang S. Bae wrote: > +void __init init_sigframe_size(void) > +{ > + max_frame_size = MAX_FRAME_SIGINFO_UCTXT_SIZE + MAX_FRAME_PADDING; > + > + max_frame_size += fpu__get_fpstate_size() + MAX_XSAVE_PADDING; > + > + /* Userspace expects an aligned size. */ > + max_frame_size = round_up(max_frame_size, FRAME_ALIGNMENT); I guess we want pr_info("max sigframe size: %lu\n", max_frame_size); here so that we can keep an eye on how much this becomes, in practice. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette