android_kernel_xiaomi_sm7250/fs/quota
Park Ju Hyung 4d8e9a4708 quota_tree: Avoid dynamic memory allocations
Most allocations done here are rather small and can fit on the stack,
eliminating the need to allocate them dynamically. Reserve a 1024B
stack buffer for this purpose to avoid the overhead of dynamic
memory allocation.

1024B covers most use cases, and higher values were observed to cause
stack corruptions.

Co-authored-by: Sultan Alsawaf <sultan@kerneltoast.com>
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
2022-11-12 11:24:42 +00:00
..
compat.c
dquot.c quota: make dquot_quota_sync return errors from ->sync_fs 2022-02-23 11:58:38 +01:00
Kconfig
kqid.c
Makefile
netlink.c
quota_tree.c quota_tree: Avoid dynamic memory allocations 2022-11-12 11:24:42 +00:00
quota_tree.h
quota_v1.c
quota_v2.c
quota.c
quotaio_v1.h
quotaio_v2.h