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

2019-06-13 Thread Andrii Nakryiko
On Tue, Jun 11, 2019 at 9:42 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

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

2019-06-13 Thread Toke Høiland-Jørgensen
Andrii Nakryiko writes: > On Tue, Jun 11, 2019 at 9:42 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

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

2019-06-11 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-