linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Vladimir Davydov <vdavydov@parallels.com>
To: Oleg Nesterov <oleg@redhat.com>
Cc: akpm@linux-foundation.org, rientjes@google.com, cl@linux.com,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] fork: dup_mm: init vm stat counters under mmap_sem
Date: Thu, 19 Jun 2014 11:14:04 +0400	[thread overview]
Message-ID: <20140619071404.GA20390@esperanza> (raw)
In-Reply-To: <20140618152209.GA14818@redhat.com>

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.

Agree. Will try to clean this up.

Thanks.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

      reply	other threads:[~2014-06-19  7:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-18 13:33 [PATCH] fork: dup_mm: init vm stat counters under mmap_sem Vladimir Davydov
2014-06-18 15:22 ` Oleg Nesterov
2014-06-19  7:14   ` Vladimir Davydov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140619071404.GA20390@esperanza \
    --to=vdavydov@parallels.com \
    --cc=akpm@linux-foundation.org \
    --cc=cl@linux.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=oleg@redhat.com \
    --cc=rientjes@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).