From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5510FC4320A for ; Sat, 28 Aug 2021 02:20:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3771D60EAF for ; Sat, 28 Aug 2021 02:20:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233145AbhH1CVC convert rfc822-to-8bit (ORCPT ); Fri, 27 Aug 2021 22:21:02 -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