aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m32r/include/asm/assembler.h
diff options
context:
space:
mode:
authorJeff Mahoney <[email protected]>2018-02-16 03:59:47 +0000
committerDavid Sterba <[email protected]>2018-03-01 15:15:36 +0000
commita8fd1f71749387c9a1053a83ff1c16287499a4e7 (patch)
tree23741329982b7387302eb9cae8ac3a60eb2fc07c /arch/m32r/include/asm/assembler.h
parentbtrfs: Fix use-after-free when cleaning up fs_devs with a single stale device (diff)
downloadkernel-a8fd1f71749387c9a1053a83ff1c16287499a4e7.tar.gz
kernel-a8fd1f71749387c9a1053a83ff1c16287499a4e7.zip
btrfs: use kvzalloc to allocate btrfs_fs_info
The srcu_struct in btrfs_fs_info scales in size with NR_CPUS. On kernels built with NR_CPUS=8192, this can result in kmalloc failures that prevent mounting. There is work in progress to try to resolve this for every user of srcu_struct but using kvzalloc will work around the failures until that is complete. As an example with NR_CPUS=512 on x86_64: the overall size of subvol_srcu is 3460 bytes, fs_info is 6496. Signed-off-by: Jeff Mahoney <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'arch/m32r/include/asm/assembler.h')
0 files changed, 0 insertions, 0 deletions