Re: [ck] Re: [patch][rfc] quell interactive feeding frenzy

From: jos poortvliet
Date: Sat Apr 15 2006 - 18:33:10 EST


Op zaterdag 15 april 2006 09:05, schreef Con Kolivas:
> Thanks for bringing this to my attention. A while back I had different
> management of forked tasks and merged it with PF_NONSLEEP. Since then I've
> changed the management of NONSLEEP tasks and didn't realise it had
> adversely affected the accounting of forking tasks. This patch should
> rectify it.
>
> Thanks!

hey con, i get this:

can't find file to patch at input line 9
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Âinclude/linux/sched.h | Â Â1 +
|Âkernel/sched.c    Â|  Â9 ++++++---
|Â2 files changed, 7 insertions(+), 3 deletions(-)
|
|Index: linux-2.6.16-ck5/include/linux/sched.h
|===================================================================
|--- linux-2.6.16-ck5.orig/include/linux/sched.hÂ2006-04-15 16:32:18.000000000
+1000
|+++ linux-2.6.16-ck5/include/linux/sched.hÂÂÂÂÂÂ2006-04-15 16:34:36.000000000
+1000
--------------------------
File to patch: include/linux/sched.h
patching file include/linux/sched.h
patch: **** malformed patch at line 10: Â#define
PF_SWAPWRITEÂÂÂ0x01000000ÂÂÂÂÂÂ/* Allowed to write to swap */

doesn't compile if i add the patch by hand... tried on 2.6.17-rc1-ck1 and on
2.6.16-ck3.

----------------
In file included from include/linux/mm.h:4,
from kernel/sched.c:24:
include/linux/sched.h:975:18: warning: missing whitespace after the macro name
kernel/sched.c: In function ârecalc_task_prioâ:
kernel/sched.c:820: error: stray â\194â in program
-----------

i'm no coder at all, and have no idea what's goin on.

grtz

Jos

ps 2.6.17-rc2 won't be long i guess, maybe you can just roll this up in -ck...

--
You will have good luck and overcome many hardships.

Attachment: pgp00000.pgp
Description: PGP signature