qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Add support for MAP_NORESERVE mmap flag.
@ 2014-02-03 16:04 Christophe Lyon
  2014-02-03 17:46 ` Peter Maydell
  0 siblings, 1 reply; 4+ messages in thread
From: Christophe Lyon @ 2014-02-03 16:04 UTC (permalink / raw)
  To: qemu-devel

From: Christophe Lyon <christophe.lyon@linaro.org>

mmap_flags_tbl contains a list of mmap flags, and how to map them to
the target. This patch adds MAP_NORESERVE, which was missing to the
list.

Signed-off-by: Christophe Lyon <christophe.lyon@linaro.org>
---
 linux-user/syscall.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index bc0ac98..2e7df53 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -4029,6 +4029,8 @@ static bitmask_transtbl mmap_flags_tbl[] = {
 	{ TARGET_MAP_DENYWRITE, TARGET_MAP_DENYWRITE, MAP_DENYWRITE, MAP_DENYWRITE },
 	{ TARGET_MAP_EXECUTABLE, TARGET_MAP_EXECUTABLE, MAP_EXECUTABLE, MAP_EXECUTABLE },
 	{ TARGET_MAP_LOCKED, TARGET_MAP_LOCKED, MAP_LOCKED, MAP_LOCKED },
+        { TARGET_MAP_NORESERVE, TARGET_MAP_NORESERVE, MAP_NORESERVE,
+          MAP_NORESERVE },
 	{ 0, 0, 0, 0 }
 };
 
-- 
1.8.4.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] Add support for MAP_NORESERVE mmap flag.
  2014-02-03 16:04 [Qemu-devel] [PATCH] Add support for MAP_NORESERVE mmap flag Christophe Lyon
@ 2014-02-03 17:46 ` Peter Maydell
  2014-06-05 12:23   ` Christophe Lyon
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Maydell @ 2014-02-03 17:46 UTC (permalink / raw)
  To: Christophe Lyon; +Cc: QEMU Developers

On 3 February 2014 16:04, Christophe Lyon <christophe.lyon@st.com> wrote:
> From: Christophe Lyon <christophe.lyon@linaro.org>
>
> mmap_flags_tbl contains a list of mmap flags, and how to map them to
> the target. This patch adds MAP_NORESERVE, which was missing to the
> list.
>
> Signed-off-by: Christophe Lyon <christophe.lyon@linaro.org>

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

thanks
-- PMM

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] Add support for MAP_NORESERVE mmap flag.
  2014-02-03 17:46 ` Peter Maydell
@ 2014-06-05 12:23   ` Christophe Lyon
  2014-06-05 12:43     ` Peter Maydell
  0 siblings, 1 reply; 4+ messages in thread
From: Christophe Lyon @ 2014-06-05 12:23 UTC (permalink / raw)
  To: QEMU Developers

On 02/03/14 18:46, Peter Maydell wrote:
> On 3 February 2014 16:04, Christophe Lyon <christophe.lyon@st.com> wrote:
>> From: Christophe Lyon <christophe.lyon@linaro.org>
>>
>> mmap_flags_tbl contains a list of mmap flags, and how to map them to
>> the target. This patch adds MAP_NORESERVE, which was missing to the
>> list.
>>
>> Signed-off-by: Christophe Lyon <christophe.lyon@linaro.org>
> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
>
> thanks
> -- PMM

Hi,

It seems this patch has no been committed to mainline yet.
Is there anything blocking it?

Thanks

Christophe.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] Add support for MAP_NORESERVE mmap flag.
  2014-06-05 12:23   ` Christophe Lyon
@ 2014-06-05 12:43     ` Peter Maydell
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Maydell @ 2014-06-05 12:43 UTC (permalink / raw)
  To: Christophe Lyon; +Cc: Riku Voipio, QEMU Developers

On 5 June 2014 13:23, Christophe Lyon <christophe.lyon@st.com> wrote:
> On 02/03/14 18:46, Peter Maydell wrote:
>>
>> On 3 February 2014 16:04, Christophe Lyon <christophe.lyon@st.com> wrote:
>>>
>>> From: Christophe Lyon <christophe.lyon@linaro.org>
>>>
>>> mmap_flags_tbl contains a list of mmap flags, and how to map them to
>>> the target. This patch adds MAP_NORESERVE, which was missing to the
>>> list.
>>>
>>> Signed-off-by: Christophe Lyon <christophe.lyon@linaro.org>
>>
>> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

> It seems this patch has no been committed to mainline yet.
> Is there anything blocking it?

You didn't cc the linux-user maintainer so it probably got
lost. Riku: ping?

(patchwork url: http://patchwork.ozlabs.org/patch/316224/)

thanks
-- PMM

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-05 12:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-03 16:04 [Qemu-devel] [PATCH] Add support for MAP_NORESERVE mmap flag Christophe Lyon
2014-02-03 17:46 ` Peter Maydell
2014-06-05 12:23   ` Christophe Lyon
2014-06-05 12:43     ` Peter Maydell

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).