aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-06-20 14:03:09 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-06-20 14:03:31 -0700
commitda69a35566af4405b884220ee72f1f10a98977fa (patch)
tree8515fc37b8f939ce7e07d709759d36b2c09d4018
parent46ad8909ceec259b3cd22159fbd9c23aca1621f3 (diff)
downloadglibc-da69a35566af4405b884220ee72f1f10a98977fa.zip
glibc-da69a35566af4405b884220ee72f1f10a98977fa.tar.gz
glibc-da69a35566af4405b884220ee72f1f10a98977fa.tar.bz2
Move x86 specific tunables to x86/dl-tunables.list
* elf/dl-tunables.list: Move x86 specific tunables to ... * sysdeps/x86/dl-tunables.list: Here. New file.
-rw-r--r--ChangeLog5
-rw-r--r--elf/dl-tunables.list12
-rw-r--r--sysdeps/x86/dl-tunables.list34
3 files changed, 39 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index 6defb8d..158292c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf/dl-tunables.list: Move x86 specific tunables to ...
+ * sysdeps/x86/dl-tunables.list: Here. New file.
+
2017-06-20 Joseph Myers <joseph@codesourcery.com>
[BZ #21635]
diff --git a/elf/dl-tunables.list b/elf/dl-tunables.list
index 3247d49..b8b0ce5 100644
--- a/elf/dl-tunables.list
+++ b/elf/dl-tunables.list
@@ -87,17 +87,5 @@ glibc {
type: STRING
security_level: SXID_IGNORE
}
- x86_non_temporal_threshold {
- type: SIZE_T
- security_level: SXID_IGNORE
- }
- x86_data_cache_size {
- type: SIZE_T
- security_level: SXID_IGNORE
- }
- x86_shared_cache_size {
- type: SIZE_T
- security_level: SXID_IGNORE
- }
}
}
diff --git a/sysdeps/x86/dl-tunables.list b/sysdeps/x86/dl-tunables.list
new file mode 100644
index 0000000..50c130a
--- /dev/null
+++ b/sysdeps/x86/dl-tunables.list
@@ -0,0 +1,34 @@
+# x86 specific tunables.
+# Copyright (C) 2017 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
+# <http://www.gnu.org/licenses/>.
+
+glibc {
+ tune {
+ x86_non_temporal_threshold {
+ type: SIZE_T
+ security_level: SXID_IGNORE
+ }
+ x86_data_cache_size {
+ type: SIZE_T
+ security_level: SXID_IGNORE
+ }
+ x86_shared_cache_size {
+ type: SIZE_T
+ security_level: SXID_IGNORE
+ }
+ }
+}