Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9982018ybi; Wed, 10 Jul 2019 21:11:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqx8lyc/rJxtKu8kHPcJIYUqrB5NEB60aJ3B0O/S+UfUJuULxxwarZyTgxZfOa61eTlZxr4D X-Received: by 2002:a63:4442:: with SMTP id t2mr2025976pgk.327.1562818274729; Wed, 10 Jul 2019 21:11:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562818274; cv=none; d=google.com; s=arc-20160816; b=DIUqLQXHycihfPPTAByd2Vtoyau7REOPmh7rOpGHr0Ylu45YzWp0nZ7ejdWupoyqr3 qEjSBNdPGJnusaDgCY12tByjjy6yDlnItgpRrgeWbIPNWS+EUEbCb4sjUAwboI8fpipZ iol50UyV+s0ANPBxq0aiMGG2l+TWO/uczT1cTS/zJ210NZKjVAQqqvYFczUVNabqEhzT dxKgoqGkLroeczocgRoxuHrbQS3BbsKTNPO+xTp4SA1RsmBYAVxQclMnIet7saY/235k jJC8qMiFHHrP64h2pMOQz9Z3OMsYg3zq3TdLnI4YYgVF3CpeiFXO26gOE0vvjloslygd 5TzA== 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=ivXca3Gb9/zTO7q/9/U54gRp2T9PacTOB52zjf3jsNU=; b=IKiFTGf9X76yePuU7+l68o+fAHn+oP0KlpMNqegZIpBeNS8YjYOZe5OkAV+SeliTiq swKVXuxCcFmXZTPADRz+pmTD8fPMA1iSqZQePimrHg8e6kLteEferaDdd5jal7EoQu46 iDFJ7mA8b2P/HOdwLgHfNneNKCCCObFM6426V8IkVQxFzpQpG74wLm4SLHiURTwxgQ5x jjhAPUCGoTDZPrhVcpVmMqxoljzK1OzoB1QbUIqtCjXa2JCxerA0zJc7LveJjMkTw3pR D0+VFVaATYhjM38LYVmyLXRL6/WQrj4Q4ikH3SxHoTM/+R+mhPunYoaaqLiqs9PaQ2xD yq6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=QLvdrDmJ; 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 z197si4066674pgz.267.2019.07.10.21.10.58; Wed, 10 Jul 2019 21:11:14 -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=@linux-foundation.org header.s=google header.b=QLvdrDmJ; 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 S1726299AbfGKEFl (ORCPT + 99 others); Thu, 11 Jul 2019 00:05:41 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:41528 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725963AbfGKEFl (ORCPT ); Thu, 11 Jul 2019 00:05:41 -0400 Received: by mail-lj1-f194.google.com with SMTP id d24so4258557ljg.8 for ; Wed, 10 Jul 2019 21:05:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ivXca3Gb9/zTO7q/9/U54gRp2T9PacTOB52zjf3jsNU=; b=QLvdrDmJy3ZnMYBqiUOQ3BhTTrN7ku0cSrkdkkyoW1TO4NyodhO+MOUpoEtGsMQFOw oKgwUM3SU4gNU5tsUh74VCcm6nshUHvwe6/fzGRqKIxp01OGKbZAlDQ2dJYQHwhsGbgz glw/52VxxTHQHAST+uSKatrkUycbT8iSDlovw= 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=ivXca3Gb9/zTO7q/9/U54gRp2T9PacTOB52zjf3jsNU=; b=oZIGffa1CuRJSx1Aj2fzy4gFuEFlGnTPPaBeM/+TSI0rBAQREqWmRJdUH2bTNRvwd6 xns58ZZ1PEoWvKg+2PrvpjTjNCphONLHYhhlS903BwEqLIFdOk7W+gHdtVYfoMKtxSQj zqGfyCQXxdaHHUkkPmjDYxk9qtpmI2jpLsMMy2JyeiTMvY7Cu14//1rsg/MEjnh+fM5X oVP1mTN/FtfFJbTHYkkhrZaLDMnot9Ara0pe2TyVGNu7O77n+rcePk/RUyYGyQDvQurn ywIFIv/CK2dRcj5rKITlK2aalqGw6snw/G8n9/ncfmxSlNdSvy5MJO2PFPVc5mNwxWig 2STA== X-Gm-Message-State: APjAAAWP1PLdA/gjo6zxzBiUdJ5jGL6wubTtgbYcjOlY3CgjANjdQVfI T5QQHl0zfLx7EZQYNYOcSZgmHL7g4fM= X-Received: by 2002:a05:651c:95:: with SMTP id 21mr1005776ljq.128.1562817939065; Wed, 10 Jul 2019 21:05:39 -0700 (PDT) Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com. [209.85.167.50]) by smtp.gmail.com with ESMTPSA id v2sm583766lfi.3.2019.07.10.21.05.37 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Wed, 10 Jul 2019 21:05:38 -0700 (PDT) Received: by mail-lf1-f50.google.com with SMTP id r15so3027155lfm.11 for ; Wed, 10 Jul 2019 21:05:37 -0700 (PDT) X-Received: by 2002:ac2:59c9:: with SMTP id x9mr563513lfn.52.1562817937331; Wed, 10 Jul 2019 21:05:37 -0700 (PDT) MIME-Version: 1.0 References: <20190709165725.GA2190@redhat.com> In-Reply-To: <20190709165725.GA2190@redhat.com> From: Linus Torvalds Date: Wed, 10 Jul 2019 21:05:21 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] dlm updates for 5.3 To: David Teigland Cc: Linux List Kernel Mailing 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 Tue, Jul 9, 2019 at 9:57 AM David Teigland wrote: > > Apart from a couple trivial fixes, the more notable fix makes the dlm > continuing waiting for a user space result if a signal interrupts the > wait event. What? No. That's not sensible at all. 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. I'm not pulling this. Because the code looks completely and utterly wrong to me. Am I missing something? Feel free to educate me and re-submit. Linus