From: Hideo AOKI <aoki@sdl.hitachi.co.jp>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.9-rc3-mm3: vm-thrashing-control-tuning
Date: Fri, 08 Oct 2004 19:33:29 +0900 [thread overview]
Message-ID: <41666CF9.4040207@sdl.hitachi.co.jp> (raw)
In-Reply-To: <20041007015139.6f5b833b.akpm@osdl.org>
[-- Attachment #1: Type: text/plain, Size: 525 bytes --]
Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc3/2.6.9-rc3-mm3/
[...]
>
> Changes since 2.6.9-rc3-mm2:
>
[...]
>
> +vm-thrashing-control-tuning.patch
>
> /proc/sys/vm/swap_token_timeout
Hello, Andrew,
Thank you for applying my patch.
Since I made the patch for 2.6.9-rc3, the patch caused trouble
to sysctl code in -mm tree.
Attached patch fixes this issue.
I am very sorry for the trouble.
Best regards,
Hideo AOKI
Systems Development Laboratory, Hitachi, Ltd.
[-- Attachment #2: vm-thrashing-control-tuning-fix.patch --]
[-- Type: text/plain, Size: 1896 bytes --]
Signed-off-by: Hideo Aoki <aoki@sdl.hitachi.co.jp>
include/linux/sysctl.h | 2 +-
kernel/sysctl.c | 18 +++++++++---------
2 files changed, 10 insertions(+), 10 deletions(-)
diff -uprN linux-2.6.9-rc3-mm3/include/linux/sysctl.h linux-2.6.9-rc3-mm3-fix/include/linux/sysctl.h
--- linux-2.6.9-rc3-mm3/include/linux/sysctl.h 2004-10-08 14:42:27.000000000 +0900
+++ linux-2.6.9-rc3-mm3-fix/include/linux/sysctl.h 2004-10-08 14:53:33.000000000 +0900
@@ -168,7 +168,7 @@ enum
VM_VFS_CACHE_PRESSURE=26, /* dcache/icache reclaim pressure */
VM_LEGACY_VA_LAYOUT=27, /* legacy/compatibility virtual address space layout */
VM_HEAP_STACK_GAP=28, /* int: page gap between heap and stack */
- VM_SWAP_TOKEN_TIMEOUT=28, /* default time for token time out */
+ VM_SWAP_TOKEN_TIMEOUT=29, /* default time for token time out */
};
diff -uprN linux-2.6.9-rc3-mm3/kernel/sysctl.c linux-2.6.9-rc3-mm3-fix/kernel/sysctl.c
--- linux-2.6.9-rc3-mm3/kernel/sysctl.c 2004-10-08 14:42:28.000000000 +0900
+++ linux-2.6.9-rc3-mm3-fix/kernel/sysctl.c 2004-10-08 18:16:25.000000000 +0900
@@ -624,15 +624,6 @@ static ctl_table kern_table[] = {
.proc_handler = &proc_unknown_nmi_panic,
},
#endif
- {
- .ctl_name = VM_SWAP_TOKEN_TIMEOUT,
- .procname = "swap_token_timeout",
- .data = &swap_token_default_timeout,
- .maxlen = sizeof(swap_token_default_timeout),
- .mode = 0644,
- .proc_handler = &proc_dointvec_jiffies,
- .strategy = &sysctl_jiffies,
- },
{ .ctl_name = 0 }
};
@@ -822,6 +813,15 @@ static ctl_table vm_table[] = {
.mode = 0644,
.proc_handler = &proc_dointvec,
},
+ {
+ .ctl_name = VM_SWAP_TOKEN_TIMEOUT,
+ .procname = "swap_token_timeout",
+ .data = &swap_token_default_timeout,
+ .maxlen = sizeof(swap_token_default_timeout),
+ .mode = 0644,
+ .proc_handler = &proc_dointvec_jiffies,
+ .strategy = &sysctl_jiffies,
+ },
{ .ctl_name = 0 }
};
next prev parent reply other threads:[~2004-10-08 10:33 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-07 8:51 2.6.9-rc3-mm3 Andrew Morton
2004-10-07 9:30 ` 2.6.9-rc3-mm3 Martin Zwickel
2004-10-07 9:41 ` 2.6.9-rc3-mm3 Nick Sanders
2004-10-07 9:50 ` 2.6.9-rc3-mm3 Andrew Morton
2004-10-07 10:10 ` 2.6.9-rc3-mm3 Martin Zwickel
2004-10-07 10:44 ` 2.6.9-rc3-mm3 Hanno Meyer-Thurow
[not found] ` <20041007125610.0019eb3d@mango.fruits.de>
2004-10-07 10:58 ` 2.6.9-rc3-mm3 Hanno Meyer-Thurow
2004-10-07 10:16 ` 2.6.9-rc3-mm3 Nick Sanders
2004-10-07 11:40 ` 2.6.9-rc3-mm3 William Lee Irwin III
2004-10-07 21:25 ` 2.6.9-rc3-mm3 J.A. Magallon
2004-10-07 21:46 ` 2.6.9-rc3-mm3 J.A. Magallon
2004-10-07 22:07 ` 2.6.9-rc3-mm3 Andrew Morton
2004-10-07 22:41 ` 2.6.9-rc3-mm3 J.A. Magallon
2004-10-07 22:54 ` 2.6.9-rc3-mm3 Andrew Morton
2004-10-07 23:06 ` 2.6.9-rc3-mm3 J.A. Magallon
2004-10-07 23:40 ` 2.6.9-rc3-mm3 Greg KH
2004-10-08 1:05 ` 2.6.9-rc3-mm3 Paul Fulghum
2004-10-08 11:23 ` 2.6.9-rc3-mm3 William Lee Irwin III
2004-10-08 11:34 ` 2.6.9-rc3-mm3 Ryan Cumming
2004-10-08 7:00 ` 2.6.9-rc3-mm3 Ingo Molnar
2004-10-07 22:03 ` 2.6.9-rc3-mm3 William Lee Irwin III
2004-10-07 9:59 ` 2.6.9-rc3-mm3 Martin Zwickel
2004-10-07 10:04 ` 2.6.9-rc3-mm3 Jesper Juhl
2004-10-07 10:15 ` 2.6.9-rc3-mm3 Russell King
2004-10-07 16:58 ` 2.6.9-rc3-mm3: `risc_code_addr01' multiple definition Adrian Bunk
2004-10-07 17:29 ` Andrew Vasquez
2004-10-07 17:50 ` James Bottomley
2004-10-07 18:13 ` Andrew Vasquez
2004-10-07 18:15 ` Andrew Vasquez
2004-10-07 18:30 ` Andrew Vasquez
2004-10-21 13:02 ` Jes Sorensen
2004-10-07 17:08 ` 2.6.9-rc3-mm3 (compile stats) John Cherry
2004-10-07 20:56 ` 2.6.9-rc3-mm3 Joel Schopp
2004-10-07 21:33 ` 2.6.9-rc3-mm3 Andrew Morton
2004-10-07 21:01 ` 2.6.9-rc3-mm3: build problem on dual-Opteron w/ NUMA Rafael J. Wysocki
2004-10-07 21:40 ` Andrew Morton
2004-10-07 21:46 ` Andi Kleen
2004-10-08 10:33 ` Hideo AOKI [this message]
2004-10-08 20:49 ` 2.6.9-rc3-mm3: vm-thrashing-control-tuning Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41666CF9.4040207@sdl.hitachi.co.jp \
--to=aoki@sdl.hitachi.co.jp \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).