Re: [PATCH RFC bpf-next v1 18/32] bpf: Support bpf_spin_lock in local kptrs

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

 



On Sun, Sep 04, 2022 at 10:41:31PM +0200, Kumar Kartikeya Dwivedi wrote:
> diff --git a/include/linux/poison.h b/include/linux/poison.h
> index d62ef5a6b4e9..753e00b81acf 100644
> --- a/include/linux/poison.h
> +++ b/include/linux/poison.h
> @@ -81,4 +81,7 @@
>  /********** net/core/page_pool.c **********/
>  #define PP_SIGNATURE		(0x40 + POISON_POINTER_DELTA)
>  
> +/********** kernel/bpf/helpers.c **********/
> +#define BPF_PTR_POISON		((void *)((0xeB9FUL << 2) + POISON_POINTER_DELTA))
> +

That was part of Dave's patch set as well.
Please keep his SOB and authorship and keep it as separate patch.



[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