From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DED32C10F11 for ; Wed, 24 Apr 2019 21:52:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B106020811 for ; Wed, 24 Apr 2019 21:52:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731703AbfDXVw6 (ORCPT ); Wed, 24 Apr 2019 17:52:58 -0400 Received: from mx2.suse.de ([195.135.220.15]:55446 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730998AbfDXVw5 (ORCPT ); Wed, 24 Apr 2019 17:52:57 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id BB10DACCD; Wed, 24 Apr 2019 21:52:56 +0000 (UTC) Date: Wed, 24 Apr 2019 14:52:50 -0700 From: Davidlohr Bueso To: Eric Wong Cc: linux-kernel@vger.kernel.org, Omar Kilani Subject: Re: Strange issues with epoll since 5.0 Message-ID: <20190424215250.newi4ei4xkqnun4a@linux-r8p5> References: <20190424193903.swlfmfuo6cqnpkwa@dcvr> <20190424213415.7muqd4tkuxsgwigz@linux-r8p5> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20190424213415.7muqd4tkuxsgwigz@linux-r8p5> User-Agent: NeoMutt/20180323 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 24 Apr 2019, Davidlohr Bueso wrote: >On Wed, 24 Apr 2019, Eric Wong wrote: > >>Omar Kilani wrote: >>>Hi there, >>> >>>I???m still trying to piece together a reproducible test that triggers >>>this, but I wanted to post in case someone goes ???hmmm... change X >>>might have done this???. >> >>Maybe Davidlohr knows, since he's responsible for most of the >>epoll changes in 5.0. > >Not really, I have not been made aware of any issues until now. > >> >>>Basically, something???s broken (or at least, has changed enough to >>>cause problems in user space) in epoll since 5.0. It???s still broken in >>>5.1-rc5. >>> >>>It doesn???t happen 100% of the time. It???s sort of hard to pin down but >>>I???ve observed the following: >>> >>>* nginx not accepting connections under load >>>* A java app which uses netty / NIO having strange writability >>>semantics on channels, which confuses netty / java enough to not >>>properly flush written data on the socket. Off the top of my head, could the following be responsible? c5a282e9635 (fs/epoll: reduce the scope of wq lock in epoll_wait())