From: Sachin Sant <sachinp@in•ibm.com>
To: Benjamin Herrenschmidt <benh@au1•ibm.com>
Cc: linuxppc-dev@ozlabs•org, David Gibson <dwg@au1•ibm.com>
Subject: Re: Fix bug in pagetable cache cleanup with CONFIG_PPC_SUBPAGE_PROT
Date: Tue, 24 Nov 2009 12:28:32 +0530 [thread overview]
Message-ID: <4B0B8418.4040808@in.ibm.com> (raw)
In-Reply-To: <20091124053114.GD2737@yookeroo>
David Gibson wrote:
> Commit a0668cdc154e54bf0c85182e0535eea237d53146 cleans up the handling
> of kmem_caches for allocating various levels of pagetables.
> Unfortunately, it conflicts badly with CONFIG_PPC_SUBPAGE_PROT, due to
> the latter's cleverly hidden technique of adding some extra allocation
> space to the top level page directory to store the extra information
> it needs.
>
> Since that extra allocation really doesn't fit into the cleaned up
> page directory allocating scheme, this patch alters
> CONFIG_PPC_SUBPAGE_PROT to instead allocate its struct
> subpage_prot_table as part of the mm_context_t.
>
> Signed-off-by: David Gibson <david@gibson•dropbear.id.au>
Thanks David for the patch. With this patch on top of next-20091123
my test machine boots fine.
Regards
-Sachin
--
---------------------------------
Sachin Sant
IBM Linux Technology Center
India Systems and Technology Labs
Bangalore, India
---------------------------------
next prev parent reply other threads:[~2009-11-24 6:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-24 5:31 Fix bug in pagetable cache cleanup with CONFIG_PPC_SUBPAGE_PROT David Gibson
2009-11-24 6:58 ` Sachin Sant [this message]
2009-11-27 4:56 ` Fix bug in pagetable cache cleanup with CONFIG_PPC_SUBPAGE_PROT (v2) David Gibson
2009-12-04 12:02 ` Sachin Sant
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=4B0B8418.4040808@in.ibm.com \
--to=sachinp@in$(echo .)ibm.com \
--cc=benh@au1$(echo .)ibm.com \
--cc=dwg@au1$(echo .)ibm.com \
--cc=linuxppc-dev@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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