lkml.org 
[lkml]   [2013]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 34/34] mm: dynamically allocate page->ptl if it cannot be embedded to struct page
Date
Andrey Wagin wrote:
> 2013/11/20 Kirill A. Shutemov <kirill.shutemov@linux.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


\
 
 \ /
  Last update: 2013-11-20 14:41    [W:0.069 / U:0.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site