[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170330133712.GA23946@amd>
Date: Thu, 30 Mar 2017 15:37:12 +0200
From: Pavel Machek <pavel@....cz>
To: Andrey Ryabinin <aryabinin@...tuozzo.com>
Cc: Maninder Singh <maninder1.s@...sung.com>, jeyu@...hat.com,
rusty@...tcorp.com.au, akpm@...ux-foundation.org,
chris@...is-wilson.co.uk, joonas.lahtinen@...ux.intel.com,
mhocko@...e.com, keescook@...omium.org, jinb.park7@...il.com,
anisse@...ier.eu, rafael.j.wysocki@...el.com, zijun_hu@....com,
mingo@...nel.org, mawilcox@...rosoft.com, thgarnie@...gle.com,
joelaf@...gle.com, kirill.shutemov@...ux.intel.com,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
pankaj.m@...sung.com, ajeet.y@...sung.com,
hakbong5.lee@...sung.com, a.sahrawat@...sung.com,
lalit.mohan@...sung.com, cpgs@...sung.com,
Vaneet Narang <v.narang@...sung.com>
Subject: Re: [PATCH v2] module: check if memory leak by module.
> 3) This might produce false positives. E.g. module may defer vfree() in workqueue, so the
> actual vfree() call happens after module unloaded.
Umm. Really?
I agree that module may alloc memory and pass it to someone else. Ok
so far.
But if module code executes after module is unloaded -- that is use
after free -- right?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)
Powered by blists - more mailing lists