Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5645455yba; Tue, 30 Apr 2019 19:28:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqydHhCNb/hsCevjktxCUcX/+mKOzQpmB93yxBzdIwcK1IGAXidMCf8kYwWmRiohaNyeduaM X-Received: by 2002:a17:902:8349:: with SMTP id z9mr33552297pln.144.1556677689033; Tue, 30 Apr 2019 19:28:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556677689; cv=none; d=google.com; s=arc-20160816; b=c2lVJ1rd6CpC2bkfdDZNxsywgocyQOYh1gfFMIx8mjRt4O4o3CCcBx+zQ0deeM6Jlv EP2TtXV67/HlHr8m7lGMDyV5Xa9MHevQsqFNuyMxonkcHHTHuum8evZHPDeiKorZT/XY tzY7tk8+a5fjwca/hzcMhoStMpMBUcW/LTUmPZiguzV9RVRvsXHtTXmuSqQTp/b7zRgF GKuKLZbjm0GeC+KyqQpw1Pyac3jw+ROPVerz5LM9Nw/hqdABdnqvsQWbfYE2apNirgc8 KTRnnObMmwAsVPjhkhfHC/rWWYIVAY8JwJOKyXkw2M6Xw1NZtMwEAzP5YNjWnJQ01zNc JVAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=fFBBNr+wcFkut9h6TXsZ2XABZ2QjNxT8AfQmFQrEuuw=; b=Cz3nLxASqwpOnDzOVJOtvcXSMpbBkyAkex4n5/BL9HPF0BPryfWVAcWt+BkS2q602i WN+Bh89H2+9x7N7nqrk/YMSSPEw010JME4CDAZPwXMPZbRIryYo+EjJUiSmNGLzQf0C7 FVaTOzAGYCEJ6NUMymvJRdYmnmTAl/bRenUPEbC6Z2AGGiT6WFSxTnlgsjO42PIRrssA o4s1Oklcg2OVmukrjgaJ8vwlBno8on2c3KofMjz7NgMecXIKcqlrf+0KaytvCp8LC6tQ bnXcht2P7GYMCdB4qtqg8lhPIo0JKsZSO6V3PZv8qy9WAZqW6sj3bIrrTcxRgs9nDmFq NARQ== 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 h94si38768757plb.261.2019.04.30.19.27.53; Tue, 30 Apr 2019 19:28:09 -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 S1727664AbfEAC01 (ORCPT + 99 others); Tue, 30 Apr 2019 22:26:27 -0400 Received: from dcvr.yhbt.net ([64.71.152.64]:43284 "EHLO dcvr.yhbt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726220AbfEAC01 (ORCPT ); Tue, 30 Apr 2019 22:26:27 -0400 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id CE3681F453; Wed, 1 May 2019 02:26:26 +0000 (UTC) Date: Wed, 1 May 2019 02:26:26 +0000 From: Eric Wong To: Deepa Dinamani Cc: Davidlohr Bueso , Arnd Bergmann , Al Viro , Jason Baron , Linux Kernel Mailing List , Omar Kilani , Linux FS-devel Mailing List Subject: Re: Strange issues with epoll since 5.0 Message-ID: <20190501022626.pcw3hbrzccn3iutm@dcvr> References: <20190424193903.swlfmfuo6cqnpkwa@dcvr> <20190427093319.sgicqik2oqkez3wk@dcvr> <20190428004858.el3yk6hljloeoxza@dcvr> <20190429204754.hkz7z736tdk4ucum@linux-r8p5> <20190429210427.dmfemfft2t2gdwko@dcvr> <20190501021405.hfvd7ps623liu25i@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190501021405.hfvd7ps623liu25i@dcvr> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Eric Wong wrote: > Deepa Dinamani wrote: > > I'm not sure what the hang in the userspace is about. Is it because > > the syscall did not return an error or the particular signal was > > blocked etc. > > Uh, ok; that's less comforting. Nevermind, I think I understand everything, now. epoll_pwait never set errno without our patch. cmogstored does this in notify.c: /* wait_intr calls epoll_pwait: */ mfd = mog_idleq_wait_intr(mog_notify_queue, timeout); if (mfd) notify_queue_step(mfd); else if (errno == EINTR) /* EINTR fails to be noticed */ note_run();