2003-07-30 23:03:05

by Joe Korty

[permalink] [raw]
Subject: [PATCH] nonbug: PF_LESS_THROTTLE

Although the value that PF_LESS_THROTTLE has does work, it may not be
the value that was intended for it.

Joe



--- linux-2.6.0-test2/include/linux/sched.h.orig 2003-07-27 12:57:39.000000000 -0400
+++ linux-2.6.0-test2/include/linux/sched.h 2003-07-30 18:52:42.000000000 -0400
@@ -485,7 +485,7 @@
#define PF_FSTRANS 0x00020000 /* inside a filesystem transaction */
#define PF_KSWAPD 0x00040000 /* I am kswapd */
#define PF_SWAPOFF 0x00080000 /* I am in swapoff */
-#define PF_LESS_THROTTLE 0x01000000 /* Throttle me less: I clena memory */
+#define PF_LESS_THROTTLE 0x00100000 /* Throttle me less: I clena memory */
#define PF_SYNCWRITE 0x00200000 /* I am doing a sync write */
#define PF_READAHEAD 0x00400000 /* I am doing read-ahead */