[PATCH v2 0/2] arm64: THPs for systems with pages bigger than 4K

Vincent Donnefort vdonnefort at google.com
Fri Nov 27 08:58:40 PST 2026


Enable THP support for arm64 guests on hosts with a page size larger
than 4K.

Changelog:

v2:
  * Memoize sysconf(_SC_PAGE_SIZE) in host_page_size() and back
    PAGE_SIZE with it to avoid repeated sysconf() calls. (Will)
  * Rebase on origin/master (2f3abe56dcd2).

v1 (https://lore.kernel.org/all/20261019145949.1922019-1-vdonnefort@google.com/)

Vincent Donnefort (2):
  util: Use a memoized value for PAGE_SIZE
  arm64: THPs for systems with pages bigger than 4K

 arm64/kvm.c        | 21 +++++++++++++--------
 builtin-run.c      | 14 +-------------
 include/kvm/kvm.h  |  4 ----
 include/kvm/util.h |  6 ++++++
 util/util.c        | 15 +++++++++++++++
 5 files changed, 35 insertions(+), 25 deletions(-)


base-commit: 2f3abe56dcd2658dc6dae3eeeb4996dc4b518bcf
-- 
2.56.1.839.g22a8290db9-goog




More information about the linux-arm-kernel mailing list