From: David Miller <davem@davemloft.net>
To: aaro.koskinen@iki.fi
Cc: mroos@linux.ee, sparclinux@vger.kernel.org,
linux-kernel@vger.kernel.org, hughd@google.com
Subject: Re: sparc64 WARNING: at mm/mmap.c:2757 exit_mmap+0x13c/0x160()
Date: Mon, 14 Apr 2014 14:58:14 -0400 (EDT) [thread overview]
Message-ID: <20140414.145814.165063775977075099.davem@davemloft.net> (raw)
In-Reply-To: <20140414184353.GA5630@drone.musicnaut.iki.fi>
From: Aaro Koskinen <aaro.koskinen@iki.fi>
Date: Mon, 14 Apr 2014 21:43:53 +0300
> Just for the archives, I got one of these again with 3.14:
>
> [68674.536190] ------------[ cut here ]------------
> [68674.590467] WARNING: CPU: 0 PID: 14600 at /home/aaro/los/work/shared/linux-v3.14/mm/mmap.c:2738 exit_mmap+0x138/0x160()
> [68674.719635] Modules linked in:
> [68674.756022] CPU: 0 PID: 14600 Comm: rm Not tainted 3.14.0-ultra-los_0a2b #1
> [68674.839349] Call Trace:
> [68674.868507] [00000000004b9c78] exit_mmap+0x138/0x160
> [68674.928931] [00000000004503cc] mmput+0x2c/0xc0
> [68674.983103] [0000000000452e98] do_exit+0x1b8/0x800
> [68675.041409] [000000000045406c] do_group_exit+0x2c/0xa0
> [68675.103897] [00000000004540f4] SyS_exit_group+0x14/0x20
> [68675.167439] [0000000000406074] linux_sparc_syscall32+0x34/0x60
> [68675.238258] ---[ end trace 8a52741fbdb89d8e ]---
> [68675.293470] BUG: Bad rss-counter state mm:ffffff001df3d900 idx:1 val:1
Yes, I have reports of this going back several releases and I started trying to figure
out what causes this.
I suspect there is something that runs during exit_mmap() that indirectly faults in
new pages, and that's how the rss-counter ends up being non-zero at the end of
exit_mmap().
I'll let you know if I figure out exactly what the problem is.
next prev parent reply other threads:[~2014-04-14 18:58 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-16 21:06 Meelis Roos
2013-06-17 5:32 ` Aaro Koskinen
2013-06-17 5:58 ` Aaro Koskinen
2013-08-03 20:40 ` David Miller
2013-10-22 17:46 ` Aaro Koskinen
2013-10-22 17:54 ` David Miller
2014-04-14 18:43 ` Aaro Koskinen
2014-04-14 18:58 ` David Miller [this message]
2014-04-16 18:58 ` David Miller
2014-04-16 22:22 ` mroos
2014-04-16 22:49 ` David Miller
2014-07-29 23:26 ` David Miller
2014-07-30 22:02 ` Meelis Roos
2014-07-30 22:07 ` David Miller
2014-08-13 11:44 ` Meelis Roos
2014-08-13 19:46 ` David Miller
2014-08-14 12:20 ` Meelis Roos
2014-08-15 12:42 ` Meelis Roos
2014-08-18 12:30 ` Meelis Roos
2014-08-18 17:35 ` Aaro Koskinen
2014-08-18 17:38 ` David Miller
2014-08-30 22:27 ` Aaro Koskinen
2014-08-18 23:45 ` Julian Calaby
2014-08-19 21:29 ` Aaro Koskinen
2014-08-19 8:22 ` Meelis Roos
2014-04-25 20:09 ` Aaro Koskinen
2014-04-25 20:17 ` David Miller
2014-05-24 20:02 ` mroos
2014-05-24 21:08 ` David Miller
2014-06-09 6:36 ` Meelis Roos
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=20140414.145814.165063775977075099.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=aaro.koskinen@iki.fi \
--cc=hughd@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mroos@linux.ee \
--cc=sparclinux@vger.kernel.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 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®