Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-24 Thread Minchan Kim
On Thu, Nov 19, 2015 at 08:58:27AM +0200, Kirill A. Shutemov wrote: > On Thu, Nov 19, 2015 at 11:12:21AM +0900, Minchan Kim wrote: > > On Tue, Nov 17, 2015 at 11:32:13AM +0200, Kirill A. Shutemov wrote: > > > On Tue, Nov 17, 2015 at 04:35:39PM +0900, Minchan Kim wrote: > > > > On Mon, Nov 16, 2015

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-19 Thread yalin wang
> On Nov 19, 2015, at 14:58, Kirill A. Shutemov wrote: > > uncharged i also encounter this crash , also i encounter a crash like this in qemu: [2.703436] [] do_execveat_common.isra.36+0x4f0/0x630 [2.703624] [] do_execve+0x24/0x30 [2.703767] [] SyS_execve+0x1c/0x2c [2.703923]

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-18 Thread Kirill A. Shutemov
On Thu, Nov 19, 2015 at 11:12:21AM +0900, Minchan Kim wrote: > On Tue, Nov 17, 2015 at 11:32:13AM +0200, Kirill A. Shutemov wrote: > > On Tue, Nov 17, 2015 at 04:35:39PM +0900, Minchan Kim wrote: > > > On Mon, Nov 16, 2015 at 12:54:53PM +0200, Kirill A. Shutemov wrote: > > > > On Mon, Nov 16, 2015

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-18 Thread Minchan Kim
On Tue, Nov 17, 2015 at 11:32:13AM +0200, Kirill A. Shutemov wrote: > On Tue, Nov 17, 2015 at 04:35:39PM +0900, Minchan Kim wrote: > > On Mon, Nov 16, 2015 at 12:54:53PM +0200, Kirill A. Shutemov wrote: > > > On Mon, Nov 16, 2015 at 07:32:20PM +0900, Minchan Kim wrote: > > > > On Mon, Nov 16, 2015

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-17 Thread Kirill A. Shutemov
On Tue, Nov 17, 2015 at 04:35:39PM +0900, Minchan Kim wrote: > On Mon, Nov 16, 2015 at 12:54:53PM +0200, Kirill A. Shutemov wrote: > > On Mon, Nov 16, 2015 at 07:32:20PM +0900, Minchan Kim wrote: > > > On Mon, Nov 16, 2015 at 10:45:22AM +0200, Kirill A. Shutemov wrote: > > > > On Mon, Nov 16, 2015

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-16 Thread Minchan Kim
On Mon, Nov 16, 2015 at 12:54:53PM +0200, Kirill A. Shutemov wrote: > On Mon, Nov 16, 2015 at 07:32:20PM +0900, Minchan Kim wrote: > > On Mon, Nov 16, 2015 at 10:45:22AM +0200, Kirill A. Shutemov wrote: > > > On Mon, Nov 16, 2015 at 10:45:21AM +0900, Minchan Kim wrote: > > > > During the test with

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-16 Thread Kirill A. Shutemov
On Mon, Nov 16, 2015 at 07:32:20PM +0900, Minchan Kim wrote: > On Mon, Nov 16, 2015 at 10:45:22AM +0200, Kirill A. Shutemov wrote: > > On Mon, Nov 16, 2015 at 10:45:21AM +0900, Minchan Kim wrote: > > > During the test with MADV_FREE on kernel I applied your patches, > > > I couldn't see any problem

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-16 Thread Minchan Kim
On Mon, Nov 16, 2015 at 10:45:22AM +0200, Kirill A. Shutemov wrote: > On Mon, Nov 16, 2015 at 10:45:21AM +0900, Minchan Kim wrote: > > During the test with MADV_FREE on kernel I applied your patches, > > I couldn't see any problem. > > > > However, in this round, I did another test which is same o

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-16 Thread Kirill A. Shutemov
On Mon, Nov 16, 2015 at 10:45:21AM +0900, Minchan Kim wrote: > During the test with MADV_FREE on kernel I applied your patches, > I couldn't see any problem. > > However, in this round, I did another test which is same one > I attached but a liitle bit different because it doesn't do > (memcg thin

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-15 Thread Minchan Kim
On Thu, Nov 12, 2015 at 09:36:14AM +0900, Minchan Kim wrote: > > > mmotm-2015-10-15-15-20-no-madvise_free, IOW it means git head for > > > 54bad5da4834 arm64: add pmd_[dirty|mkclean] for THP so there is no > > > MADV_FREE code in there > > > + pte_mkdirty patch > > > + freeze/unfreeze patch >

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-11 Thread Minchan Kim
On Mon, Nov 09, 2015 at 12:55:22AM +0200, Kirill A. Shutemov wrote: > On Thu, Nov 05, 2015 at 09:19:22AM +0900, Minchan Kim wrote: > > On Wed, Nov 04, 2015 at 04:21:35PM +0200, Kirill A. Shutemov wrote: > > > On Wed, Nov 04, 2015 at 12:20:19AM +0900, Minchan Kim wrote: > > > > On Tue, Nov 03, 2015

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-08 Thread Kirill A. Shutemov
On Thu, Nov 05, 2015 at 09:19:22AM +0900, Minchan Kim wrote: > On Wed, Nov 04, 2015 at 04:21:35PM +0200, Kirill A. Shutemov wrote: > > On Wed, Nov 04, 2015 at 12:20:19AM +0900, Minchan Kim wrote: > > > On Tue, Nov 03, 2015 at 04:33:29PM +0900, Minchan Kim wrote: > > > > On Tue, Nov 03, 2015 at 09:1

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-04 Thread Minchan Kim
On Wed, Nov 04, 2015 at 04:21:35PM +0200, Kirill A. Shutemov wrote: > On Wed, Nov 04, 2015 at 12:20:19AM +0900, Minchan Kim wrote: > > On Tue, Nov 03, 2015 at 04:33:29PM +0900, Minchan Kim wrote: > > > On Tue, Nov 03, 2015 at 09:16:50AM +0200, Kirill A. Shutemov wrote: > > > > On Tue, Nov 03, 2015

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-04 Thread Kirill A. Shutemov
On Wed, Nov 04, 2015 at 12:20:19AM +0900, Minchan Kim wrote: > On Tue, Nov 03, 2015 at 04:33:29PM +0900, Minchan Kim wrote: > > On Tue, Nov 03, 2015 at 09:16:50AM +0200, Kirill A. Shutemov wrote: > > > On Tue, Nov 03, 2015 at 12:02:58PM +0900, Minchan Kim wrote: > > > > Hello Kirill, > > > > > > >

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-03 Thread Minchan Kim
On Tue, Nov 03, 2015 at 04:33:29PM +0900, Minchan Kim wrote: > On Tue, Nov 03, 2015 at 09:16:50AM +0200, Kirill A. Shutemov wrote: > > On Tue, Nov 03, 2015 at 12:02:58PM +0900, Minchan Kim wrote: > > > Hello Kirill, > > > > > > On Mon, Nov 02, 2015 at 02:57:49PM +0200, Kirill A. Shutemov wrote: >

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-02 Thread Minchan Kim
On Tue, Nov 03, 2015 at 09:16:50AM +0200, Kirill A. Shutemov wrote: > On Tue, Nov 03, 2015 at 12:02:58PM +0900, Minchan Kim wrote: > > Hello Kirill, > > > > On Mon, Nov 02, 2015 at 02:57:49PM +0200, Kirill A. Shutemov wrote: > > > On Fri, Oct 30, 2015 at 04:03:50PM +0900, Minchan Kim wrote: > > >

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-02 Thread Kirill A. Shutemov
On Tue, Nov 03, 2015 at 12:02:58PM +0900, Minchan Kim wrote: > Hello Kirill, > > On Mon, Nov 02, 2015 at 02:57:49PM +0200, Kirill A. Shutemov wrote: > > On Fri, Oct 30, 2015 at 04:03:50PM +0900, Minchan Kim wrote: > > > On Thu, Oct 29, 2015 at 11:52:06AM +0200, Kirill A. Shutemov wrote: > > > > On

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-02 Thread Minchan Kim
Hello Kirill, On Mon, Nov 02, 2015 at 02:57:49PM +0200, Kirill A. Shutemov wrote: > On Fri, Oct 30, 2015 at 04:03:50PM +0900, Minchan Kim wrote: > > On Thu, Oct 29, 2015 at 11:52:06AM +0200, Kirill A. Shutemov wrote: > > > On Thu, Oct 29, 2015 at 04:58:29PM +0900, Minchan Kim wrote: > > > > On Thu

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-02 Thread Kirill A. Shutemov
On Fri, Oct 30, 2015 at 04:03:50PM +0900, Minchan Kim wrote: > On Thu, Oct 29, 2015 at 11:52:06AM +0200, Kirill A. Shutemov wrote: > > On Thu, Oct 29, 2015 at 04:58:29PM +0900, Minchan Kim wrote: > > > On Thu, Oct 29, 2015 at 02:25:24AM +0200, Kirill A. Shutemov wrote: > > > > On Thu, Oct 22, 2015

Re: kernel oops on mmotm-2015-10-15-15-20

2015-10-30 Thread Minchan Kim
On Thu, Oct 29, 2015 at 11:52:06AM +0200, Kirill A. Shutemov wrote: > On Thu, Oct 29, 2015 at 04:58:29PM +0900, Minchan Kim wrote: > > On Thu, Oct 29, 2015 at 02:25:24AM +0200, Kirill A. Shutemov wrote: > > > On Thu, Oct 22, 2015 at 06:00:51PM +0900, Minchan Kim wrote: > > > > On Thu, Oct 22, 2015

Re: kernel oops on mmotm-2015-10-15-15-20

2015-10-29 Thread Kirill A. Shutemov
On Thu, Oct 29, 2015 at 04:58:29PM +0900, Minchan Kim wrote: > On Thu, Oct 29, 2015 at 02:25:24AM +0200, Kirill A. Shutemov wrote: > > On Thu, Oct 22, 2015 at 06:00:51PM +0900, Minchan Kim wrote: > > > On Thu, Oct 22, 2015 at 10:21:36AM +0900, Minchan Kim wrote: > > > > Hello Hugh, > > > > > > > >

Re: kernel oops on mmotm-2015-10-15-15-20

2015-10-29 Thread Kirill A. Shutemov
On Thu, Oct 29, 2015 at 04:58:29PM +0900, Minchan Kim wrote: > On Thu, Oct 29, 2015 at 02:25:24AM +0200, Kirill A. Shutemov wrote: > > On Thu, Oct 22, 2015 at 06:00:51PM +0900, Minchan Kim wrote: > > > On Thu, Oct 22, 2015 at 10:21:36AM +0900, Minchan Kim wrote: > > > > Hello Hugh, > > > > > > > >

Re: kernel oops on mmotm-2015-10-15-15-20

2015-10-29 Thread Minchan Kim
On Thu, Oct 29, 2015 at 02:25:24AM +0200, Kirill A. Shutemov wrote: > On Thu, Oct 22, 2015 at 06:00:51PM +0900, Minchan Kim wrote: > > On Thu, Oct 22, 2015 at 10:21:36AM +0900, Minchan Kim wrote: > > > Hello Hugh, > > > > > > On Wed, Oct 21, 2015 at 05:59:59PM -0700, Hugh Dickins wrote: > > > > On

Re: kernel oops on mmotm-2015-10-15-15-20

2015-10-28 Thread Kirill A. Shutemov
On Thu, Oct 22, 2015 at 06:00:51PM +0900, Minchan Kim wrote: > On Thu, Oct 22, 2015 at 10:21:36AM +0900, Minchan Kim wrote: > > Hello Hugh, > > > > On Wed, Oct 21, 2015 at 05:59:59PM -0700, Hugh Dickins wrote: > > > On Thu, 22 Oct 2015, Minchan Kim wrote: > > > > > > > > I added the code to check

Re: kernel oops on mmotm-2015-10-15-15-20

2015-10-22 Thread Hugh Dickins
On Wed, 21 Oct 2015, Hugh Dickins wrote: > On Wed, 21 Oct 2015, Hugh Dickins wrote: > > On Thu, 22 Oct 2015, Minchan Kim wrote: > > > Hello Hugh, > > > > > > On Wed, Oct 21, 2015 at 05:59:59PM -0700, Hugh Dickins wrote: > > > > On Thu, 22 Oct 2015, Minchan Kim wrote: > > > > > > > > > > I added t

Re: kernel oops on mmotm-2015-10-15-15-20

2015-10-22 Thread Minchan Kim
On Thu, Oct 22, 2015 at 10:21:36AM +0900, Minchan Kim wrote: > Hello Hugh, > > On Wed, Oct 21, 2015 at 05:59:59PM -0700, Hugh Dickins wrote: > > On Thu, 22 Oct 2015, Minchan Kim wrote: > > > > > > I added the code to check it and queued it again but I had another oops > > > in this time but sympt

Re: kernel oops on mmotm-2015-10-15-15-20

2015-10-21 Thread Hugh Dickins
On Wed, 21 Oct 2015, Hugh Dickins wrote: > On Thu, 22 Oct 2015, Minchan Kim wrote: > > Hello Hugh, > > > > On Wed, Oct 21, 2015 at 05:59:59PM -0700, Hugh Dickins wrote: > > > On Thu, 22 Oct 2015, Minchan Kim wrote: > > > > > > > > I added the code to check it and queued it again but I had another

Re: kernel oops on mmotm-2015-10-15-15-20

2015-10-21 Thread Hugh Dickins
On Thu, 22 Oct 2015, Minchan Kim wrote: > Hello Hugh, > > On Wed, Oct 21, 2015 at 05:59:59PM -0700, Hugh Dickins wrote: > > On Thu, 22 Oct 2015, Minchan Kim wrote: > > > > > > I added the code to check it and queued it again but I had another oops > > > in this time but symptom is related to anon

Re: kernel oops on mmotm-2015-10-15-15-20

2015-10-21 Thread Minchan Kim
Hello Hugh, On Wed, Oct 21, 2015 at 05:59:59PM -0700, Hugh Dickins wrote: > On Thu, 22 Oct 2015, Minchan Kim wrote: > > > > I added the code to check it and queued it again but I had another oops > > in this time but symptom is related to anon_vma, too. > > (kernel is based on recent mmotm + unco

Re: kernel oops on mmotm-2015-10-15-15-20

2015-10-21 Thread Hugh Dickins
On Thu, 22 Oct 2015, Minchan Kim wrote: > > I added the code to check it and queued it again but I had another oops > in this time but symptom is related to anon_vma, too. > (kernel is based on recent mmotm + unconditional mkdirty for bug fix) > It seems page_get_anon_vma returns NULL since the pa

Re: kernel oops on mmotm-2015-10-15-15-20

2015-10-21 Thread Minchan Kim
On Wed, Oct 21, 2015 at 02:07:23PM +0300, Kirill A. Shutemov wrote: > On Wed, Oct 21, 2015 at 02:28:36PM +0900, Minchan Kim wrote: > > I detach this report from my patchset thread because I see below > > problem with removing MADV_FREE related code and I can reproduce > > same oops with MADV_FREE +

Re: kernel oops on mmotm-2015-10-15-15-20

2015-10-21 Thread Kirill A. Shutemov
On Wed, Oct 21, 2015 at 02:28:36PM +0900, Minchan Kim wrote: > I detach this report from my patchset thread because I see below > problem with removing MADV_FREE related code and I can reproduce > same oops with MADV_FREE + recent patches(both my SetPageDirty > and Kirill's pte_mkdirty) within 7 ho

kernel oops on mmotm-2015-10-15-15-20

2015-10-20 Thread Minchan Kim
I detach this report from my patchset thread because I see below problem with removing MADV_FREE related code and I can reproduce same oops with MADV_FREE + recent patches(both my SetPageDirty and Kirill's pte_mkdirty) within 7 hours. I can not be sure it's THP refcount redesign's problem but it w