Re: [PATCH bpf-next v4 02/24] bpf: Allow specifying volatile type modifier for kptrs

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

 



On Fri, Nov 04, 2022 at 12:39:51AM +0530, Kumar Kartikeya Dwivedi wrote:
> This is useful in particular to mark the pointer as volatile, so that
> compiler treats each load and store to the field as a volatile access.
> The alternative is having to define and use READ_ONCE and WRITE_ONCE in
> the BPF program.
> 
> Signed-off-by: Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx>

Acked-by: David Vernet <void@xxxxxxxxxxxxx>



[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