Re: [PATCH V3] mm: prevent page_frag_alloc() from corrupting the memory

From: Maurizio Lombardi
Date: Mon Jul 18 2022 - 09:47:26 EST


po 18. 7. 2022 v 13:17 odesílatel Chen Lin <chen45464546@xxxxxxx> napsal:
>
> Will this lead to memory leak when device driver miss use this interface muti-times?

No, I tested it and pagecnt_bias and the page refcnt are always consistent.

Maurizio