RE: [PATCH] mm/page_alloc: Work around a pahole limitation with zero-sized struct pagesets
From: David Laight
Date: Fri May 28 2021 - 04:09:47 EST
From: Andrii Nakryiko
> Sent: 27 May 2021 15:42
...
> I agree that empty structs are useful, but here we are talking about
> per-CPU variables only, which is the first use case so far, as far as
> I can see. If we had pahole 1.22 released and widely packaged it could
> have been a viable option to force it on everyone.
...
Would it be feasible to put the sources for pahole into the
kernel repository and build it at the same time as objtool?
That would remove any issues about the latest version
not being available.
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)