RE: [PATCH bpf-next v2] bpf: Lift hashtab key_size limit

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

 



Florian Lehner wrote:
> Currently key_size of hashtab is limited to MAX_BPF_STACK.
> As the key of hashtab can also be a value from a per cpu map it can be
> larger than MAX_BPF_STACK.
> 
> Changelog:
> 
> v2:
>  -  Add a test for bpf side
> 
> Signed-off-by: Florian Lehner <dev@xxxxxxxxxxx>
> ---

I think this is OK, but just curious is there a real use-case
that has keys bigger than stack size or is this just an
in-theory observation.

Thanks,
John



[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