From: Balbir Singh <balbir@linux.vnet.ibm.com>
To: Oleg Nesterov <oleg@redhat.com>
Cc: Hugh Dickins <hugh@veritas.com>, Jay Lan <jlan@sgi.com>,
Andrew Morton <akpm@linux-foundation.org>,
Jiri Pirko <jpirko@redhat.com>,
linux-kernel@vger.kernel.org, Jonathan Lim <jlim@sgi.com>
Subject: Re: [PATCH] introduce get_mm_hiwater_xxx(), fix taskstats->hiwater_xxx accounting
Date: Sun, 7 Dec 2008 23:09:58 +0530 [thread overview]
Message-ID: <20081207173958.GC13333@balbir.in.ibm.com> (raw)
In-Reply-To: <20081207172845.GA28520@redhat.com>
* Oleg Nesterov <oleg@redhat.com> [2008-12-07 18:28:45]:
[snip]
> No. When the task does unmap, vm does update_hiwater_vm() "internally",
> it does not need the help from do_exit(). And do_exit() can't help,
> it is to late to calculate the maximum, ->total_vm was already decreased.
>
> do_exit() itself does not affect rss/vm. Until we call exit_mmap(),
> but at this point ->mm is dead, nobody can look at it, its ->mm_users
> is zero.
>
OK, I think that makes sense, since free would have cleaned up the
memory before entering the exit system call.
[snip]
--
Balbir
next prev parent reply other threads:[~2008-12-07 17:40 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-03 18:12 Oleg Nesterov
2008-12-03 20:24 ` Hugh Dickins
2008-12-04 13:52 ` Oleg Nesterov
2008-12-05 12:54 ` Hugh Dickins
2008-12-05 18:41 ` Jay Lan
2008-12-06 8:42 ` Balbir Singh
2008-12-06 9:56 ` Hugh Dickins
2008-12-06 10:39 ` Balbir Singh
2008-12-07 16:17 ` Oleg Nesterov
2008-12-07 16:58 ` Balbir Singh
2008-12-07 17:28 ` Oleg Nesterov
2008-12-07 17:39 ` Balbir Singh [this message]
2008-12-06 15:26 ` KOSAKI Motohiro
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=20081207173958.GC13333@balbir.in.ibm.com \
--to=balbir@linux.vnet.ibm.com \
--cc=akpm@linux-foundation.org \
--cc=hugh@veritas.com \
--cc=jlan@sgi.com \
--cc=jlim@sgi.com \
--cc=jpirko@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oleg@redhat.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
all inboxes | Powered by JetHome®