Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1628684yba; Thu, 25 Apr 2019 03:06:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqz4ytPGru6MVxR1t62WfYgTSP3zEK2mSZvu8H1NPFm47NSke8zvnv7YuHRGrfoxcQF3/Z0y X-Received: by 2002:a62:415d:: with SMTP id o90mr38834035pfa.236.1556186761047; Thu, 25 Apr 2019 03:06:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556186761; cv=none; d=google.com; s=arc-20160816; b=mBW+s9vroJetSeOg5zlU09a6zcaqSXAFAz/4IGlF1FHgKVm0AMTKGFpiMRUHnsyTIW nirnz3tNGPNu3OPKm6KYiWT48SOnvlxK4fcpJ5ilTHjyQKZD7xzGgIb2Ei0TvWU7NLrm Hz/JS1VRTr2Dfk8EiCwxlTrSw04fWmWyLjMGzuffwLJaT3JnwBMAZghZWLXU6tECDZqq RWYr+/6Dj//ck3bmQ346mqXi5S1K5dpP3tL9XZJsTvf7oSKIgyp4113hFiscY8REdZN9 KfPhet0PpK8NTslft6Wjs61gg9finWY6no0HI8CGt1JQq20EWqOPlv47cnH3KZEskP72 urEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=c7EQdLnRk+vzMeDYKtQ+zjLYG7gMbYQyWJoHiwOcvmc=; b=jOAQ+eIfEtssYy+xSHsO9mDUhd0tzD3Qz/40sT0cHABjEFTvHnJqF35vE4FMNLHseb h36clbXNz+FRDaQMHGLmC2dlPDeIGJ7khyF7jeV1g3RVn8WSdDgSqQ2SYalzEGWb2qQG jYjad77iWL+0MIauz32C12UU0X0zg9vY8rqVU02Lbhxgr/bTi2mTp6FreFTryVXZBzH5 6eoaEviLw0v+5GzgADkt14u/tqA+1vImRgrXyLPKHVnB4tHiMRRxjFFYuuRLOt86ENZ0 r0X34GS33eTC3Vqiw426gLC9hIqSaGYSER9zExc9hm+4jfwCW3vJwu7CRphshw5XlhAK BKCQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z8si20706412pgh.82.2019.04.25.03.05.44; Thu, 25 Apr 2019 03:06:01 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731552AbfDXVw6 (ORCPT + 99 others); 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())