On 27.02.20 11:11, David Hildenbrand wrote: > We want to populate memory within a reserved memory region. Let's factor > that out. > > Reviewed-by: Richard Henderson <richard.hender...@linaro.org> > Acked-by: Murilo Opsfelder Araujo <muri...@linux.ibm.com> > Reviewed-by: Peter Xu <pet...@redhat.com> > Cc: Igor Kotrasinski <i.kotrasi...@partner.samsung.com> > Cc: "Michael S. Tsirkin" <m...@redhat.com> > Cc: Greg Kurz <gr...@kaod.org> > Cc: Murilo Opsfelder Araujo <muri...@linux.ibm.com> > Cc: Eduardo Habkost <ehabk...@redhat.com> > Cc: "Dr. David Alan Gilbert" <dgilb...@redhat.com> > Cc: Igor Mammedov <imamm...@redhat.com> > Signed-off-by: David Hildenbrand <da...@redhat.com>
Thought a bit longer about the terminology (as brought up by Peter). Populate might indeed be confusing, because we are not actually populating all memory (e.g., MAP_POPULATE). We enable/activate the mapping to be accessible. Hmmm mmap_enable() ? mmap_activate() ? I think I like the latter. Alternatives? -- Thanks, David / dhildenb