Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1475640pxk; Fri, 4 Sep 2020 10:13:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1ughaZK3Foh2ld7BU4m+NJo52zU+LnWd8mFV3tFiEH7ULyOZLffB7HPiQPme7BrYbrIQp X-Received: by 2002:a17:906:f90c:: with SMTP id lc12mr8285067ejb.104.1599239589028; Fri, 04 Sep 2020 10:13:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599239589; cv=none; d=google.com; s=arc-20160816; b=Y3WlimZCeymtUFM/Gq+nHuJd82DZTPbRBZvDanMj0a+uGLvJep5SLBnqdbrH4BUQmu +opgO8YTxwMbmLDgPwF1NfMY4VsxN4dgK7L2+nvahNVBvGVNclUwFS/EY6ZZtrIc96AK uVnOlzLsL0pxYs1wvGNJwXjk4eW+ceL6nVAnB8TU4k8BUzLagh+MjYiJe+dm2S7tE3kw F202d/GZFQ1wHiITGMF8Qf/loE9hC9INkhhnfIQYU0KmM6X5ykkvx5ae0xBoADuR4ok5 pQ51Pd1DTDbAEoCwYL2xVSc4CeO03ec7APe/Woq5/cujChd5lxU4c0OuHDBbJ10ijHUD WK8Q== 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=LwSOZ3VxHk2DxOprDUCFltuLBh+Nnc13XxZ9vhv/VSM=; b=yP86vLpCmruYup/hxTcx2HhjcWtVA+SQwaNYKfAeTvWJYJLssBwjjUkgUHCHXDR9dA icxtNijKI/VBnMhZ26O7n9cmve/l7gAfvkXcMW9yLSmRmF7q1KEiN5QcH7c5BYsvexLN q/oZi3Js+ucT8ykpG9sAoUSyUPRtQFMVgnmG0t3FhNoVKztGZClCGIYwjFAuiM5xdjn8 UkRMyxJciWw5pJHI46sk8StgFu7KE8802mHB+yefS9rdi2YArg2AvaSv7KDkeyUw9WLS vaEyODWCEsK009qIStDknXKQz8kwpAgIWK4cCHDZNDZFQAt7qouF3GzfySYaHNWYLnE8 wSHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Ai5VYeCU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v6si4110621edt.456.2020.09.04.10.12.44; Fri, 04 Sep 2020 10:13:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Ai5VYeCU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726406AbgIDRL2 (ORCPT + 99 others); Fri, 4 Sep 2020 13:11:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726127AbgIDRL2 (ORCPT ); Fri, 4 Sep 2020 13:11:28 -0400 Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADAC8C061244 for ; Fri, 4 Sep 2020 10:11:27 -0700 (PDT) Received: by mail-lj1-x244.google.com with SMTP id e11so8843614ljn.6 for ; Fri, 04 Sep 2020 10:11:27 -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=LwSOZ3VxHk2DxOprDUCFltuLBh+Nnc13XxZ9vhv/VSM=; b=Ai5VYeCU8N0HEbW+IM5blqtlPgBAdGE7a3XFUEbRHQk5rk29NE1Y6tMiu2T/EMq17a oE42EL494zdqelcOJfkWDvC8gduDspSWRXtrBLodjT6PNtuIMZdw4lEZsKoERdT4+qfQ DzOZXMaeU+RmNmSqU9sHI/NrjQBcHXnvyzI6I= 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=LwSOZ3VxHk2DxOprDUCFltuLBh+Nnc13XxZ9vhv/VSM=; b=Qb4v7A+8KoO7g0+GkGfw67IhLOzkWbZgXvrJRlf4V6Zg8lIZCi/ZGbS9NE/NoTrqso gKSjz66vklt0llCGP6YQ3wLUgjnl39Dr99O2vmQXgglHu2ZvEcEgsAg2TvUfQzLA05LQ AdCjGbrF+GdbHlASjnqCMO1cQ6BNiCFR0CoaruHgKD1xVSFfNm0ePL/9qIJfk0dzRiam 8fK9KfHX4R2YkMA0PxwZa1ucDQgZUDLOnh8dXts43YQwfew+XCzwKybvmI4z2ZWf538B JVQR3dF701rkjJ94SkIGgI7RU3PztycbYZyoVTSmKTN94zFOoW/ITuQCVTVtuUB5M6ZT npdw== X-Gm-Message-State: AOAM531NEBuDTxwwGwfkiXHitBbjBaSxSz9zRwn++A+3sh/i5hRLTFiI DfyplHEsY5MqHNdo3DaYVr+/3fwNiybv2g== X-Received: by 2002:a05:651c:503:: with SMTP id o3mr4691383ljp.312.1599239485901; Fri, 04 Sep 2020 10:11:25 -0700 (PDT) Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com. [209.85.167.43]) by smtp.gmail.com with ESMTPSA id s4sm1360943lja.124.2020.09.04.10.11.22 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Sep 2020 10:11:22 -0700 (PDT) Received: by mail-lf1-f43.google.com with SMTP id y11so4249396lfl.5 for ; Fri, 04 Sep 2020 10:11:22 -0700 (PDT) X-Received: by 2002:a05:6512:50c:: with SMTP id o12mr4298936lfb.192.1599239481877; Fri, 04 Sep 2020 10:11:21 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Linus Torvalds Date: Fri, 4 Sep 2020 10:11:06 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: a crash when running strace from persistent memory To: Mikulas Patocka Cc: Peter Xu , Jann Horn , Christoph Hellwig , Oleg Nesterov , Kirill Shutemov , Jan Kara , Andrea Arcangeli , Matthew Wilcox , Andrew Morton , Dan Williams , Linux-MM , Linux Kernel Mailing List , linux-nvdimm 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 Fri, Sep 4, 2020 at 1:08 AM Mikulas Patocka wrote: > > I applied these four patches and strace works well. There is no longer any > warning or crash. Ok. I obviously approve of that series whole-heartedly, but I still didn't want to apply it this way (and with this kind of "mid-rc" timing). I was hoping to just leave it for the next merge window, but there are now two independent problems that that forced COW patch of mine caused, and a plain revert isn't acceptable either, so I've just applied that series to my tree despite the garbage timing. Maybe I'm just making excuses and rationalizing because I wanted that series anyway, and patches that remove lines in core code make me happy, but I don't see other great alternatives. Linus