mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mel Gorman <mel@csn.ul.ie>
To: akpm@linux-foundation.org
Cc: Mel Gorman <mel@csn.ul.ie>,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: [PATCH 5/8] ppc and powerpc - Specify amount of kernel memory at boot time
Date: Thu,  1 Mar 2007 10:09:42 +0000 (GMT)	[thread overview]
Message-ID: <20070301100942.30048.63879.sendpatchset@skynet.skynet.ie> (raw)
In-Reply-To: <20070301100802.30048.45045.sendpatchset@skynet.skynet.ie>


This patch adds the kernelcore= parameter for ppc and powerpc.

Signed-off-by: Mel Gorman <mel@csn.ul.ie>
---

 powerpc/kernel/prom.c |    1 +
 ppc/mm/init.c         |    2 ++
 2 files changed, 3 insertions(+)

diff -rup -X /usr/src/patchset-0.6/bin//dontdiff linux-2.6.20-mm2-004_x86_set_kernelcore/arch/powerpc/kernel/prom.c linux-2.6.20-mm2-005_ppc64_set_kernelcore/arch/powerpc/kernel/prom.c
--- linux-2.6.20-mm2-004_x86_set_kernelcore/arch/powerpc/kernel/prom.c	2007-02-19 01:19:32.000000000 +0000
+++ linux-2.6.20-mm2-005_ppc64_set_kernelcore/arch/powerpc/kernel/prom.c	2007-02-19 09:17:41.000000000 +0000
@@ -431,6 +431,7 @@ static int __init early_parse_mem(char *
 	return 0;
 }
 early_param("mem", early_parse_mem);
+early_param("kernelcore", cmdline_parse_kernelcore);
 
 /*
  * The device tree may be allocated below our memory limit, or inside the
diff -rup -X /usr/src/patchset-0.6/bin//dontdiff linux-2.6.20-mm2-004_x86_set_kernelcore/arch/ppc/mm/init.c linux-2.6.20-mm2-005_ppc64_set_kernelcore/arch/ppc/mm/init.c
--- linux-2.6.20-mm2-004_x86_set_kernelcore/arch/ppc/mm/init.c	2007-02-04 18:44:54.000000000 +0000
+++ linux-2.6.20-mm2-005_ppc64_set_kernelcore/arch/ppc/mm/init.c	2007-02-19 09:17:41.000000000 +0000
@@ -214,6 +214,8 @@ void MMU_setup(void)
 	}
 }
 
+early_param("kernelcore", cmdline_parse_kernelcore);
+
 /*
  * MMU_init sets up the basic memory mappings for the kernel,
  * including both RAM and possibly some I/O regions,

  parent reply	other threads:[~2007-03-01 10:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-01 10:08 [PATCH 0/8] Create optional ZONE_MOVABLE to partition memory between movable and non-movable pages v2 Mel Gorman
2007-03-01 10:08 ` [PATCH 1/8] Add __GFP_MOVABLE for callers to flag allocations that may be migrated Mel Gorman
2007-03-01 10:08 ` [PATCH 2/8] Create the ZONE_MOVABLE zone Mel Gorman
2007-03-01 10:09 ` [PATCH 3/8] Allow huge page allocations to use GFP_HIGH_MOVABLE Mel Gorman
2007-03-01 10:09 ` [PATCH 4/8] x86 - Specify amount of kernel memory at boot time Mel Gorman
2007-03-01 10:09 ` Mel Gorman [this message]
2007-03-01 10:10 ` [PATCH 6/8] x86_64 " Mel Gorman
2007-03-01 10:10 ` [PATCH 7/8] ia64 " Mel Gorman
2007-03-01 10:10 ` [PATCH 8/8] Add documentation for additional boot parameter and sysctl Mel Gorman
  -- strict thread matches above, loose matches on Subject: below --
2007-01-25 23:44 [PATCH 0/8] Create ZONE_MOVABLE to partition memory between movable and non-movable pages Mel Gorman
2007-01-25 23:46 ` [PATCH 5/8] ppc and powerpc - Specify amount of kernel memory at boot time Mel Gorman

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=20070301100942.30048.63879.sendpatchset@skynet.skynet.ie \
    --to=mel@csn.ul.ie \
    --cc=akpm@linux-foundation.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

all inboxes | Powered by JetHome®