Re: [PATCH bpf-next v4 1/3] devmap/cpumap: Use flush list instead of bitmap

2019-06-13 Thread Andrii Nakryiko
On Thu, Jun 13, 2019 at 8:32 AM Toke Høiland-Jørgensen wrote: > > From: Toke Høiland-Jørgensen > > The socket map uses a linked list instead of a bitmap to keep track of > which entries to flush. Do the same for devmap and cpumap, as this means we > don't have to care about the map index when enq

[PATCH bpf-next v4 1/3] devmap/cpumap: Use flush list instead of bitmap

2019-06-13 Thread Toke Høiland-Jørgensen
From: Toke Høiland-Jørgensen The socket map uses a linked list instead of a bitmap to keep track of which entries to flush. Do the same for devmap and cpumap, as this means we don't have to care about the map index when enqueueing things into the map (and so we can cache the map lookup). Signed-