Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1247979ybi; Fri, 21 Jun 2019 17:19:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqy9K1DOjvKkyUY90hIU6iF2iG7Vh3xkAwvRCp4HW8I6HTfV91rRbbL8j6bkQ1Fpl1mg/+7I X-Received: by 2002:a17:902:e65:: with SMTP id 92mr128181536plw.13.1561162790550; Fri, 21 Jun 2019 17:19:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561162790; cv=none; d=google.com; s=arc-20160816; b=LI078oqTxjGB2BQRxJgtghxwyfzbG1in2R6kF6w1rrDqsKF7caZJdhw/GE2ke5FnkC n2QUxLL4i+7JKGd2r8FQ58WzbqXGeLJRckNL/eQcJBp8xQ8gXJp8SVbDwL1HicW0fPIk jwPOCvcE31S0KIU4v4dDqJWXOjxwVYc1Y0SOjCgLtFlhvJXR1lb/JrjlTWWvRR3Pd0M4 yosNgfwMKL/k2mQKEqmYjbl/rpc2qmRLwlyzPXfq3MoFwLG6O5gxhBc1mVTxClA8bwjP WgkMUemcy7vFdwgMdsaD9Cvo7V9SdPzYEQpWdqqWZe5qyHyuG02J13a+8eP/UBqUoKCC oZ5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=w34v2JVJxopQHJuBlPs9SCtKuvVG0EhMCINJqC23axo=; b=YmDFzYZA1GJNIRxpTx4qOxeM9UNUXDOzyROYA19dA9dLqMjQmgSd1YSU3OwNWR4Qni pjn858nAQStS3fIpTOXR7sEY8euwIn2jCzz08DdM3TNBqlm27AHtzSCnRzk0FglCmSHW H+fcB8Uesdc+spLnf39s2g/iHYnHOi4GQrEBTVZg7nLlaJZk2H8XuR8h8Zpl45P+u2Aw t3tBcZGKIrRvEzIm79Cqd8CMZ/87S8x8gvQBYLDWrlCfmFwGame90vM8YRJctneqCoAT iUbGVEj8JkUnIPa7c+RN3FYHgZCNGRGQLX1w+7Q3CsrLcEFRrLZ7uWt+0+DdK05vn9zr TU3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Z6SMPQ8R; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n63si4452774pjb.36.2019.06.21.17.19.21; Fri, 21 Jun 2019 17:19:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Z6SMPQ8R; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726111AbfFVATT (ORCPT + 99 others); Fri, 21 Jun 2019 20:19:19 -0400 Received: from mail-yw1-f65.google.com ([209.85.161.65]:44825 "EHLO mail-yw1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726052AbfFVATS (ORCPT ); Fri, 21 Jun 2019 20:19:18 -0400 Received: by mail-yw1-f65.google.com with SMTP id l79so3433858ywe.11 for ; Fri, 21 Jun 2019 17:19:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=w34v2JVJxopQHJuBlPs9SCtKuvVG0EhMCINJqC23axo=; b=Z6SMPQ8RxkX6nPIpSrK4aF90fK7d9gpVD39j40VVwgv7iSXY2n/aX3JQaS7cPwwcaG +8wPDt4yP4N+k85a/2F22SN1cYAs7zKmsBy/6ybxbrZhbQonRTwmv9KxDl1vyIBhbspr D/UAEy8Ln/LbijPW6LEfHvxGh2ek7EkoMT+YmJICLLxU2rN5pKq4jsh8NByuX4v3FAfI rLc0eIBSypPINN9kA68P01gaqgQ+62db1YKl1US2/6gxzb2Px5LQbmNlYs/GhGKZ0JNM ZkMllbH2pSlrt0MVmTg0er3fmWvx6gjb3ELfizAlA9798NGF9MfvhdErb3QFrm9sqo/p f8mA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=w34v2JVJxopQHJuBlPs9SCtKuvVG0EhMCINJqC23axo=; b=FNymw1TdppKEZpO+yaODn1d+dz0lNifPFPVzHKVDO+WGhBvCBoRl7zAUOGoWgfhKlX RN9NJPkZ+tc/iPQQsBPpijX6GeVw0/bUo1PDXDv/BE6Dr6/0LUEiYo1+OY9elYcYC22c 8pCU9FeTBF09JX+fIUv762cdgaoVGKc+lqtkrZYsrGnl2n+DYbW/wdPQKjHRjpl6cs3p 6nREa5bjc//SaxQQjZROyqrZgm3jrzOZpENYAKg9znBqPqEporhntoml7MHL1BdeMPDo tGThuJuF+Iqu5i6K1vEN5eEQniLIpXKLcZ9jRcyFtDKJqiPYrRg89pHJx+zAtieu2bmh 4Gxw== X-Gm-Message-State: APjAAAXCK/nZO8iIJJFbUVym1Lb21QNIPjg1VtN4tu2zGrSbh1/U8Kic Nq1fv0ZmIhAbQFSQmZ3HyzoUprQHOp4cQe/QkcaYCQ== X-Received: by 2002:a81:6f84:: with SMTP id k126mr68080306ywc.496.1561162757421; Fri, 21 Jun 2019 17:19:17 -0700 (PDT) MIME-Version: 1.0 References: <20190621214139.GA31034@kroah.com> In-Reply-To: From: Eric Dumazet Date: Fri, 21 Jun 2019 20:19:04 -0400 Message-ID: Subject: Re: Steam is broken on new kernels To: Linus Torvalds Cc: Greg Kroah-Hartman , "Pierre-Loup A. Griffais" , lkml Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 21, 2019 at 7:54 PM Linus Torvalds wrote: > > Eric is talking about this patch, I think: > > https://patchwork.ozlabs.org/patch/1120222/ > That is correct. I am about to take a flight from Boston to Paris, so I can not really follow discussions/tests for the following hours. Thanks. > I guess I'll ask people on the github thread to test that too. > > Linus > > On Fri, Jun 21, 2019 at 3:38 PM Eric Dumazet wrote: > > > > Please look at my recent patch. > > Sorry I am travelling.... > > > > On Fri, Jun 21, 2019, 6:19 PM Linus Torvalds wrote: > >> > >> On Fri, Jun 21, 2019 at 2:41 PM Greg Kroah-Hartman > >> wrote: > >> > > >> > What specific commit caused the breakage? > >> > >> Both on reddit and on github there seems to be confusion about whether > >> it's a problem or not. Some people have it working with the exact same > >> kernel that breaks for others. > >> > >> And then some people seem to say it works intermittently for them, > >> which seems to indicate a timing issue. > >> > >> Looking at the SACK patches (assuming it's one of them), I'd suspect > >> the "tcp: tcp_fragment() should apply sane memory limits". > >> > >> Eric, that one does > >> > >> if (unlikely((sk->sk_wmem_queued >> 1) > sk->sk_sndbuf)) { > >> NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPWQUEUETOOBIG); > >> return -ENOMEM; > >> } > >> > >> but I think it's *normal* for "sk_wmem_queued >> 1" to be around the > >> same size as sk_sndbuf. So if there is some fragmentation, and we add > >> more skb's to it, that would seem to trigger fairly easily. > >> Particularly since this is all in "truesize" units, which can be a lot > >> bigger than the packets themselves. > >> > >> I don't know the code, so I may be out to lunch and barking up > >> completely the wrong tree, but that particular check does seem like it > >> might trigger much more easily than I think the code _intended_ it to > >> trigger? > >> > >> Pierre-Loup - do you guys have a test-case inside of valve? Or is this > >> purely "we see some people with problems"? > >> > >> Linus