linux3.16-ck: 3.16.2 and ck2 update

This commit is contained in:
John Galt 2014-09-06 16:39:37 -07:00
parent 2998d95ba9
commit 163928923c
9 changed files with 17 additions and 9050 deletions

View file

@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/i386 3.16.1-ck1 Kernel Configuration
# Linux/i386 3.16.2-ck2 Kernel Configuration
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
@ -522,7 +522,9 @@ CONFIG_KEXEC=y
# CONFIG_CRASH_DUMP is not set
# CONFIG_KEXEC_JUMP is not set
CONFIG_PHYSICAL_START=0x1000000
# CONFIG_RELOCATABLE is not set
CONFIG_RELOCATABLE=y
# CONFIG_RANDOMIZE_BASE is not set
CONFIG_X86_NEED_RELOCS=y
CONFIG_PHYSICAL_ALIGN=0x1000000
CONFIG_HOTPLUG_CPU=y
# CONFIG_COMPAT_VDSO is not set

View file

@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 3.16.1-ck1 Kernel Configuration
# Linux/x86 3.16.2-ck2 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
@ -509,7 +509,8 @@ CONFIG_KEXEC=y
# CONFIG_CRASH_DUMP is not set
# CONFIG_KEXEC_JUMP is not set
CONFIG_PHYSICAL_START=0x1000000
# CONFIG_RELOCATABLE is not set
CONFIG_RELOCATABLE=y
# CONFIG_RANDOMIZE_BASE is not set
CONFIG_PHYSICAL_ALIGN=0x1000000
CONFIG_HOTPLUG_CPU=y
# CONFIG_COMPAT_VDSO is not set

File diff suppressed because it is too large Load diff

View file

@ -1,19 +0,0 @@
---
Makefile | 4 ++++
1 file changed, 4 insertions(+)
Index: linux-3.16-ck1/Makefile
===================================================================
--- linux-3.16-ck1.orig/Makefile 2014-08-16 14:46:12.574916784 +1000
+++ linux-3.16-ck1/Makefile 2014-08-16 14:46:12.573916784 +1000
@@ -10,6 +10,10 @@ NAME = Shuffling Zombie Juror
# Comments in this file are targeted only to the developer, do not
# expect to learn how to build the kernel reading this file.
+CKVERSION = -ck1
+CKNAME = BFS Powered
+EXTRAVERSION := $(EXTRAVERSION)$(CKVERSION)
+
# Do not:
# o use make's built-in rules and variables
# (this increases performance and avoids hard-to-debug behaviour);

View file

@ -1,21 +0,0 @@
Set default HZ to 1000 which is what most desktop users should still be using.
-ck
---
kernel/Kconfig.hz | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-3.16-ck1/kernel/Kconfig.hz
===================================================================
--- linux-3.16-ck1.orig/kernel/Kconfig.hz 2014-08-16 14:46:12.392916801 +1000
+++ linux-3.16-ck1/kernel/Kconfig.hz 2014-08-16 14:46:12.391916801 +1000
@@ -4,7 +4,7 @@
choice
prompt "Timer frequency"
- default HZ_250
+ default HZ_1000
help
Allows the configuration of the timer frequency. It is customary
to have the timer interrupt run at 1000 Hz but 100 Hz may be more

View file

@ -1,53 +0,0 @@
Make 250HZ not be the default to discourage desktop users from choosing this
option since 1000 will provide better latencies with only miniscule amounts
of extra overhead and power consumption.
-ck
---
kernel/Kconfig.hz | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
Index: linux-3.16-ck1/kernel/Kconfig.hz
===================================================================
--- linux-3.16-ck1.orig/kernel/Kconfig.hz 2014-08-16 14:46:12.299916810 +1000
+++ linux-3.16-ck1/kernel/Kconfig.hz 2014-08-16 14:46:12.298916810 +1000
@@ -23,13 +23,14 @@ choice
with lots of processors that may show reduced performance if
too many timer interrupts are occurring.
- config HZ_250
+ config HZ_250_NODEFAULT
bool "250 HZ"
help
- 250 Hz is a good compromise choice allowing server performance
- while also showing good interactive responsiveness even
- on SMP and NUMA systems. If you are going to be using NTSC video
- or multimedia, selected 300Hz instead.
+ 250 HZ is a lousy compromise choice allowing server interactivity
+ while also showing desktop throughput and no extra power saving on
+ laptops. No good for anything.
+
+ Recommend 100 or 1000 instead.
config HZ_300
bool "300 HZ"
@@ -43,14 +44,16 @@ choice
bool "1000 HZ"
help
1000 Hz is the preferred choice for desktop systems and other
- systems requiring fast interactive responses to events.
+ systems requiring fast interactive responses to events. Laptops
+ can also benefit from this choice without sacrificing battery life
+ if dynticks is also enabled.
endchoice
config HZ
int
default 100 if HZ_100
- default 250 if HZ_250
+ default 250 if HZ_250_NODEFAULT
default 300 if HZ_300
default 1000 if HZ_1000

