diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-03-19 12:53:40 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-03-19 15:04:17 -0700 |
commit | 3e2f285c5f12045e425060b6cbdf7a7cab540594 (patch) | |
tree | d85f4e33fd6caa432c8e877555d0a573c1523db4 /sysdeps | |
parent | 9cbe4ed14ec66415be34ad142abf4fa83aed3f58 (diff) | |
download | glibc-3e2f285c5f12045e425060b6cbdf7a7cab540594.tar glibc-3e2f285c5f12045e425060b6cbdf7a7cab540594.tar.gz glibc-3e2f285c5f12045e425060b6cbdf7a7cab540594.tar.bz2 glibc-3e2f285c5f12045e425060b6cbdf7a7cab540594.zip |
nptl: Remove MULTI_PAGE_ALIASING [BZ #23554]
MULTI_PAGE_ALIASING was introduced to mitigate an aliasing issue on
Pentium 4. It is no longer needed for processors after Pentium 4.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/i386/i686/stack-aliasing.h | 23 | ||||
-rw-r--r-- | sysdeps/x86_64/stack-aliasing.h | 1 |
2 files changed, 0 insertions, 24 deletions
diff --git a/sysdeps/i386/i686/stack-aliasing.h b/sysdeps/i386/i686/stack-aliasing.h deleted file mode 100644 index d521dcdb75..0000000000 --- a/sysdeps/i386/i686/stack-aliasing.h +++ /dev/null @@ -1,23 +0,0 @@ -/* Define macros for stack address aliasing issues for NPTL. i686 version. - Copyright (C) 2014-2021 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - <https://www.gnu.org/licenses/>. */ - -/* What is useful is to avoid the 64k aliasing problem which reliably - happens if all stacks use sizes which are a multiple of 64k. Tell - the stack allocator to disturb this by allocation one more page if - necessary. */ -#define MULTI_PAGE_ALIASING 65536 diff --git a/sysdeps/x86_64/stack-aliasing.h b/sysdeps/x86_64/stack-aliasing.h deleted file mode 100644 index 2efdacb3b4..0000000000 --- a/sysdeps/x86_64/stack-aliasing.h +++ /dev/null @@ -1 +0,0 @@ -#include <sysdeps/i386/i686/stack-aliasing.h> |