2013/11/20 Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>: > Andrey Wagin wrote: >> 2013/11/20 Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>: >> > 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 ? Tested-by: Andrey Vagin <avagin@xxxxxxxxxx> > > -- > Kirill A. Shutemov -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>