This group is locked. No changes can be made to the group while it is locked.
Re: question about per_cpu maps
On 11/28/18 1:50 PM, Pablo Alvarez via Lists.Iovisor.Org wrote:
Dear eBPF communityeBPF programs are never preempted by the kernel, this allows to keep counters in per_cpu maps without need to use synchronized primitives on them.
This is also guaranteed that there is not preemption in a chain of tail calls, then per_cpu maps can also be used to store "global variables".
If this is the case, it seems that the following scenario could arise: