Re: handle pool of elements in eBPF maps
Mauricio Vasquez
Hello Teng, (Adding the list as dropped in last message)On 02/28/2018 02:37 AM, Teng Qin wrote:
Unfortunately percpu would not work, the set of elements has to be shared across all cpus. We could think about using a synchronization primitive to avoid potential problems, however that synchronization should also be available from user space, because in our use case the eBPF programs are consumers while an application in userspace is the producer.
If there is consensus about this map, we could propose an implementation. /Mauricio.
|
|