linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Schlichter <schlicht@uni-mannheim.de>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: 2.6.0-test7-mm1
Date: Sat, 18 Oct 2003 19:43:38 +0200	[thread overview]
Message-ID: <200310181943.39148.schlicht@uni-mannheim.de> (raw)
In-Reply-To: <20031015013649.4aebc910.akpm@osdl.org>


[-- Attachment #1.1: Type: text/plain, Size: 822 bytes --]

Hi Andrew,

On Wednesday 15 October 2003 10:36, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test7/2
>.6.0-test7-mm1
  ~~ snip ~~
> +scale-min_free_kbytes.patch
>
>  Scale min_free_kbytes according to machine size.

This patch actually doesn't work, as is uses nr_free_buffer_pages() before the 
zonelists are set up. So min_free_kbytes is always set to 128.

The attached fix works here without a problem, but I'm not sure it doesn't 
break anything...

Regards
   Thomas

P.S.: 1. I've got a ported memsetup-fix from the 2.4 tree, if you want I could 
send it to you.
2. Should we consider replacing the bogus int_sqrt() with the fb_sqrt() 
version? (btw. it is always exact) We could place it somewhere central, so it 
can be used from any place...

[-- Attachment #1.2: fix-scale_min_free_pages.diff --]
[-- Type: text/x-diff, Size: 544 bytes --]

--- linux-2.6.0-test7-mm1/init/main.c.orig	Sat Oct 18 19:20:14 2003
+++ linux-2.6.0-test7-mm1/init/main.c	Sat Oct 18 18:58:26 2003
@@ -396,7 +396,6 @@
 	lock_kernel();
 	printk(linux_banner);
 	setup_arch(&command_line);
-	init_per_zone_pages_min();
 	setup_per_cpu_areas();
 
 	/*
@@ -406,6 +405,7 @@
 	smp_prepare_boot_cpu();
 
 	build_all_zonelists();
+	init_per_zone_pages_min();
 	page_alloc_init();
 	printk("Kernel command line: %s\n", saved_command_line);
 	parse_args("Booting kernel", command_line, __start___param,

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2003-10-18 17:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-15  8:36 2.6.0-test7-mm1 Andrew Morton
2003-10-15 15:20 ` 2.6.0-test7-mm1 Luiz Capitulino
2003-10-15 15:42 ` 2.6.0-test7-mm1 Luiz Capitulino
2003-10-15 16:55   ` 2.6.0-test7-mm1 William Lee Irwin III
2003-10-15 21:40     ` 2.6.0-test7-mm1 William Lee Irwin III
2003-10-16 15:11       ` 2.6.0-test7-mm1 Luiz Capitulino
2003-10-15 16:39 ` 2.6.0-test7-mm1 (compile stats) John Cherry
2003-10-15 17:52   ` William Lee Irwin III
2003-10-18 17:43 ` Thomas Schlichter [this message]
2003-10-18 17:50   ` 2.6.0-test7-mm1 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=200310181943.39148.schlicht@uni-mannheim.de \
    --to=schlicht@uni-mannheim.de \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.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