summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorLiam R. Howlett <Liam.Howlett@oracle.com>2023-07-24 21:31:55 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-08-18 20:12:50 +0300
commit17983dc617837a588a52848ab4034d8efa6c1fa6 (patch)
tree889f63c90352aa40c8360f78fe115cab5305e28b /include/uapi/linux
parent0b8bb544b1a7051c9072c26ca03a7840fb9573ad (diff)
downloadlinux-17983dc617837a588a52848ab4034d8efa6c1fa6.tar.xz
maple_tree: refine mas_preallocate() node calculations
Calculate the number of nodes based on the pending write action instead of assuming the worst case. This addresses a performance regression introduced in platforms that have longer allocation timing. Link: https://lkml.kernel.org/r/20230724183157.3939892-14-Liam.Howlett@oracle.com Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> Cc: Peng Zhang <zhangpeng.00@bytedance.com> Cc: Suren Baghdasaryan <surenb@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions