[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20131120130626.715B7E0090@blue.fi.intel.com>
Date: Wed, 20 Nov 2013 15:06:26 +0200 (EET)
From: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
To: Andrey Wagin <avagin@...il.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
LKML <linux-kernel@...r.kernel.org>, linux-mm@...ck.org,
linux-arch@...r.kernel.org
Subject: Re: [PATCH 34/34] mm: dynamically allocate page->ptl if it cannot be
embedded to struct page
Andrey Wagin wrote:
> 2013/11/20 Kirill A. Shutemov <kirill.shutemov@...ux.intel.com>:
> > Andrey Wagin wrote:
> >> Hi Kirill,
> >>
> >> Looks like this patch adds memory leaks.
> >> [ 116.188310] kmemleak: 15672 new suspected memory leaks (see
> >> /sys/kernel/debug/kmemleak)
> >> unreferenced object 0xffff8800da45a350 (size 96):
> >> comm "dracut-initqueu", pid 93, jiffies 4294671391 (age 362.277s)
> >> hex dump (first 32 bytes):
> >> 07 00 07 00 ad 4e ad de ff ff ff ff 6b 6b 6b 6b .....N......kkkk
> >> ff ff ff ff ff ff ff ff 80 24 b4 82 ff ff ff ff .........$......
> >> backtrace:
> >> [<ffffffff817152fe>] kmemleak_alloc+0x5e/0xc0
> >> [<ffffffff811c34f3>] kmem_cache_alloc_trace+0x113/0x290
> >> [<ffffffff811920f7>] __ptlock_alloc+0x27/0x50
> >> [<ffffffff81192849>] __pmd_alloc+0x59/0x170
> >> [<ffffffff81195ffa>] copy_page_range+0x38a/0x3e0
> >> [<ffffffff8105a013>] dup_mm+0x313/0x540
> >> [<ffffffff8105b9da>] copy_process+0x161a/0x1880
> >> [<ffffffff8105c01b>] do_fork+0x8b/0x360
> >> [<ffffffff8105c306>] SyS_clone+0x16/0x20
> >> [<ffffffff81727b79>] stub_clone+0x69/0x90
> >> [<ffffffffffffffff>] 0xffffffffffffffff
> >>
> >> It's quite serious, because my test host went to panic in a few hours.
> >
> > Sorry for that.
> >
> > Could you test patch below.
>
> Yes, it works.
>
> I found this too a few minutes ago:)
Nice
Tested-by ?
--
Kirill A. Shutemov
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists