# Re: \[PATCH v5 0/5\] mm: introduce memfd\_secret system call to create "secret" memory areas

- From: Dave Hansen \<hidden\>
- Date: 2020-09-16 19:08:53 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2020/09/6503338
- Thread: https://ratatoskr.run/linux-arm-kernel/2020/09/188801/t.md

```text
On 9/16/20 11:49 AM, Andy Lutomirski wrote:
> I still have serious concerns with uncached mappings.  I'm not saying
> I can't be convinced, but I'm not currently convinced that we should
> allow user code to create UC mappings on x86.

There's another widely-used OS that has a "NOCACHE" flag to be specified
to on what I *think* is the equivalent of anonymous memory mappings
(VirtualAlloc()):

> https://docs.microsoft.com/en-us/windows/win32/memory/memory-protection-constants

I'll offer this not as a reason we should or shouldn't allow it.  But,
we should at least be able to figure out if it's caused problems for
them or not.  I think it's been around a long time.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
