From 670288505cdf0e3708426d822bb7832ec9779681 Mon Sep 17 00:00:00 2001 From: graysky Date: Fri, 5 Apr 2013 03:37:41 -0400 Subject: [PATCH] add bfs to kernel --- core/linux-raspberrypi/PKGBUILD | 9 ++++++--- core/linux-raspberrypi/config | 18 ++++++------------ 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/core/linux-raspberrypi/PKGBUILD b/core/linux-raspberrypi/PKGBUILD index 7fe9536b1..eda208d2a 100644 --- a/core/linux-raspberrypi/PKGBUILD +++ b/core/linux-raspberrypi/PKGBUILD @@ -16,7 +16,8 @@ license=('GPL2') makedepends=('xmlto' 'docbook-xsl' 'uboot-mkimage' 'git' 'python2') options=('!strip') source=('config' - 'change-default-console-loglevel.patch' + 'http://ck.kolivas.org/patches/bfs/3.0/3.6/3.5-sched-bfs-425.patch' + 'change-default-console-loglevel.patch' 'usb-add-reset-resume-quirk-for-several-webcams.patch' 'args-uncompressed.txt' 'boot-uncompressed.txt' @@ -39,6 +40,7 @@ build() { #nxp-pcf8523 RTC patch patch -Np1 -i "${srcdir}/usb-add-reset-resume-quirk-for-several-webcams.patch" + patch -Np1 -i "${srcdir}/3.5-sched-bfs-425.patch" # add latest fixes from stable queue, if needed # http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git @@ -264,12 +266,13 @@ package_linux-headers-raspberrypi() { rm -rf "${pkgdir}"/usr/src/linux-${_kernver}/arch/{alpha,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,x86,xtensa} } -md5sums=('116a0c854e31bc0cdca41e490b2b26ea' +md5sums=('d9ae544dcfa61e19cd4b2dc9a3f37b02' + '4616e99c6dc6da5962786465b19ddf18' '9d3c56a4b999c8bfbd4018089a62f662' 'd00814b57448895e65fbbc800e8a58ba' '9335d1263fd426215db69841a380ea26' 'a00e424e2fbb8c5a5f77ba2c4871bed4' '2f82dbe5752af65ff409d737caf11954' 'ca74031c9e9bfc9f4a668924dcb37f4c' - 'd9ae544dcfa61e19cd4b2dc9a3f37b02') + '1e46f207dcf2dd9392a099a437bb9b3e') diff --git a/core/linux-raspberrypi/config b/core/linux-raspberrypi/config index eb7cfc8e3..771344e52 100644 --- a/core/linux-raspberrypi/config +++ b/core/linux-raspberrypi/config @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 3.6.11-8 Kernel Configuration +# Linux/arm 3.6.11-9 Kernel Configuration # CONFIG_ARM=y CONFIG_SYS_SUPPORTS_APM_EMULATION=y @@ -28,6 +28,7 @@ CONFIG_IRQ_WORK=y # # General setup # +CONFIG_SCHED_BFS=y CONFIG_EXPERIMENTAL=y CONFIG_BROKEN_ON_SMP=y CONFIG_INIT_ENV_ARG_LIMIT=32 @@ -95,17 +96,12 @@ CONFIG_CGROUP_FREEZER=y CONFIG_CGROUP_DEVICE=y CONFIG_CPUSETS=y CONFIG_PROC_PID_CPUSET=y -CONFIG_CGROUP_CPUACCT=y CONFIG_RESOURCE_COUNTERS=y CONFIG_MEMCG=y CONFIG_MEMCG_SWAP=y CONFIG_MEMCG_SWAP_ENABLED=y # CONFIG_MEMCG_KMEM is not set CONFIG_CGROUP_PERF=y -CONFIG_CGROUP_SCHED=y -CONFIG_FAIR_GROUP_SCHED=y -# CONFIG_CFS_BANDWIDTH is not set -# CONFIG_RT_GROUP_SCHED is not set CONFIG_BLK_CGROUP=y # CONFIG_DEBUG_BLK_CGROUP is not set # CONFIG_CHECKPOINT_RESTORE is not set @@ -114,7 +110,6 @@ CONFIG_UTS_NS=y CONFIG_IPC_NS=y CONFIG_PID_NS=y CONFIG_NET_NS=y -CONFIG_SCHED_AUTOGROUP=y CONFIG_MM_OWNER=y CONFIG_SYSFS_DEPRECATED=y # CONFIG_SYSFS_DEPRECATED_V2 is not set @@ -156,10 +151,9 @@ CONFIG_PERF_USE_VMALLOC=y CONFIG_PERF_EVENTS=y # CONFIG_DEBUG_PERF_USE_VMALLOC is not set CONFIG_VM_EVENT_COUNTERS=y +CONFIG_SLUB_DEBUG=y # CONFIG_COMPAT_BRK is not set -CONFIG_SLAB=y -# CONFIG_SLUB is not set -# CONFIG_SLOB is not set +CONFIG_SLUB=y CONFIG_PROFILING=y CONFIG_TRACEPOINTS=y CONFIG_OPROFILE=m @@ -3403,7 +3397,8 @@ CONFIG_SCHED_DEBUG=y CONFIG_SCHEDSTATS=y CONFIG_TIMER_STATS=y # CONFIG_DEBUG_OBJECTS is not set -# CONFIG_DEBUG_SLAB is not set +# CONFIG_SLUB_DEBUG_ON is not set +# CONFIG_SLUB_STATS is not set # CONFIG_DEBUG_KMEMLEAK is not set CONFIG_DEBUG_PREEMPT=y # CONFIG_DEBUG_RT_MUTEXES is not set @@ -3430,7 +3425,6 @@ CONFIG_DEBUG_MEMORY_INIT=y # CONFIG_DEBUG_NOTIFIERS is not set # CONFIG_DEBUG_CREDENTIALS is not set CONFIG_BOOT_PRINTK_DELAY=y -# CONFIG_RCU_TORTURE_TEST is not set # CONFIG_RCU_TRACE is not set # CONFIG_KPROBES_SANITY_TEST is not set # CONFIG_BACKTRACE_SELF_TEST is not set