• Heiko Carstens's avatar
    s390/fpu: decrease stack usage for some cases · 066c4091
    Heiko Carstens authored
    The kernel_fpu structure has a quite large size of 520 bytes. In order to
    reduce stack footprint introduce several kernel fpu structures with
    different and also smaller sizes. This way every kernel fpu user must use
    the correct variant. A compile time check verifies that the correct variant
    is used.
    
    There are several users which use only 16 instead of all 32 vector
    registers. For those users the new kernel_fpu_16 structure with a size of
    only 266 bytes can be used.
    Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
    066c4091
crc32-vx.c 8.26 KB