Re: [PATCH] mm/percpu.c: use smarter memory allocation for struct pcpu_alloc_info

From: Tejun Heo
Date: Tue Oct 03 2017 - 18:36:51 EST


On Tue, Oct 03, 2017 at 06:29:49PM -0400, Nicolas Pitre wrote:
> I'm not sure i understand that code fully, but maybe the following patch
> could be a better fit:
> ----- >8
> Subject: [PATCH] percpu: don't forget to free the temporary struct pcpu_alloc_info

So, IIRC, the error path is either boot fail or some serious bug in
arch code. It really doesn't matter whether we free a page or not.