Calling functions while holding a spinlock
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Calling functions while holding a spinlock
- From: Barret Rhoden <brho@xxxxxxxxxx>
- Date: Wed, 14 Jun 2023 16:32:12 -0400
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.10.0
Hi -
Would it be possible to add logic to the verifier to handle calling
functions within my program (subprograms?) while holding a bpf_spin_lock?
Some of my functions are large enough that the compiler won't inline
them, so I'll get a BPF_CALL to PC + offset (relative call within my
program). Whenever this pops up, I force the compiler to inline the
function, but that's brittle. I'd rather just have the ability to call
a function.
Thanks,
Barret
[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]