Skip to content

Commit

Permalink
Merge branch 'lexprfuncall/try-linux-thp-only-on-linux-amd64/OTP-1921…
Browse files Browse the repository at this point in the history
…9' into maint

* lexprfuncall/try-linux-thp-only-on-linux-amd64/OTP-19219:
  Disable support for Linux THP on architectures other than amd64
  • Loading branch information
garazdawi committed Sep 5, 2024
2 parents 91fe93e + dbba3df commit ee24604
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions erts/configure
Original file line number Diff line number Diff line change
Expand Up @@ -25692,8 +25692,8 @@ printf "%s\n" "no" >&6; }
;;
esac

case $OPSYS in #(
linux*) :
case $ARCH-$OPSYS in #(
amd64-linux*) :

{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the Transparent Huge Pages interface is available" >&5
printf %s "checking whether the Transparent Huge Pages interface is available... " >&6; }
Expand Down
4 changes: 2 additions & 2 deletions erts/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3036,9 +3036,9 @@ case $host_os in
esac

dnl Checks for the Transparent Huge pages (THP) availability on Linux
AS_CASE([$OPSYS],
[linux*],
[
AS_CASE([$ARCH-$OPSYS],
[amd64-linux*],
AC_CACHE_CHECK(
[whether the Transparent Huge Pages interface is available],
erts_cv_linux_thp,
Expand Down

0 comments on commit ee24604

Please sign in to comment.