summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraysky2016-10-29 04:56:58 -0400
committergraysky2016-10-29 04:56:58 -0400
commitfe703f1de237f7230a03576070d6651196934ab5 (patch)
treef3900b30715e78cf9086f293841dc620aa01efeb
parentc758454d9e69cc7c839041a45fcbd00e2864a495 (diff)
downloadaur-fe703f1de237f7230a03576070d6651196934ab5.tar.gz
Update to 4.8.5-3
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD39
-rw-r--r--config14
-rw-r--r--config.x86_6416
4 files changed, 47 insertions, 32 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 46c33632b955..24f6e4a387e2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sat Oct 29 01:21:44 UTC 2016
+# Sat Oct 29 08:56:58 UTC 2016
pkgbase = linux-ck
pkgver = 4.8.5
- pkgrel = 2
+ pkgrel = 3
url = https://wiki.archlinux.org/index.php/Linux-ck
arch = i686
arch = x86_64
@@ -28,13 +28,13 @@ pkgbase = linux-ck
sha256sums = SKIP
sha256sums = cb67d632c951cfc799472039afb59f47c2ad4aa00d326a0f9f3da3c5f2ef9cd7
sha256sums = cf0f984ebfbb8ca8ffee1a12fd791437064b9ebe0712d6f813fd5681d4840791
- sha256sums = d8752e44ea6025d7017bf84c7d56b3c224902adc657ecf0d5502a680a46d8c2d
- sha256sums = df437a9a8346fa20fa5f74a967cd4299b398154c992dab65ddad27071908b26a
+ sha256sums = e63d02c41fbdeff8b5511177d5e67c8a6f5141951c21576d8dee4b0fc7bb03b4
+ sha256sums = 58dba408b142d61d1ee2f59ad8a669e4e824e6838faa14597e0891f328342fea
sha256sums = 2b3ebf5446aa3cac279842ca00bc1f2d6b7ff1766915282c201d763dbf6ca07e
sha256sums = 1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99
pkgname = linux-ck
- pkgdesc = Linux Kernel with the ck4 patchset featuring MuQSS CPU scheduler v0.120
+ pkgdesc = Linux Kernel with the ck5 patchset featuring MuQSS CPU scheduler v0.120
install = linux-ck.install
depends = coreutils
depends = linux-firmware
diff --git a/PKGBUILD b/PKGBUILD
index 707433d85e02..3e80fa4c94b5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,13 +9,12 @@
_makenconfig=
# NUMA is optimized for multi-socket motherboards. A single multi-core CPU can
-# actually run slower with NUMA enabled.
+# actually run slower with NUMA enabled. Most users will want to set this option
+# to enabled ... in other words, do not use NUMA on a single CPU system.
+#
# See, https://bugs.archlinux.org/task/31187
_NUMAdisable=y
-# Use a 1000 Hz timer (CK recommended) rather than the Arch default of 300 Hz.
-_1k_HZ_ticks=y
-
# Compile ONLY probed modules
# As of mainline 2.6.32, running with this option will only build the modules
# that you currently have probed in your system VASTLY reducing the number of
@@ -49,7 +48,7 @@ pkgname=(linux-ck linux-ck-headers)
_kernelname=-ck
_srcname=linux-4.8
pkgver=4.8.5
-pkgrel=2
+pkgrel=3
_ckpatchversion=5
arch=('i686' 'x86_64')
url="https://wiki.archlinux.org/index.php/Linux-ck"
@@ -73,8 +72,8 @@ sha256sums=('3e9150065f193d3d94bcf46a1fe9f033c7ef7122ab71d75a7fb5a2f0c9a7e11a'
'SKIP'
'cb67d632c951cfc799472039afb59f47c2ad4aa00d326a0f9f3da3c5f2ef9cd7'
'cf0f984ebfbb8ca8ffee1a12fd791437064b9ebe0712d6f813fd5681d4840791'
- 'd8752e44ea6025d7017bf84c7d56b3c224902adc657ecf0d5502a680a46d8c2d'
- 'df437a9a8346fa20fa5f74a967cd4299b398154c992dab65ddad27071908b26a'
+ 'e63d02c41fbdeff8b5511177d5e67c8a6f5141951c21576d8dee4b0fc7bb03b4'
+ '58dba408b142d61d1ee2f59ad8a669e4e824e6838faa14597e0891f328342fea'
'2b3ebf5446aa3cac279842ca00bc1f2d6b7ff1766915282c201d763dbf6ca07e'
'1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99')
validpgpkeys=(
@@ -93,10 +92,10 @@ prepare() {
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
patch -p1 -i "${srcdir}/change-default-console-loglevel.patch"
- # fix naming schema in EXTRAVERSION
+ # fix naming schema in EXTRAVERSION of ck patch set
sed -i -re "s/^(.EXTRAVERSION).*$/\1 = /" "${srcdir}/${_ckpatchname}"
- msg "Patching source with ck patchset"
+ msg "Patching source with ck patchset including MuQSS"
patch -Np1 -i "${srcdir}/${_ckpatchname}"
# Patch source to enable more gcc CPU optimizatons via the make nconfig
@@ -113,13 +112,19 @@ prepare() {
cat "${srcdir}/config" > ./.config
fi
- if [ -n "$_1k_HZ_ticks" ]; then
- msg "Setting tick rate to 100 Hz..."
- sed -i -e 's/^CONFIG_HZ_300=y/# CONFIG_HZ_300 is not set/' \
- -i -e 's/^# CONFIG_HZ_100 is not set/CONFIG_HZ_100=y/' \
- -i -e 's/^CONFIG_HZ=300/CONFIG_HZ=100/' .config
- fi
+ # MuQSS is now a tickless scheduler. That means it can maintain its
+ # guaranteed low latency even in a build configured with a low Hz tick rate.
+ # To that end, it is now defaulting to 100Hz, and it is recommended to use
+ # this as the default choice for it leads to more throughput and power
+ # savings as well.
+ #
+ # http://ck-hack.blogspot.com/2016/10/linux-48-ck5-muqss-version-0120.html
+ sed -i -e 's/^CONFIG_HZ_300=y/# CONFIG_HZ_300 is not set/' \
+ -i -e 's/^# CONFIG_HZ_100 is not set/CONFIG_HZ_100=y/' \
+ -i -e 's/^CONFIG_HZ=300/CONFIG_HZ=100/' .config
+ ### Optionally disable NUMA for 64-bit kernels only
+ # (x86 kernels do not support NUMA)
if [ -n "$_NUMAdisable" ]; then
if [ "${CARCH}" = "x86_64" ]; then
msg "Disabling NUMA from kernel config..."
@@ -208,8 +213,8 @@ build() {
}
package_linux-ck() {
- pkgdesc='Linux Kernel with the ck4 patchset featuring MuQSS CPU scheduler v0.120'
- #_Kpkgdesc='Linux Kernel and modules with the ck4 patchset featuring MuQSS CPU scheduler v0.120'
+ pkgdesc='Linux Kernel with the ck5 patchset featuring MuQSS CPU scheduler v0.120'
+ #_Kpkgdesc='Linux Kernel and modules with the ck5 patchset featuring MuQSS CPU scheduler v0.120'
#pkgdesc="${_Kpkgdesc}"
depends=('coreutils' 'linux-firmware' 'mkinitcpio>=0.7')
optdepends=('crda: to set the correct wireless channels of your country' 'nvidia-ck: nVidia drivers for linux-ck' 'modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig')
diff --git a/config b/config
index 66e6cc36dd76..68cead248ff5 100644
--- a/config
+++ b/config
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 4.8.3-2 Kernel Configuration
+# Linux/x86 4.8.5-3 Kernel Configuration
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
@@ -112,6 +112,7 @@ CONFIG_HIGH_RES_TIMERS=y
#
# CPU/Task time and stats accounting
#
+CONFIG_TICK_CPU_ACCOUNTING=y
# CONFIG_IRQ_TIME_ACCOUNTING is not set
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_BSD_PROCESS_ACCT_V3=y
@@ -572,11 +573,11 @@ CONFIG_X86_INTEL_MPX=y
CONFIG_EFI=y
CONFIG_EFI_STUB=y
CONFIG_SECCOMP=y
-# CONFIG_HZ_100 is not set
-# CONFIG_HZ_250_NODEFAULT is not set
-CONFIG_HZ_300=y
+CONFIG_HZ_100=y
+# CONFIG_HZ_250 is not set
+# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not set
-CONFIG_HZ=300
+CONFIG_HZ=100
CONFIG_SCHED_HRTICK=y
CONFIG_KEXEC=y
CONFIG_CRASH_DUMP=y
@@ -587,6 +588,8 @@ CONFIG_RELOCATABLE=y
CONFIG_X86_NEED_RELOCS=y
CONFIG_PHYSICAL_ALIGN=0x1000000
CONFIG_HOTPLUG_CPU=y
+# CONFIG_BOOTPARAM_HOTPLUG_CPU0 is not set
+# CONFIG_DEBUG_HOTPLUG_CPU0 is not set
# CONFIG_COMPAT_VDSO is not set
# CONFIG_CMDLINE_BOOL is not set
CONFIG_MODIFY_LDT_SYSCALL=y
@@ -7757,6 +7760,7 @@ CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_SPARSE_RCU_POINTER is not set
# CONFIG_TORTURE_TEST is not set
# CONFIG_RCU_PERF_TEST is not set
+# CONFIG_RCU_TORTURE_TEST is not set
CONFIG_RCU_CPU_STALL_TIMEOUT=60
# CONFIG_RCU_TRACE is not set
# CONFIG_RCU_EQS_DEBUG is not set
diff --git a/config.x86_64 b/config.x86_64
index c6f0f973a184..4323449f76b5 100644
--- a/config.x86_64
+++ b/config.x86_64
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 4.8.3-2 Kernel Configuration
+# Linux/x86 4.8.5-3 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
@@ -109,12 +109,15 @@ CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
CONFIG_NO_HZ_IDLE=y
+# CONFIG_NO_HZ_FULL is not set
# CONFIG_NO_HZ is not set
CONFIG_HIGH_RES_TIMERS=y
#
# CPU/Task time and stats accounting
#
+CONFIG_TICK_CPU_ACCOUNTING=y
+# CONFIG_VIRT_CPU_ACCOUNTING_GEN is not set
# CONFIG_IRQ_TIME_ACCOUNTING is not set
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_BSD_PROCESS_ACCT_V3=y
@@ -586,11 +589,11 @@ CONFIG_EFI=y
CONFIG_EFI_STUB=y
CONFIG_EFI_MIXED=y
CONFIG_SECCOMP=y
-# CONFIG_HZ_100 is not set
-# CONFIG_HZ_250_NODEFAULT is not set
-CONFIG_HZ_300=y
+CONFIG_HZ_100=y
+# CONFIG_HZ_250 is not set
+# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not set
-CONFIG_HZ=300
+CONFIG_HZ=100
CONFIG_SCHED_HRTICK=y
CONFIG_KEXEC=y
CONFIG_CRASH_DUMP=y
@@ -600,6 +603,8 @@ CONFIG_RELOCATABLE=y
# CONFIG_RANDOMIZE_BASE is not set
CONFIG_PHYSICAL_ALIGN=0x1000000
CONFIG_HOTPLUG_CPU=y
+# CONFIG_BOOTPARAM_HOTPLUG_CPU0 is not set
+# CONFIG_DEBUG_HOTPLUG_CPU0 is not set
# CONFIG_COMPAT_VDSO is not set
# CONFIG_LEGACY_VSYSCALL_NATIVE is not set
CONFIG_LEGACY_VSYSCALL_EMULATE=y
@@ -7476,6 +7481,7 @@ CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_SPARSE_RCU_POINTER is not set
# CONFIG_TORTURE_TEST is not set
# CONFIG_RCU_PERF_TEST is not set
+# CONFIG_RCU_TORTURE_TEST is not set
CONFIG_RCU_CPU_STALL_TIMEOUT=60
# CONFIG_RCU_TRACE is not set
# CONFIG_RCU_EQS_DEBUG is not set