Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10575739ybi; Thu, 11 Jul 2019 07:31:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqw10lhkkNxv+eweB1mxWs8RiAqFlfgyDkpksYHDHtKc746ds3ZysCN9zQtem5tdlgv3DvIN X-Received: by 2002:a17:902:7088:: with SMTP id z8mr5092250plk.125.1562855499616; Thu, 11 Jul 2019 07:31:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562855499; cv=none; d=google.com; s=arc-20160816; b=l6ROMxx6WPsZ1EeLZ029+sFck9V/oqlVS5O4xchUOxoVY+x/V5hrzrdU1HHRo3A8rc 45DfIin9dEawKLkgoEHewtm5t3D8Dm/10oYCtGNCFDoEHPbGopb8/VvVX0du38Iwe0Or 1EQRGP26+icnstKsoWyV3DkPUUwIFBa/PEMhvIxZ/mjJ67Xgs13sO2GyFdKq+5AWbLdY PkwkDuYOXjB98SEWBCHnjd1tHvZ3E7LjD5u9xawQ4eu5nicicNSwLJylShy9QVM42hyF 7ZLSZiOAXhJ4zEcCmbiO2ej6u8+24iakaqqKxSl8MTgWqcVdBxfuj4DZczsL21gseQR1 eTzQ== 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=ff3vZhZEumuE5U0DkfF22PkwihoTGlKGFna8MYJka9E=; b=l6wOZe6k8PigAU5JClMLObAA0E7LRpf8iJDeYQC1ZB7M1Xv/m7gojVBSzPrt3uBq2n uVrwmI1HFaBXv09eTyeCX3fgK9zF97CQ8P5KzPvlZIAZuKEyzzkH7F86D60BeOTP9WHO 0U/6Ggh8RgbOGSGKsja0blEO/fqR9FBPEUZYX+OWn2nTw05cCL2EkTKk6jJMzIVrV0IC dF25+bR970Mh9xNYdbfFuZ8835O5nOubjsU92RtdWeThIhx3eFh8iyRlUnqiIWCUBiq4 S+pJb++m1LGzIc0gV2WlhFCpAgVOglmghw4OKvVNOPwOmQShf05YrVKSvHT5l3BNh2zr 4PFw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x3si5090399pgr.22.2019.07.11.07.31.23; Thu, 11 Jul 2019 07:31:39 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729116AbfGKOaQ (ORCPT + 99 others); Thu, 11 Jul 2019 10:30:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50018 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729086AbfGKOaP (ORCPT ); Thu, 11 Jul 2019 10:30:15 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B942C3001822; Thu, 11 Jul 2019 14:30:15 +0000 (UTC) Received: from redhat.com (null.msp.redhat.com [10.15.80.136]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6AAB85D756; Thu, 11 Jul 2019 14:30:15 +0000 (UTC) Date: Thu, 11 Jul 2019 09:30:13 -0500 From: David Teigland To: Linus Torvalds Cc: Linux List Kernel Mailing Subject: Re: [GIT PULL] dlm updates for 5.3 Message-ID: <20190711143013.GA29395@redhat.com> References: <20190709165725.GA2190@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.3 (2017-05-23) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Thu, 11 Jul 2019 14:30:15 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 10, 2019 at 09:05:21PM -0700, Linus Torvalds wrote: > If wait_event_interruptible() returns -ERESTARTSYS, it means that we > have a signal pending. > > And if we have a signal pending, then you can't go back and call > wait_event_interruptible() in a loop, because the signal will > *continue* to be pending, so now your "wait event" becomes a kernel > busy loop. > > If you don't want to react to signals, then you shouldn't use the > "interruptible()" version of wait-event. Right, a simple wait_event looks obvious; I'll have the submitters test that before sending that next time around. I'll put together another pull with the two trivial commits. Thanks Dave