Skip to contentSkip to conversation

3.1.0-ck1

ANNOUNCE Con Kolivas 4 participants 4 messages Nov 3, 2011 – Nov 4, 2011

lore
Share & tools
lore
#0 lore raw

These are patches designed to improve system responsiveness and interactivity with specific emphasis on the desktop, but suitable to any commodity hardware workload.

As it may take some time to get a kernel.org account, I have started hosting these patches exclusively on my site for now.

Apply to 3.1.x:
http://ck.kolivas.org/patches/3.0/3.1/3.1.0-ck1/patch-3.1.0-ck1.bz2

Broken out tarball:
http://ck.kolivas.org/patches/3.0/3.1/3.1.0-ck1/3.1.0-ck1-broken-out.tar.bz2

Discrete patches:
http://ck.kolivas.org/patches/3.0/3.1/3.1.0-ck1/patches/

BFS by itself:
http://ck.kolivas.org/patches/bfs/

Web:
http://kernel.kolivas.org

Code blog when I feel like it:
http://ck-hack.blogspot.com/

Each discrete patch usually contains a brief description of what it does at the top of the patch itself.

Full patchlist:

3.1-sched-bfs-414.patch
sched-add-above-background-load-function.patch
mm-minimal_swappiness.patch
mm-enable_swaptoken_only_when_swap_full.patch
mm-drop_swap_cache_aggressively.patch
mm-kswapd_inherit_prio-1.patch
mm-background_scan.patch
mm-idleprio_prio-1.patch
mm-lru_cache_add_lru_tail-1.patch
mm-decrease_default_dirty_ratio.patch
kconfig-expose_vmsplit_option.patch
hz-default_1000.patch
hz-no_default_250.patch
hz-raise_max.patch
preempt-desktop-tune.patch
cpufreq-bfs_tweaks.patch
ck1-version.patch

This is mainly a resync with the linux-3.1 kernel apart from the minor improvements and cleanups that were committed to the BFS CPU scheduler.

お楽しみ下さい
Please enjoy!

Signature · 1 line
-ck
#1 lore raw
Quoted 10 lines · Con Kolivas

These are patches designed to improve system responsiveness and interactivity with specific emphasis on the desktop, but suitable to any commodity hardware workload.

As it may take some time to get a kernel.org account, I have started hosting these patches exclusively on my site for now.

Apply to 3.1.x:
http://ck.kolivas.org/patches/3.0/3.1/3.1.0-ck1/patch-3.1.0-ck1.bz2

Tried here with Mini2440 (=ARM arch) to compile:

[...]
In file included from kernel/sched.c:2:0:
kernel/sched_bfs.c: In function 'schedule':
kernel/sched_bfs.c:3224:4: error: implicit declaration of function 'prefetch' [...]

Quoted 2 lines

Broken out tarball:
http://ck.kolivas.org/patches/3.0/3.1/3.1.0-ck1/3.1.0-ck1-broken-out.tar.bz2

This ^ one I tried to apply, but it fails with:
[...]
patching file include/linux/sched.h
Hunk #1 FAILED at 1600.
Hunk #2 FAILED at 1647.
2 out of 2 hunks FAILED -- rejects in file include/linux/sched.h can't find file to patch at input line 214
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------

|Index: linux-3.1-ck/kernel/sched_bfs.c
|===================================================================
|--- linux-3.1-ck.orig/kernel/sched_bfs.c	2011-11-03 14:44:23.000000000 +1100
|+++ linux-3.1-ck/kernel/sched_bfs.c	2011-11-03 14:46:02.157115770 +1100

--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
[...]

Regards,
Juergen

Signature · 2 lines
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |
#2 lore raw
Quoted 5 lines · Juergen Beisert
Quoted 4 lines · Con Kolivas

These are patches designed to improve system responsiveness and interactivity with specific emphasis on the desktop, but suitable to any commodity hardware workload.

Quoted 8 lines
Quoted 6 lines

As it may take some time to get a kernel.org account, I have started hosting these patches exclusively on my site for now.

Apply to 3.1.x:
http://ck.kolivas.org/patches/3.0/3.1/3.1.0-ck1/patch-3.1.0-ck1.bz2

Tried here with Mini2440 (=ARM arch) to compile:

Seems in kernel/sched_bfs.c is missing #include <linux/prefetch.h> With that fix it compiles fine. Problem is that prefetch is defined in ARM headers only for version > v5 (mini is v4).

Quoted 32 lines

[...]
In file included from kernel/sched.c:2:0:
kernel/sched_bfs.c: In function 'schedule':
kernel/sched_bfs.c:3224:4: error: implicit declaration of function 'prefetch' [...]

Quoted 2 lines

Broken out tarball:
http://ck.kolivas.org/patches/3.0/3.1/3.1.0-ck1/3.1.0-ck1-broken-out.tar.bz2

This ^ one I tried to apply, but it fails with:
[...]
patching file include/linux/sched.h
Hunk #1 FAILED at 1600.
Hunk #2 FAILED at 1647.
2 out of 2 hunks FAILED -- rejects in file include/linux/sched.h can't find file to patch at input line 214
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------

|Index: linux-3.1-ck/kernel/sched_bfs.c
|===================================================================
|--- linux-3.1-ck.orig/kernel/sched_bfs.c       2011-11-03 14:44:23.000000000 +1100
|+++ linux-3.1-ck/kernel/sched_bfs.c    2011-11-03 14:46:02.157115770 +1100

--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
[...]

Regards,
Juergen

Quoted 9 lines

--
Pengutronix e.K.                              | Juergen Beisert             | Linux Solutions for Science and Industry      | http://www.pengutronix.de/  | --
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

regards,

marek

Signature · 10 lines
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com
#3 lore raw
Quoted 11 lines · On Fri, 4 Nov 2011 22:50:15 Belisko Marek wrote:
Quoted 10 lines · Juergen Beisert
Quoted 9 lines · Con Kolivas

These are patches designed to improve system responsiveness and interactivity with specific emphasis on the desktop, but suitable to any
commodity hardware workload.

As it may take some time to get a kernel.org account, I have started hosting these patches exclusively on my site for now.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

Apply to 3.1.x:
http://ck.kolivas.org/patches/3.0/3.1/3.1.0-ck1/patch-3.1.0-ck1.bz2

Tried here with Mini2440 (=ARM arch) to compile:

Seems in kernel/sched_bfs.c is missing #include <linux/prefetch.h> With that fix it compiles fine. Problem is that prefetch is defined in ARM headers only for version > v5 (mini is v4).

Thanks for that. The prefetch is only of questionable advantage so it can be removed entirely. The following patch should fix it:

http://ck.kolivas.org/patches/3.0/3.1/3.1.0-ck1/bfs414-noprefetch.patch

Regards,
Con

Signature · 1 line
-ck