From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f51.google.com ([209.85.160.51]:44345 "EHLO mail-pl0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751977AbeENRxy (ORCPT ); Mon, 14 May 2018 13:53:54 -0400 Received: by mail-pl0-f51.google.com with SMTP id e6-v6so7790786plt.11 for ; Mon, 14 May 2018 10:53:54 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: use memcpy_mcsafe() for copy_to_iter() (was: Re: [PATCH v3 0/9] Series short description) From: Andy Lutomirski In-Reply-To: Date: Mon, 14 May 2018 10:53:51 -0700 Cc: Ingo Molnar , linux-nvdimm , "Luck, Tony" , Andrew Morton , Mike Snitzer , Peter Zijlstra , X86 ML , Linux Kernel Mailing List , Ingo Molnar , Borislav Petkov , =?utf-8?Q?Mika_Penttil=C3=A4?= , linux-fsdevel , Thomas Gleixner , Linus Torvalds , Christoph Hellwig , Al Viro , Peter Zijlstra Content-Transfer-Encoding: quoted-printable Message-Id: <3CEE65FC-2314-4837-9854-80E73ECBF0EE@amacapital.net> References: <20180514072603.GA14099@gmail.com> To: Dan Williams Sender: linux-fsdevel-owner@vger.kernel.org List-ID: > On May 14, 2018, at 8:52 AM, Dan Williams wrote= : >=20 >=20 > I think "happy" is a strong word when it comes to x86 machine check > handling. My interpretation is that he and Andy acquiesced that this > is about the best we can do with dax+mce as things stand today. Agreed. I think it=E2=80=99s plausible that we could do slightly better for M= CEs related to bad memory accessed through the direct map, but the code woul= d be complicated and miserable to test, and it=E2=80=99s not even clear that= it would materially decrease the chance that we survive as compared to thes= e patches.=