Re: [PATCH v3 bpf-next 0/2] Sleepable local storage

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

 



On Fri, Dec 24, 2021 at 03:29:14PM +0000, KP Singh wrote:
> Local storage is currently unusable in sleepable helpers. One of the
> important use cases of local_storage is to attach security (or
> performance) contextual information to kernel objects in LSM / tracing
> programs to be used later in the life-cyle of the object.
> 
> Sometimes this context can only be gathered from sleepable programs
> (because it needs accesing __user pointers or helpers like
> bpf_ima_inode_hash). Allowing local storage to be used from sleepable
> programs allows such context to be managed with the benefits of
> local_storage.
> 
> # v2 -> v3
> 
> * Fixed some RCU issues pointed by Martin
> * Added Martin's ack

Applied, Thanks



[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