From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH V4 net 1/3] Revert "tuntap: add missing xdp flush" Date: Mon, 26 Feb 2018 13:50:04 -0500 (EST) Message-ID: <20180226.135004.744356947488629833.davem@davemloft.net> References: <1519443146-9089-1-git-send-email-jasowang@redhat.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, mst@redhat.com, sergei.shtylyov@cogentembedded.com, christoffer.dall@linaro.org, brouer@redhat.com To: jasowang@redhat.com Return-path: In-Reply-To: <1519443146-9089-1-git-send-email-jasowang@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Jason Wang Date: Sat, 24 Feb 2018 11:32:24 +0800 > This reverts commit 762c330d670e3d4b795cf7a8d761866fdd1eef49. The > reason is we try to batch packets for devmap which causes calling > xdp_do_flush() in the process context. Simply disabling preemption > may not work since process may move among processors which lead > xdp_do_flush() to miss some flushes on some processors. > > So simply revert the patch, a follow-up patch will add the xdp flush > correctly. > > Reported-by: Christoffer Dall > Fixes: 762c330d670e ("tuntap: add missing xdp flush") > Signed-off-by: Jason Wang Applied.