Re: [RFC PATCH 0/2] mm: introduce MAP_FIXED_SAFE

2017-11-27 Thread Khalid Aziz
On 11/24/2017 01:54 AM, Michal Hocko wrote: Are there any more concerns? So far the biggest one was the name. The other which suggests a flag as a modifier has been sorted out hopefully. Is there anymore more before we can consider this for merging? Well except for man page update which I will pr

Re: [RFC PATCH 0/2] mm: introduce MAP_FIXED_SAFE

2017-11-24 Thread Michal Hocko
Are there any more concerns? So far the biggest one was the name. The other which suggests a flag as a modifier has been sorted out hopefully. Is there anymore more before we can consider this for merging? Well except for man page update which I will prepare of course. Can we target this to 4.16?

Re: [RFC PATCH 0/2] mm: introduce MAP_FIXED_SAFE

2017-11-22 Thread Vlastimil Babka
On 11/22/2017 02:12 PM, Michal Hocko wrote: > I will be probably stubborn and go with a shorter name I have currently. > I am not very fond-of-very-long-names. The short synonym for the last word is "German" SCNR :P

Re: [RFC PATCH 0/2] mm: introduce MAP_FIXED_SAFE

2017-11-22 Thread Michal Hocko
On Tue 21-11-17 17:48:31, John Hubbard wrote: [...] > Hi Michal, > > Yes, it really is useful for user space. I'll use CUDA as an example, but I > think anything that enforces a uniform virtual addressing scheme across CPUs > and devices, probably has to do something eerily similar. CUDA does thi

Re: [RFC PATCH 0/2] mm: introduce MAP_FIXED_SAFE

2017-11-21 Thread John Hubbard
On 11/20/2017 01:05 AM, Michal Hocko wrote: > On Fri 17-11-17 00:45:49, John Hubbard wrote: >> On 11/16/2017 04:14 AM, Michal Hocko wrote: >>> [Ups, managed to screw the subject - fix it] >>> >>> On Thu 16-11-17 11:18:58, Michal Hocko wrote: Hi, this has started as a follow up discussion

Re: [RFC PATCH 0/2] mm: introduce MAP_FIXED_SAFE

2017-11-20 Thread Michal Hocko
On Fri 17-11-17 00:45:49, John Hubbard wrote: > On 11/16/2017 04:14 AM, Michal Hocko wrote: > > [Ups, managed to screw the subject - fix it] > > > > On Thu 16-11-17 11:18:58, Michal Hocko wrote: > >> Hi, > >> this has started as a follow up discussion [1][2] resulting in the > >> runtime failure c

Re: [RFC PATCH 0/2] mm: introduce MAP_FIXED_SAFE

2017-11-17 Thread John Hubbard
On 11/16/2017 04:14 AM, Michal Hocko wrote: > [Ups, managed to screw the subject - fix it] > > On Thu 16-11-17 11:18:58, Michal Hocko wrote: >> Hi, >> this has started as a follow up discussion [1][2] resulting in the >> runtime failure caused by hardening patch [3] which removes MAP_FIXED >> from

[RFC PATCH 0/2] mm: introduce MAP_FIXED_SAFE

2017-11-16 Thread Michal Hocko
[Ups, managed to screw the subject - fix it] On Thu 16-11-17 11:18:58, Michal Hocko wrote: > Hi, > this has started as a follow up discussion [1][2] resulting in the > runtime failure caused by hardening patch [3] which removes MAP_FIXED > from the elf loader because MAP_FIXED is inherently danger