]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm: Support arbitrary THP sizes
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 30 May 2020 00:54:38 +0000 (20:54 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 21 Mar 2022 17:01:36 +0000 (13:01 -0400)
commit18788cfa236967741b83db1035ab24539e2a21bb
tree32f1f28b2ed72969ca41269eab067bd4cac577b8
parent421f1ab48452af48b64e205de1caca3d1ba415f4
mm: Support arbitrary THP sizes

For code which has not yet been converted from THP to folios, use the
compound size of the page instead of assuming PTE or PMD size.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
include/linux/huge_mm.h
include/linux/mm.h