Re: [PATCH -next 3/5] mm/kmemleak: Add support for percpu memory leak detect

2020-09-28 Thread chenjun (AM)
Hi Catalin Thanks for your opinions. 在 2020/9/22 17:58, Catalin Marinas 写道: > On Mon, Sep 21, 2020 at 02:00:05AM +, Chen Jun wrote: >> From: Wei Yongjun >> >> Currently the reporting of the percpu chunks leaking problem >> are not supported. This patch introduces this function. >> >> Since _

Re: [PATCH -next 3/5] mm/kmemleak: Add support for percpu memory leak detect

2020-09-28 Thread Catalin Marinas
On Mon, Sep 28, 2020 at 02:08:29PM +, chenjun (AM) wrote: > On Mon, Sep 21, 2020 at 02:00:05AM +, Chen Jun wrote: > > From: Wei Yongjun > >> @@ -651,6 +672,19 @@ static void create_object(unsigned long ptr, size_t > >> size, int min_count, > >>raw_spin_unlock_irqrestore(&kmemleak_lock

Re: [PATCH -next 3/5] mm/kmemleak: Add support for percpu memory leak detect

2020-09-22 Thread Catalin Marinas
On Mon, Sep 21, 2020 at 02:00:05AM +, Chen Jun wrote: > From: Wei Yongjun > > Currently the reporting of the percpu chunks leaking problem > are not supported. This patch introduces this function. > > Since __percpu pointer is not pointing directly to the actual chunks, > this patch creates