aboutsummaryrefslogtreecommitdiff
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorGravatar Liam R. Howlett <Liam.Howlett@Oracle.com> 2022-05-31 09:20:51 -0400
committerGravatar Andrew Morton <akpm@linux-foundation.org> 2022-10-20 21:27:23 -0700
commitdf48a5f7a3bbac6a700026b554922943ecee1fb0 (patch)
treed210bb01c9e8cdf4070ca9d3b61db8830c966349 /mm/hugetlb.c
parentmm: /proc/pid/smaps_rollup: fix maple tree search (diff)
downloadlinux-df48a5f7a3bbac6a700026b554922943ecee1fb0.tar.gz
linux-df48a5f7a3bbac6a700026b554922943ecee1fb0.tar.bz2
linux-df48a5f7a3bbac6a700026b554922943ecee1fb0.zip
mm/page_alloc: reduce potential fragmentation in make_alloc_exact()
Try to avoid using the left over split page on the next request for a page by calling __free_pages_ok() with FPI_TO_TAIL. This increases the potential of defragmenting memory when it's used for a short period of time. Link: https://lkml.kernel.org/r/20220531185626.yvlmymbxyoe5vags@revolver Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> Suggested-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions