Re: [PATCH bpf-next v3 04/10] xsk: check need wakeup flag in sendmsg()

2020-11-24 Thread Magnus Karlsson
On Thu, Nov 19, 2020 at 9:33 AM Björn Töpel wrote: > > From: Björn Töpel > > Add a check for need wake up in sendmsg(), so that if a user calls > sendmsg() when no wakeup is needed, do not trigger a wakeup. > > To simplify the need wakeup check in the syscall, unconditionally > enable the need wa

[PATCH bpf-next v3 04/10] xsk: check need wakeup flag in sendmsg()

2020-11-19 Thread Björn Töpel
From: Björn Töpel Add a check for need wake up in sendmsg(), so that if a user calls sendmsg() when no wakeup is needed, do not trigger a wakeup. To simplify the need wakeup check in the syscall, unconditionally enable the need wakeup flag for Tx. This has a side-effect for poll(); If poll() is