From: lauraa@codeaurora.org (Laura Abbott)
To: linux-arm-kernel@lists.infradead.org
Subject: set_memory_ro/set_memory_rw for ARM
Date: Thu, 21 Aug 2014 13:05:19 -0700 [thread overview]
Message-ID: <53F650FF.4030301@codeaurora.org> (raw)
In-Reply-To: <CAMxMOAs=4qgOgHygg5kygyyVcggQithycm_XM0SkxHTH62cnRw@mail.gmail.com>
On 8/21/2014 12:18 PM, Christian S. Perone wrote:
> Does anyone knows if there is any set_memory_ro()/set_memory_rw()
> (from x86) equivalent for ARM ? I just want to set pages to be
> read-only (even when in supervisor mode).
>
> Thanks !
>
Yes, set_memory_ro/set_memory_rw were implemented for ARM
(75374ad47 ARM: mm: Define set_memory_* functions for ARM) and should
be in v3.14. Note that these are restricted to module addresses only
since changing individual pages of generic memory is not possible
due to the section mappings used in lowmem.
Thanks,
Laura
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
next prev parent reply other threads:[~2014-08-21 20:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-21 19:18 set_memory_ro/set_memory_rw for ARM Christian S. Perone
2014-08-21 20:05 ` Laura Abbott [this message]
2014-08-21 20:12 ` Christian S. Perone
2014-08-21 20:13 ` Christian S. Perone
2014-08-21 20:21 ` Laura Abbott
2014-08-21 20:24 ` Christian S. Perone
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=53F650FF.4030301@codeaurora.org \
--to=lauraa@codeaurora.org \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).