Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935065AbeAIS6h (ORCPT + 1 other); Tue, 9 Jan 2018 13:58:37 -0500 Received: from mail-io0-f182.google.com ([209.85.223.182]:41307 "EHLO mail-io0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932310AbeAIS6c (ORCPT ); Tue, 9 Jan 2018 13:58:32 -0500 X-Google-Smtp-Source: ACJfBosIJ3O3yHNzRWN8EXlWqxGi3QA/VlilZ8F0tPzdcl0duS2xC1JsisDGicf17YREeuYhu8MMSFFDMUufs6Tc3VY= MIME-Version: 1.0 In-Reply-To: References: <20180107090336.03826df2@vento.lan> <20180108074324.3c153189@vento.lan> <20180108223109.66c91554@redhat.com> <20180108214427.GT29822@worktop.programming.kicks-ass.net> <20180108231656.3bbd1968@redhat.com> From: Linus Torvalds Date: Tue, 9 Jan 2018 10:58:30 -0800 X-Google-Sender-Auth: 3nwyowmX42nml38ztdyO7VMF65c Message-ID: Subject: Re: Re: dvb usb issues since kernel 4.9 To: Eric Dumazet Cc: Josef Griebichler , Jesper Dangaard Brouer , Peter Zijlstra , Mauro Carvalho Chehab , Alan Stern , Greg Kroah-Hartman , USB list , Rik van Riel , Paolo Abeni , Hannes Frederic Sowa , linux-kernel , netdev , Jonathan Corbet , LMML , David Miller Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Tue, Jan 9, 2018 at 9:57 AM, Eric Dumazet wrote: > > Your patch considers TASKLET_SOFTIRQ being a candidate for 'immediate > handling', but TCP Small queues heavily use TASKLET, > so as far as I am concerned a revert would have the same effect. Does it actually? TCP ends up dropping packets outside of the window etc, so flooding a machine with TCP packets and causing some further processing up the stack sounds very different from the basic packet flooding thing that happens with NET_RX_SOFTIRQ. Also, honestly, the kinds of people who really worry about flooding tend to have packet filtering in the receive path etc. So I really think "you can use up 90% of CPU time with a UDP packet flood from the same network" is very very very different - and honestly not at all as important - as "you want to be able to use a USB DVB receiver and watch/record TV". Because that whole "UDP packet flood from the same network" really is something you _fundamentally_ have other mitigations for. I bet that whole commit was introduced because of a benchmark test, rather than real life. No? In contrast, now people are complaining about real loads not working. Linus