From: Andi Kleen <ak@suse.de>
To: David Woodhouse <dwmw2@infradead.org>
Cc: Andi Kleen <ak@suse.de>, linux-arch@vger.kernel.org, akpm@digeo.com
Subject: Re: 4level page tables architecture porting
Date: Fri, 15 Oct 2004 21:32:15 +0200 [thread overview]
Message-ID: <20041015193215.GA9099@wotan.suse.de> (raw)
In-Reply-To: <1097863604.13633.431.camel@hades.cambridge.redhat.com>
On Fri, Oct 15, 2004 at 07:06:44PM +0100, David Woodhouse wrote:
> On Fri, 2004-10-15 at 17:21 +0200, Andi Kleen wrote:
> > ftp://ftp.suse.com/pub/people/ak/4level/4level-2.6.9rc4-2.gz
> >
> > now compiles and boots on x86-64, i386, ia64. alpha, ppc64, ppc compile too,
> > but missing hardware I'm still waiting for testers for that.
>
> ppc64 fails thus. Sorry, I'd be more helpful but I'm a little busy
> trying to work out why some ppc64 machines also die on startup because
> some of the initrd pages seem to be marked PG_slab by the time they get
> freed.
Thanks. It looks like the TASK_SIZE there is not a multiple of PGDIR_MASK.
Does it work with this patch?
diff -u linux-2.6.9rc4-4level/mm/mmap.c-Y linux-2.6.9rc4-4level/mm/mmap.c
--- linux-2.6.9rc4-4level/mm/mmap.c-Y 2004-10-12 15:31:28.000000000 +0200
+++ linux-2.6.9rc4-4level/mm/mmap.c 2004-10-15 21:21:04.000000000 +0200
@@ -1843,7 +1843,8 @@
~0UL, &nr_accounted, NULL);
vm_unacct_memory(nr_accounted);
BUG_ON(mm->map_count); /* This is just debugging */
- clear_page_range(tlb, FIRST_USER_PGD_NR * PGDIR_SIZE, TASK_SIZE);
+ clear_page_range(tlb, FIRST_USER_PGD_NR * PGDIR_SIZE,
+ (TASK_SIZE + PGDIR_SIZE - 1) & ~(PGDIR_SIZE - 1));
tlb_finish_mmu(tlb, 0, MM_VM_SIZE(mm));
vma = mm->mmap;
-Andi
next prev parent reply other threads:[~2004-10-15 19:32 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-15 15:21 4level page tables architecture porting Andi Kleen
2004-10-15 18:06 ` David Woodhouse
2004-10-15 19:32 ` Andi Kleen [this message]
2004-10-15 19:37 ` David Woodhouse
2004-10-15 21:41 ` David Woodhouse
-- strict thread matches above, loose matches on Subject: below --
2004-10-20 13:13 Martin Schwidefsky
2004-10-20 14:39 ` Andi Kleen
2004-10-20 15:05 ` Arnd Bergmann
2004-10-20 15:17 ` Geert Uytterhoeven
2004-10-20 15:29 ` Andi Kleen
2004-10-20 16:17 ` Martin Schwidefsky
2004-10-20 16:25 ` James Bottomley
2004-10-20 16:42 ` Martin Schwidefsky
2004-10-20 21:32 ` James Bottomley
2004-10-20 16:23 Luck, Tony
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=20041015193215.GA9099@wotan.suse.de \
--to=ak@suse.de \
--cc=akpm@digeo.com \
--cc=dwmw2@infradead.org \
--cc=linux-arch@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.