From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] sh: Couple kernel and user write page perm bits for CONFIG_X2TLB
Date: Mon, 14 Dec 2009 06:20:13 +0000 [thread overview]
Message-ID: <20091214062013.GA25420@linux-sh.org> (raw)
In-Reply-To: <1260703081-1945-1-git-send-email-matt@console-pimps.org>
On Sun, Dec 13, 2009 at 11:18:01AM +0000, Matt Fleming wrote:
> pte_write() should check whether the permissions include either the user
> or kernel write permission bits. Likewise, pte_wrprotect() needs to
> remove both the kernel and user write bits.
>
> Without this patch handle_tlbmiss() doesn't handle faulting in pages
> from the P3 area (our vmalloc space) because of a write. Mappings of the
> P3 space have the _PAGE_EXT_KERN_WRITE bit but not _PAGE_EXT_USER_WRITE.
>
> Signed-off-by: Matt Fleming <matt@console-pimps.org>
Applied, thanks.
prev parent reply other threads:[~2009-12-14 6:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-13 11:18 [PATCH] sh: Couple kernel and user write page perm bits for CONFIG_X2TLB Matt Fleming
2009-12-14 6:20 ` Paul Mundt [this message]
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=20091214062013.GA25420@linux-sh.org \
--to=lethal@linux-sh.org \
--cc=linux-sh@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.