From: Dave Hansen <haveblue@us.ibm.com>
To: Andy Whitcroft <apw@shadowen.org>
Cc: lhms-devel@lists.sourceforge.net, linux-mm@kvack.org
Subject: Re: [3/7] 080 alloc_remap i386
Date: Thu, 28 Oct 2004 10:58:35 -0700 [thread overview]
Message-ID: <4181334B.8030703@us.ibm.com> (raw)
In-Reply-To: <E1CNBE6-0006bd-0j@ladymac.shadowen.org>
[-- Attachment #1: Type: text/plain, Size: 27 bytes --]
Removes whitespace damage.
[-- Attachment #2: 3_7_080_alloc_remap_i386-whitespace.patch --]
[-- Type: text/plain, Size: 1450 bytes --]
---
sparsemem-dave/arch/i386/mm/discontig.c | 2 +-
sparsemem-dave/mm/page_alloc.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff -puN arch/i386/mm/discontig.c~3_7_080_alloc_remap_i386-whitespace arch/i386/mm/discontig.c
--- sparsemem/arch/i386/mm/discontig.c~3_7_080_alloc_remap_i386-whitespace 2004-10-28 10:28:26.000000000 -0700
+++ sparsemem-dave/arch/i386/mm/discontig.c 2004-10-28 10:30:22.000000000 -0700
@@ -278,7 +278,7 @@ unsigned long __init setup_memory(void)
allocate_pgdat(nid);
printk ("node %d will remap to vaddr %08lx - %08lx\n", nid,
(ulong) node_remap_start_vaddr[nid],
- (ulong) pfn_to_kaddr(highstart_pfn
+ (ulong) pfn_to_kaddr(highstart_pfn
+ node_remap_offset[nid] + node_remap_size[nid]));
}
printk("High memory starts at vaddr %08lx\n",
diff -puN include/asm-i386/mmzone.h~3_7_080_alloc_remap_i386-whitespace include/asm-i386/mmzone.h
diff -puN mm/page_alloc.c~3_7_080_alloc_remap_i386-whitespace mm/page_alloc.c
--- sparsemem/mm/page_alloc.c~3_7_080_alloc_remap_i386-whitespace 2004-10-28 10:28:26.000000000 -0700
+++ sparsemem-dave/mm/page_alloc.c 2004-10-28 10:30:53.000000000 -0700
@@ -1474,7 +1474,7 @@ void zone_init_free_lists(struct pglist_
#ifdef HAVE_ARCH_ALLOC_REMAP
map = (unsigned long *) alloc_remap(pgdat->node_id,
bitmap_size);
- if (!map)
+ if (!map)
#endif
map = (unsigned long *) alloc_bootmem_node(pgdat,
bitmap_size);
_
next prev parent reply other threads:[~2004-10-28 17:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-28 14:26 Andy Whitcroft
2004-10-28 17:58 ` Dave Hansen [this message]
2004-10-28 17:59 ` Dave Hansen
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=4181334B.8030703@us.ibm.com \
--to=haveblue@us.ibm.com \
--cc=apw@shadowen.org \
--cc=lhms-devel@lists.sourceforge.net \
--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