View file

@ -1,46 +0,0 @@
The options to alter the vmsplit to enable more lowmem are hidden behind the
expert option. Make it more exposed for -ck users and make the help menu
more explicit about what each option means.
-ck
---
arch/x86/Kconfig | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Index: linux-3.16-ck1/arch/x86/Kconfig
===================================================================
--- linux-3.16-ck1.orig/arch/x86/Kconfig 2014-08-16 14:46:12.483916793 +1000
+++ linux-3.16-ck1/arch/x86/Kconfig 2014-08-16 14:46:12.482916793 +1000
@@ -1143,7 +1143,7 @@ config HIGHMEM64G
endchoice
choice
- prompt "Memory split" if EXPERT
+ prompt "Memory split"
default VMSPLIT_3G
depends on X86_32
---help---
@@ -1163,17 +1163,17 @@ choice
option alone!
config VMSPLIT_3G
- bool "3G/1G user/kernel split"
+ bool "Default 896MB lowmem (3G/1G user/kernel split)"
config VMSPLIT_3G_OPT
depends on !X86_PAE
- bool "3G/1G user/kernel split (for full 1G low memory)"
+ bool "1GB lowmem (3G/1G user/kernel split)"
config VMSPLIT_2G
- bool "2G/2G user/kernel split"
+ bool "2GB lowmem (2G/2G user/kernel split)"
config VMSPLIT_2G_OPT
depends on !X86_PAE
- bool "2G/2G user/kernel split (for full 2G low memory)"
+ bool "2GB lowmem (2G/2G user/kernel split)"
config VMSPLIT_1G
- bool "1G/3G user/kernel split"
+ bool "3GB lowmem (1G/3G user/kernel split)"
endchoice
config PAGE_OFFSET

View file

@ -1,40 +0,0 @@
Enable preempt by default and make people steer away from voluntary.
-ck
---
kernel/Kconfig.preempt | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Index: linux-3.16-ck1/kernel/Kconfig.preempt
===================================================================
--- linux-3.16-ck1.orig/kernel/Kconfig.preempt 2014-08-16 14:46:12.208916818 +1000
+++ linux-3.16-ck1/kernel/Kconfig.preempt 2014-08-16 14:46:12.206916818 +1000
@@ -1,7 +1,7 @@
choice
prompt "Preemption Model"
- default PREEMPT_NONE
+ default PREEMPT
config PREEMPT_NONE
bool "No Forced Preemption (Server)"
@@ -17,7 +17,7 @@ config PREEMPT_NONE
latencies.
config PREEMPT_VOLUNTARY
- bool "Voluntary Kernel Preemption (Desktop)"
+ bool "Voluntary Kernel Preemption (Nothing)"
help
This option reduces the latency of the kernel by adding more
"explicit preemption points" to the kernel code. These new
@@ -31,7 +31,8 @@ config PREEMPT_VOLUNTARY
applications to run more 'smoothly' even when the system is
under load.
- Select this if you are building a kernel for a desktop system.
+ Select this for no system in particular (choose Preemptible
+ instead on a desktop if you know what's good for you).
config PREEMPT
bool "Preemptible Kernel (Low-Latency Desktop)"

View file

@ -1,16 +1,17 @@
# Template file for 'linux3.16-ck'
#
pkgname=linux3.16-ck
version=3.16.1
revision=2
patch_args="-p1"
version=3.16.2
revision=1
wrksrc="linux-${version}"
maintainer="John Galt <johngaltfirstrun@gmail.com>"
homepage="http://www.kernel.org"
license="GPL-2"
short_desc="Colin Kolivas patched Linux kernel and modules (${version%.*} series)"
distfiles="http://www.kernel.org/pub/linux/kernel/v3.x/linux-${version}.tar.xz"
checksum=be37dda8ea090525661d64e5c7fc8580f313b7f9ba8592e32120f1332bc57d71
distfiles="http://www.kernel.org/pub/linux/kernel/v3.x/linux-${version}.tar.xz
http://ck.kolivas.org/patches/3.0/3.16/3.16-ck2/patch-3.16-ck2.bz2"
checksum="6e7942b4cc99c161b58bea6d3a5b15914e951ff3ebdaf9463b666c9c12a0859a
7f04f035e7e2f65e3b799508b25bb2f7e717ee0b2330ba1097f05b56ed36b02a"
_kernver="${version}ck_${revision}"
@ -32,6 +33,10 @@ mutable_files="
/usr/lib/modules/${_kernver}/modules.alias.bin
/usr/lib/modules/${_kernver}/modules.devname"
post_extract() {
patch -p1 < ../patch-3.16-ck2
}
do_configure() {
# If there's a file called <arch>-dotconfig, use it to
# configure the kernel; otherwise use arch defaults and all stuff