From: Andrew Morton <akpm@linux-foundation.org>
To: Valdis.Kletnieks@vt.edu
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org,
Peter Zijlstra <a.p.zijlstra@chello.nl>
Subject: Re: mmotm 2011-04-29 - wonky VmRSS and VmHWM values after swapping
Date: Mon, 2 May 2011 16:44:30 -0700 [thread overview]
Message-ID: <20110502164430.eb7d451d.akpm@linux-foundation.org> (raw)
In-Reply-To: <8185.1304347042@localhost>
On Mon, 02 May 2011 10:37:22 -0400
Valdis.Kletnieks@vt.edu wrote:
> On Sun, 01 May 2011 20:26:54 EDT, Valdis.Kletnieks@vt.edu said:
> > On Fri, 29 Apr 2011 16:26:16 PDT, akpm@linux-foundation.org said:
> > > The mm-of-the-moment snapshot 2011-04-29-16-25 has been uploaded to
> > >
> > > http://userweb.kernel.org/~akpm/mmotm/
> >
> > Dell Latitude E6500 laptop, Core2 Due P8700, 4G RAM, 2G swap.Z86_64 kernel.
> >
> > I was running a backup of the system to an external USB hard drive.
>
> Is a red herring. Am seeing it again, after only 20 minutes of uptime, and so
> far I've only gotten 1.2G or so into the 4G ram (2.5G still free), and never
> touched swap yet.
>
> Aha! I have a reproducer (found while composing this note). /bin/su will
> reliably trigger it (4 tries out of 4, launching from a bash shell that itself
> has sane VmRSS and VmHWM values). So it's a specific code sequence doing it
> (probably one syscall doing something quirky).
>
> Now if I could figure out how to make strace look at the VmRSS after each
> syscall, or get gdb to do similar. Any suggestions? Am open to perf/other
> solutions as well, if anybody has one handy...
>
hm, me too. After boot, hald has a get_mm_counter(mm, MM_ANONPAGES) of
0xffffffffffff3c27. Bisected to Pater's
mm-extended-batches-for-generic-mmu_gather.patch, can't see how it did
that.
WARNING: multiple messages have this Message-ID (diff)
From: Andrew Morton <akpm@linux-foundation.org>
To: Valdis.Kletnieks@vt.edu
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org,
Peter Zijlstra <a.p.zijlstra@chello.nl>
Subject: Re: mmotm 2011-04-29 - wonky VmRSS and VmHWM values after swapping
Date: Mon, 2 May 2011 16:44:30 -0700 [thread overview]
Message-ID: <20110502164430.eb7d451d.akpm@linux-foundation.org> (raw)
In-Reply-To: <8185.1304347042@localhost>
On Mon, 02 May 2011 10:37:22 -0400
Valdis.Kletnieks@vt.edu wrote:
> On Sun, 01 May 2011 20:26:54 EDT, Valdis.Kletnieks@vt.edu said:
> > On Fri, 29 Apr 2011 16:26:16 PDT, akpm@linux-foundation.org said:
> > > The mm-of-the-moment snapshot 2011-04-29-16-25 has been uploaded to
> > >
> > > http://userweb.kernel.org/~akpm/mmotm/
> >
> > Dell Latitude E6500 laptop, Core2 Due P8700, 4G RAM, 2G swap.Z86_64 kernel.
> >
> > I was running a backup of the system to an external USB hard drive.
>
> Is a red herring. Am seeing it again, after only 20 minutes of uptime, and so
> far I've only gotten 1.2G or so into the 4G ram (2.5G still free), and never
> touched swap yet.
>
> Aha! I have a reproducer (found while composing this note). /bin/su will
> reliably trigger it (4 tries out of 4, launching from a bash shell that itself
> has sane VmRSS and VmHWM values). So it's a specific code sequence doing it
> (probably one syscall doing something quirky).
>
> Now if I could figure out how to make strace look at the VmRSS after each
> syscall, or get gdb to do similar. Any suggestions? Am open to perf/other
> solutions as well, if anybody has one handy...
>
hm, me too. After boot, hald has a get_mm_counter(mm, MM_ANONPAGES) of
0xffffffffffff3c27. Bisected to Pater's
mm-extended-batches-for-generic-mmu_gather.patch, can't see how it did
that.
--
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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2011-05-02 23:44 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-29 23:26 mmotm 2011-04-29-16-25 uploaded akpm
2011-04-29 23:26 ` akpm
2011-04-30 16:46 ` Randy Dunlap
2011-04-30 16:46 ` Randy Dunlap
2011-05-01 7:47 ` KOSAKI Motohiro
2011-05-01 7:47 ` KOSAKI Motohiro
2011-05-02 15:46 ` Randy Dunlap
2011-05-02 15:46 ` Randy Dunlap
2011-05-01 2:35 ` [PATCH] mmotm: fix hang at startup Hugh Dickins
2011-05-01 2:35 ` Hugh Dickins
2011-05-01 3:25 ` Wu Fengguang
2011-05-01 3:25 ` Wu Fengguang
2011-05-02 0:26 ` mmotm 2011-04-29 - wonky VmRSS and VmHWM values after swapping Valdis.Kletnieks
2011-05-02 14:37 ` Valdis.Kletnieks
2011-05-02 23:44 ` Andrew Morton [this message]
2011-05-02 23:44 ` Andrew Morton
2011-05-02 23:57 ` Valdis.Kletnieks
2011-05-10 16:04 ` Peter Zijlstra
2011-05-10 16:04 ` Peter Zijlstra
2011-05-11 22:53 ` Andrew Morton
2011-05-11 22:53 ` Andrew Morton
2011-05-12 1:08 ` Valdis.Kletnieks
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=20110502164430.eb7d451d.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=Valdis.Kletnieks@vt.edu \
--cc=a.p.zijlstra@chello.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.