Re: [PATCH] fork: dup_mm: init vm stat counters under mmap_sem
On Wed, Jun 18, 2014 at 05:22:09PM +0200, Oleg Nesterov wrote: > But perhaps this deserves more cleanups, with or without this patch > the initialization does not look consistent. dup_mmap() nullifies > locked_vm/pinned_vm/mmap/map_count while mm_init() clears core_state/ > nr_ptes/rss_stat.