Re: [PATCH v1] btf_encoder: Handle DW_TAG_variable that has DW_AT_specification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 1, 2020 at 1:57 PM Hao Luo <haoluo@xxxxxxxxxx> wrote:
>
> Arnaldo, thanks for the update. In that case, I think on the kernel
> side I need to skip encoding percpu vars for this pahole release, and
> re-enable for the next pahole release. (assuming the flag for opt-out
> is in this release). Alexei, do you have any better idea?

I'm not following. Let's get this fix landed in pahole and
release new 1.18 with it.
The opt-out flag is orthogonal. I can be done in 1.19 or whenever.
With your kernel patches the kernel will reject percpu vars when pahole
is too old, because they will not be found in vmlinux btf,
so I don't see any compatibility issues.
There is no need to bump the required min version of pahole in
scripts/link-vmlinux.sh.
It can stay as v1.16. We only need clean verifier message that percpu BTF
is not found and the kernel needs to be rebuilt with pahole 1.18.



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux