All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: Nishanth Menon <nm@ti.com>
Cc: Tyler Baker <tyler.baker@linaro.org>,
	"Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>,
	Russell King - ARM Linux <linux@arm.linux.org.uk>,
	Felipe Balbi <balbi@ti.com>,
	linux-mm@kvack.org, linux-next <linux-next@vger.kernel.org>,
	linux-omap <linux-omap@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [next-20150119]regression (mm)?
Date: Fri, 23 Jan 2015 22:22:29 +0200	[thread overview]
Message-ID: <20150123202229.GA9038@node.dhcp.inet.fi> (raw)
In-Reply-To: <20150123183706.GA15791@kahuna>

On Fri, Jan 23, 2015 at 12:37:06PM -0600, Nishanth Menon wrote:
> On 09:39-20150123, Tyler Baker wrote:
> > Hi,
> > 
> > On 23 January 2015 at 09:27, Nishanth Menon <nm@ti.com> wrote:
> > > On 16:05-20150120, Kirill A. Shutemov wrote:
> > > [..]
> > >> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
> > >> Reported-by: Nishanth Menon <nm@ti.com>
> > > Just to close on this thread:
> > > https://github.com/nmenon/kernel-test-logs/tree/next-20150123 looks good
> > > and back to old status. Thank you folks for all the help.
> > 
> > I just reviewed the boot logs for next-20150123 and there still seems
> > to be a related issue. I've been boot testing
> > multi_v7_defconfig+CONFIG_ARM_LPAE=y kernel configurations which still
> > seem broken.
> > 
> > For example here are two boots with exynos5250-arndale, one with
> > multi_v7_defconfig+CONFIG_ARM_LPAE=y [1] and the other with
> > multi_v7_defconfig[2]. You can see the kernel configurations with
> > CONFIG_ARM_LPAE=y show the splat:
> > 
> > [   14.605950] ------------[ cut here ]------------
> > [   14.609163] WARNING: CPU: 1 PID: 63 at ../mm/mmap.c:2858
> > exit_mmap+0x1b8/0x224()
> > [   14.616548] Modules linked in:
> > [   14.619553] CPU: 1 PID: 63 Comm: init Not tainted 3.19.0-rc5-next-20150123 #1
> > [   14.626713] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)
> > [   14.632830] [] (unwind_backtrace) from [] (show_stack+0x10/0x14)
> > [   14.640473] [] (show_stack) from [] (dump_stack+0x78/0x94)
> > [   14.647678] [] (dump_stack) from [] (warn_slowpath_common+0x74/0xb0)
> > [   14.655744] [] (warn_slowpath_common) from [] (warn_slowpath_null+0x1c/0x24)
> > [   14.664510] [] (warn_slowpath_null) from [] (exit_mmap+0x1b8/0x224)
> > [   14.672497] [] (exit_mmap) from [] (mmput+0x40/0xf8)
> > [   14.679180] [] (mmput) from [] (flush_old_exec+0x328/0x604)
> > [   14.686471] [] (flush_old_exec) from [] (load_elf_binary+0x26c/0x11f4)
> > [   14.694715] [] (load_elf_binary) from [] (search_binary_handler+0x98/0x244)
> > [   14.703395] [] (search_binary_handler) from []
> > (do_execveat_common+0x4dc/0x5bc)
> > [   14.712421] [] (do_execveat_common) from [] (do_execve+0x28/0x30)
> > [   14.720235] [] (do_execve) from [] (ret_fast_syscall+0x0/0x34)
> > [   14.727782] ---[ end trace 5e3ca48b454c7e0a ]---
> > [   14.733758] ------------[ cut here ]------------
> > 
> > Has anyone else tested with CONFIG_ARM_LPAE=y that can confirm my findings?
> Uggh... I missed since i was looking at non LPAE omap2plus_defconfig.
> 
> Dual A15 OMAP5432 with multi_v7_defconfig + CONFIG_ARM_LPAE=y
> https://github.com/nmenon/kernel-test-logs/blob/next-20150123/multi_lpae_defconfig/omap5-evm.txt
> 
> Dual A15 DRA7/AM572x with same configuration as above.
> https://raw.githubusercontent.com/nmenon/kernel-test-logs/next-20150123/multi_lpae_defconfig/dra7xx-evm.txt
> https://github.com/nmenon/kernel-test-logs/blob/next-20150123/multi_lpae_defconfig/am57xx-evm.txt
> 
> Single A15 DRA72 with same configuration as above:
> https://raw.githubusercontent.com/nmenon/kernel-test-logs/next-20150123/multi_lpae_defconfig/dra72x-evm.txt
> 
> You are right. the issue re-appears with LPAE on :(
> Apologies on missing that.

Guys, could you instrument mm_{inc,dec}_nr_pmds() with dump_stack() +
printk() of the counter and add printk() on mmap_exit() then run a simple
program which triggers the issue?

-- 
 Kirill A. Shutemov

--
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>

WARNING: multiple messages have this Message-ID (diff)
From: kirill@shutemov.name (Kirill A. Shutemov)
To: linux-arm-kernel@lists.infradead.org
Subject: [next-20150119]regression (mm)?
Date: Fri, 23 Jan 2015 22:22:29 +0200	[thread overview]
Message-ID: <20150123202229.GA9038@node.dhcp.inet.fi> (raw)
In-Reply-To: <20150123183706.GA15791@kahuna>

On Fri, Jan 23, 2015 at 12:37:06PM -0600, Nishanth Menon wrote:
> On 09:39-20150123, Tyler Baker wrote:
> > Hi,
> > 
> > On 23 January 2015 at 09:27, Nishanth Menon <nm@ti.com> wrote:
> > > On 16:05-20150120, Kirill A. Shutemov wrote:
> > > [..]
> > >> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
> > >> Reported-by: Nishanth Menon <nm@ti.com>
> > > Just to close on this thread:
> > > https://github.com/nmenon/kernel-test-logs/tree/next-20150123 looks good
> > > and back to old status. Thank you folks for all the help.
> > 
> > I just reviewed the boot logs for next-20150123 and there still seems
> > to be a related issue. I've been boot testing
> > multi_v7_defconfig+CONFIG_ARM_LPAE=y kernel configurations which still
> > seem broken.
> > 
> > For example here are two boots with exynos5250-arndale, one with
> > multi_v7_defconfig+CONFIG_ARM_LPAE=y [1] and the other with
> > multi_v7_defconfig[2]. You can see the kernel configurations with
> > CONFIG_ARM_LPAE=y show the splat:
> > 
> > [   14.605950] ------------[ cut here ]------------
> > [   14.609163] WARNING: CPU: 1 PID: 63 at ../mm/mmap.c:2858
> > exit_mmap+0x1b8/0x224()
> > [   14.616548] Modules linked in:
> > [   14.619553] CPU: 1 PID: 63 Comm: init Not tainted 3.19.0-rc5-next-20150123 #1
> > [   14.626713] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)
> > [   14.632830] [] (unwind_backtrace) from [] (show_stack+0x10/0x14)
> > [   14.640473] [] (show_stack) from [] (dump_stack+0x78/0x94)
> > [   14.647678] [] (dump_stack) from [] (warn_slowpath_common+0x74/0xb0)
> > [   14.655744] [] (warn_slowpath_common) from [] (warn_slowpath_null+0x1c/0x24)
> > [   14.664510] [] (warn_slowpath_null) from [] (exit_mmap+0x1b8/0x224)
> > [   14.672497] [] (exit_mmap) from [] (mmput+0x40/0xf8)
> > [   14.679180] [] (mmput) from [] (flush_old_exec+0x328/0x604)
> > [   14.686471] [] (flush_old_exec) from [] (load_elf_binary+0x26c/0x11f4)
> > [   14.694715] [] (load_elf_binary) from [] (search_binary_handler+0x98/0x244)
> > [   14.703395] [] (search_binary_handler) from []
> > (do_execveat_common+0x4dc/0x5bc)
> > [   14.712421] [] (do_execveat_common) from [] (do_execve+0x28/0x30)
> > [   14.720235] [] (do_execve) from [] (ret_fast_syscall+0x0/0x34)
> > [   14.727782] ---[ end trace 5e3ca48b454c7e0a ]---
> > [   14.733758] ------------[ cut here ]------------
> > 
> > Has anyone else tested with CONFIG_ARM_LPAE=y that can confirm my findings?
> Uggh... I missed since i was looking at non LPAE omap2plus_defconfig.
> 
> Dual A15 OMAP5432 with multi_v7_defconfig + CONFIG_ARM_LPAE=y
> https://github.com/nmenon/kernel-test-logs/blob/next-20150123/multi_lpae_defconfig/omap5-evm.txt
> 
> Dual A15 DRA7/AM572x with same configuration as above.
> https://raw.githubusercontent.com/nmenon/kernel-test-logs/next-20150123/multi_lpae_defconfig/dra7xx-evm.txt
> https://github.com/nmenon/kernel-test-logs/blob/next-20150123/multi_lpae_defconfig/am57xx-evm.txt
> 
> Single A15 DRA72 with same configuration as above:
> https://raw.githubusercontent.com/nmenon/kernel-test-logs/next-20150123/multi_lpae_defconfig/dra72x-evm.txt
> 
> You are right. the issue re-appears with LPAE on :(
> Apologies on missing that.

Guys, could you instrument mm_{inc,dec}_nr_pmds() with dump_stack() +
printk() of the counter and add printk() on mmap_exit() then run a simple
program which triggers the issue?

-- 
 Kirill A. Shutemov

  reply	other threads:[~2015-01-23 20:22 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-19 16:42 [next-20150119]regression (mm)? Nishanth Menon
2015-01-19 16:42 ` Nishanth Menon
     [not found] ` <CANMBJr6DudDBSs+rM-e2QnC5ztxAYLuSvZ0khvx7OZdQpcu_3A@mail.gmail.com>
2015-01-19 17:04   ` Nishanth Menon
2015-01-19 17:04     ` Nishanth Menon
2015-01-19 17:19     ` Tyler Baker
2015-01-19 17:19       ` Tyler Baker
2015-01-19 17:43 ` Felipe Balbi
2015-01-19 17:43   ` Felipe Balbi
2015-01-20  0:16   ` Kirill A. Shutemov
2015-01-20  0:16     ` Kirill A. Shutemov
2015-01-20  0:16     ` Kirill A. Shutemov
2015-01-20 11:45     ` Russell King - ARM Linux
2015-01-20 11:45       ` Russell King - ARM Linux
2015-01-20 14:05       ` Kirill A. Shutemov
2015-01-20 14:05         ` Kirill A. Shutemov
2015-01-20 14:05         ` Kirill A. Shutemov
2015-01-20 14:50         ` Fabio Estevam
2015-01-20 14:50           ` Fabio Estevam
2015-01-20 14:50           ` Fabio Estevam
2015-01-20 15:10           ` Felipe Balbi
2015-01-20 15:10             ` Felipe Balbi
2015-01-20 23:26         ` Nishanth Menon
2015-01-20 23:26           ` Nishanth Menon
2015-01-21  9:23         ` Peter Ujfalusi
2015-01-21  9:23           ` Peter Ujfalusi
2015-01-21 10:29         ` Krzysztof Kozlowski
2015-01-21 10:29           ` Krzysztof Kozlowski
2015-01-23 17:27         ` Nishanth Menon
2015-01-23 17:27           ` Nishanth Menon
2015-01-23 17:39           ` Tyler Baker
2015-01-23 17:39             ` Tyler Baker
2015-01-23 18:37             ` Nishanth Menon
2015-01-23 18:37               ` Nishanth Menon
2015-01-23 20:22               ` Kirill A. Shutemov [this message]
2015-01-23 20:22                 ` Kirill A. Shutemov
2015-01-23 22:05                 ` Nishanth Menon
2015-01-23 22:05                   ` Nishanth Menon
2015-01-23 22:42                 ` Tyler Baker
2015-01-23 22:42                   ` Tyler Baker
2015-01-24  1:13                   ` Kirill A. Shutemov
2015-01-24  1:13                     ` Kirill A. Shutemov
2015-01-24  4:37                     ` Nishanth Menon
2015-01-24  4:37                       ` Nishanth Menon
2015-01-26 12:00                       ` Kirill A. Shutemov
2015-01-26 12:00                         ` Kirill A. Shutemov
2015-01-26 12:00                         ` Kirill A. Shutemov
2015-01-26 22:38                         ` Tyler Baker
2015-01-26 22:38                           ` Tyler Baker

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=20150123202229.GA9038@node.dhcp.inet.fi \
    --to=kirill@shutemov.name \
    --cc=balbi@ti.com \
    --cc=kirill.shutemov@linux.intel.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-mm@kvack.org \
    --cc=linux-next@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=nm@ti.com \
    --cc=tyler.baker@linaro.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.