Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2450955pxb; Sat, 28 Aug 2021 15:22:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzo6fKsK5Ocx8kyYyw/K3TnMXdi1XFacQ0OWVMHV08QPFG3W4+cvHNgJsnPeT7HJUQEAMGF X-Received: by 2002:a92:6a06:: with SMTP id f6mr10566391ilc.16.1630189322118; Sat, 28 Aug 2021 15:22:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630189322; cv=none; d=google.com; s=arc-20160816; b=HFBIk6+wJ3syfJ0iZ7fNR+UMMkCEpqAInlnfdt8RBYoEivFNbvek5LaP8V+FbwuFDm vjg9U/QJzH/gQ9WAavNlG5BHBHg9g+HGvQ6XwjAuVvjW4QuRWJMZrPfVOVBfgXKjbzVn NNpedA+o8UUF7Eqh39/lPqC3/owyFRfKnYWWh2GIV8liUFjKPIN/17cSXaDtLJPvlJ// GKhDXmFkLTZ3GKwt2zZXp09sOqiTTazCD9Z1p/qg38B2MoxzBB9uNElvZ/QykDXomqbR kIeE9tNSEZ4vkP5s/0Ozrc/hlQfH133/mn27t46ElBo2K41qgMBbWm8VI+3NR41rzWv3 fbIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=r6Li8Xzq3GZpRD4yRN9H4niugZXTcIcOHoay7QTmmqc=; b=ue9BPd8DbS9Q+gT+VJUTTQw0VC4Img3nW0u3X5qxe0vsU8NUZNQ3RlamxuvRJJs1Wg ffmW3z5Z7tue/84T63vaDgAx4grb9hxuaS8xlKj+zqGBp8i9HUiYY090yUumE+ZpY8+3 nfi2auLqeG/0xkbhIN/M7NS05SdDVn1tV9jYMKtOSHNDoxiQfTpU2YC2ZCvWSlRTmhaP AHeHPqlcE3WyUMhO/9Z/Qfv/8arIwYZbnwQ8eq12HOrPXrW+EU39WQVvORN/xzFD7GNg dXIpcouN3/H4H9Yh+A7xfLIeWWggzprHTiF1EOvZ80QCAnDbLjEcRSlIvR1u+f14T25r qxsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=i199VmbL; 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 b9si10138169ion.34.2021.08.28.15.21.50; Sat, 28 Aug 2021 15:22:02 -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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=i199VmbL; 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 S232871AbhH1WWA (ORCPT + 99 others); Sat, 28 Aug 2021 18:22:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230253AbhH1WV7 (ORCPT ); Sat, 28 Aug 2021 18:21:59 -0400 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03579C061756; Sat, 28 Aug 2021 15:21:09 -0700 (PDT) Received: by mail-pj1-x102f.google.com with SMTP id ot2-20020a17090b3b4200b0019127f8ed87so9974085pjb.1; Sat, 28 Aug 2021 15:21:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=r6Li8Xzq3GZpRD4yRN9H4niugZXTcIcOHoay7QTmmqc=; b=i199VmbLftiUhfm5w9TMwG+4Zf15RGuEdy9vUNnpXVkRH8IKECoWxujWMKUM6b84Xj vJIt4AyP193AT6JMaZqM2108oM703qbcQXepEStj+SyN34yY5kAbjEpMOLGRfvEnhLwD Yw/zR35PCA1ul7az8DVV6WxmaAmrVxAjUhxlMJYrp5LwHhJhncGjh+kEO6C+xUOwIYIK HGZRfwPHEz91HYwm0f0LbEqHi8eFfah3zdtLG65KiyNGXMieukAjYa8GmhDCRYzKMtkJ a/N3lSlUJEK/v4Iu5eztYUtd5dIYRDNtlqGhxh5lAkVeMe1c5VFf3McWOZ9uFYYtGopY f0iQ== 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=r6Li8Xzq3GZpRD4yRN9H4niugZXTcIcOHoay7QTmmqc=; b=e4hUbu3fbwQM2zstgIZvxxBCSsQe2x77fe060r4oGQon99KQn2VU21iWWDOlt6MVIx M5RvzYFHw9vzwS0SBdZFAcetMMaz8tkbekpxu/eAoVTAOP9L1JVrxDeNuu3ODFdVeWOh F419tbrWRnxiY68Rr16N+HCFtuL9ile0QLN1uUKziZENHful4ZMzxJR3Q2khRwG54rET XLLtJzeFAqGZFOWBsZJ0sDTdc8reafTzUQ45tCC+NnnHEVrYkgMngq3yFL5lSkmoqZtU gu1jLqFrUqSkDBt7MSr1L2aLUQfJBiwaTPrmiaRbhIE1gQQw/ZJmPlLT6tPkAQvsbWjA tFDg== X-Gm-Message-State: AOAM530jCRaylwgaPPnMG/7QPh3xWPzMr1z4LH1CukAYDHpsszy87mmM 5oJniNSedg5l4oQlE2WYLXUVASTcoh8FZd5G6LY= X-Received: by 2002:a17:90a:eb0d:: with SMTP id j13mr18377241pjz.163.1630189268569; Sat, 28 Aug 2021 15:21:08 -0700 (PDT) MIME-Version: 1.0 References: <20210827232246.GA1668365@agluck-desk2.amr.corp.intel.com> <87r1edgs2w.ffs@tglx> In-Reply-To: From: Tony Luck Date: Sat, 28 Aug 2021 15:20:58 -0700 Message-ID: Subject: Re: [PATCH v7 05/19] iov_iter: Introduce fault_in_iov_iter_writeable To: Al Viro Cc: Thomas Gleixner , 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, Borislav Petkov , X86-ML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 28, 2021 at 3:12 PM Al Viro wrote: > BTW, is #MC triggered on stored to a poisoned cacheline? Existence of CLZERO > would seem to argue against that... No #MC on stores. Just on loads. Note that you can't clear poison state with a series of small writes to the cache line. But a single 64-byte store might do it (architects didn't want to guarantee that it would work when I asked about avx512 stores to clear poison many years ago). -Tony