Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1824374pxb; Fri, 27 Aug 2021 19:21:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPqKSlSBEnGt926iIS4Fd+KxtyN5m7aemBt2/6xgjKGVAYh2MZ1Eal4fh29ewoJJ2mdZCv X-Received: by 2002:aa7:c0c6:: with SMTP id j6mr13011202edp.146.1630117316641; Fri, 27 Aug 2021 19:21:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630117316; cv=none; d=google.com; s=arc-20160816; b=K4FzkMK6ZLgR3bbLL0JdB5TLvqIHFG9o0nHYB5FzvqBMFBlIy6vb5OxCu4vCDTNYXT rt7EwNzYQftSrtEKqX47EEjmvVrWFmVBwWOEdFikcX/wRWLw7booJ2OJ+F5QQ8EWtm/n a2ULQTXL02v3AsaY43z9Qo/V+L2inqb1mPQBTovldtEV0KqfKoJ+WehPdGX1kaD8Vn0a W7lnqvzEwZuFGIwGT7OEZvmQ9EyjuhCBedP77Ervw3KB9XSEXDt64wWC6oQuXo+v5q/H 8lWbc3xn+gfH/aiJqnWzJl3EYZdR/zlxnhQQKlwpBceVyAxewWyIgzigJygGBC9NWIft dy0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :dlp-version:dlp-reaction:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=oFtB93+OfVNU1vRaXKdt3oIfVl/FWwPXdOo9y6FJhXA=; b=gJ/W+nnJRvd2JASihWA5F9EGWUhIQHeEbx2s5Ar582uC/qwcjwi/vZPObdif4NGvi7 Ogx2ZHMuPWK0d+8r3zvoXAKIeZrdGHrH+yHn1xA9svBlxkFGy9hKQaUrhSBBrNAs31gS lRHn1pp6YRkdkxwKttHW83zgRlc6OkEdkh0OvHwqMM2qBCG8LdZTpwHoN1RE2h1+SUft /ZM7ILQa60IKd3Tz/gSbk03PZO56+yClSMQ30auDDWcGTcvYroWBVyvSMUHxsQZKD+Aw k891GEKOXCrC8KydMwgcUm3AtRowcNJebmQunzpHIjRTI3V0T2IPNbAzD9AYBPH/r2IM uhag== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lu2si7658270ejb.166.2021.08.27.19.21.31; Fri, 27 Aug 2021 19:21:56 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233117AbhH1CVB convert rfc822-to-8bit (ORCPT + 99 others); Fri, 27 Aug 2021 22:21:01 -0400 Received: from mga01.intel.com ([192.55.52.88]:18581 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233053AbhH1CU6 (ORCPT ); Fri, 27 Aug 2021 22:20:58 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10089"; a="240282552" X-IronPort-AV: E=Sophos;i="5.84,358,1620716400"; d="scan'208";a="240282552" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Aug 2021 19:20:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,358,1620716400"; d="scan'208";a="528533365" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by FMSMGA003.fm.intel.com with ESMTP; 27 Aug 2021 19:20:07 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Fri, 27 Aug 2021 19:20:06 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Fri, 27 Aug 2021 19:20:06 -0700 Received: from fmsmsx610.amr.corp.intel.com ([10.18.126.90]) by fmsmsx610.amr.corp.intel.com ([10.18.126.90]) with mapi id 15.01.2242.010; Fri, 27 Aug 2021 19:20:06 -0700 From: "Luck, Tony" To: "Luck, Tony" , Al Viro CC: Linus Torvalds , Andreas Gruenbacher , Christoph Hellwig , "Darrick J. Wong" , Jan Kara , Matthew Wilcox , cluster-devel , linux-fsdevel , Linux Kernel Mailing List , "ocfs2-devel@oss.oracle.com" Subject: RE: [PATCH v7 05/19] iov_iter: Introduce fault_in_iov_iter_writeable Thread-Topic: [PATCH v7 05/19] iov_iter: Introduce fault_in_iov_iter_writeable Thread-Index: AQHXm5pzAH4qSaa/BkWiD/swcmZu0auILsxw Date: Sat, 28 Aug 2021 02:20:05 +0000 Message-ID: References: <20210827164926.1726765-1-agruenba@redhat.com> <20210827164926.1726765-6-agruenba@redhat.com> <20210827232246.GA1668365@agluck-desk2.amr.corp.intel.com> In-Reply-To: <20210827232246.GA1668365@agluck-desk2.amr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 x-originating-ip: [10.1.200.100] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > But if your kernel code loops and tries again without a return to user, > then your get another #MC. I've been trying to push this patch: https://lore.kernel.org/linux-edac/20210818002942.1607544-1-tony.luck@intel.com/ which turns the infinite loops of machine checks into a panic. -Tony