Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp352337pxb; Wed, 14 Apr 2021 17:34:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhDyGx9+HZ1AENKfVrp/66Q2i7Y2NJ1OvEuHmNSxPnrZQLUsEZ25gF7/e8LV/y9tl/gveq X-Received: by 2002:aa7:d587:: with SMTP id r7mr195946edq.388.1618446846027; Wed, 14 Apr 2021 17:34:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618446846; cv=none; d=google.com; s=arc-20160816; b=uyXHBEN4nTFd/qI3vMAiu/AABTrCAiZkgZEBdb+khmLr7FN5Iwd6r1DdDYxYzjMXg2 oBCx2ffml7zebaSuQEPzx9J9KohmEFmAHzGKg6Rmfnfg0ympo5HrPff6afWwBZDAJP4C /J6plBraGX9jTi7mzXEXM41+0IDpPR2eDJ2kNUwajLdP0ltgU9tb5zoggrs2WHdt6vQA Ayj+aEMrZRAZFBzaBJWUA/DRu7A7M1hBt/9ia4k7+7t3of+oy10nKZwwHahXFrR3Ulf2 NgOEAZ1HMbzObok0xlxZmYmQ7wkvgn9tlkv/5E3Fw0A5qNntGcWFYzxbq196657hd7In +0Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=7QUzYLHM4/+zVfpSckS+KvePCizty5xc6tScIXPXiqY=; b=PsThXj+OIjq01iF9wY/o2eSCs5VFlS8Tggsog0A8KrzTjPGWTN78PISEV7sYchPFYN sGMB5m25OiTq1dGqXv3vsxX/zipEBXXZXPs7wTFFyXtEanVGJxWbw4xsMXrEGUC6Uk64 Ez99KaPIFFIuly38YzgRw/8cDegkZW6rxfYz16MKcr/cK3uDbtnnfSdTg/kWYeXGpXyF dfKNn/CK5Qnl1FcUNU+Wk7uTAH/Ui9gEekX508ES09yIkSyQaiMIaBnMK675e1kYS38p HAZ0tN32ugqd78fyy2xtGqgJolmznbD2NGGcGn2Q9QgPhE8TKDo16jWqmjKLEmEXXDH1 6piw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=eQvu9OVv; 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=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h16si737008ejt.695.2021.04.14.17.33.42; Wed, 14 Apr 2021 17:34:06 -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=@alien8.de header.s=dkim header.b=eQvu9OVv; 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=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234034AbhDNPgU (ORCPT + 99 others); Wed, 14 Apr 2021 11:36:20 -0400 Received: from mail.skyhub.de ([5.9.137.197]:44580 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231983AbhDNPgU (ORCPT ); Wed, 14 Apr 2021 11:36:20 -0400 Received: from zn.tnic (p200300ec2f0e8f008ccc887bddfa0520.dip0.t-ipconnect.de [IPv6:2003:ec:2f0e:8f00:8ccc:887b:ddfa:520]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id F0CF51EC04D6; Wed, 14 Apr 2021 17:35:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1618414558; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=7QUzYLHM4/+zVfpSckS+KvePCizty5xc6tScIXPXiqY=; b=eQvu9OVvEIJVqgHE0EkPsiN9cb3jEblOQMnS33QLuuRHfT0XKfSLzPsBnDTGS+LhCWwPfg mPKQQXzvlsdWkrmjIZEONJniIfaTXS76xpWrbXz9bjgs6+IwLQ+JDWobwo6xHf/ITFBPDT 4Bv5At1ERm6BrmoW9mBWN/ZyHf8WaZc= Date: Wed, 14 Apr 2021 17:35:54 +0200 From: Borislav Petkov To: Jue Wang Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, luto@kernel.org, HORIGUCHI =?utf-8?B?TkFPWUEo5aCA5Y+jIOebtOS5nyk=?= , "Luck, Tony" , x86 , yaoaili@kingsoft.com Subject: Re: [PATCH 3/4] mce/copyin: fix to not SIGBUS when copying from user hits poison Message-ID: <20210414153554.GH10709@zn.tnic> References: <20210414131018.GG10709@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 14, 2021 at 07:46:49AM -0700, Jue Wang wrote: > I can see this is useful in other types of domains, e.g., on multi-tenant cloud > servers where many VMs are collocated on the same host, > with proper recovery + live migration, a single MCE would only affect a single > VM at most. > > Another type of generic use case may be services that can tolerate > abrupt crash, > i.e., they periodically save checkpoints to persistent storage or are stateless > services in nature and are managed by some process manager to automatically > restart and resume from where the work was left at when crashed. Yap, thanks for those. So I do see a disconnect between us doing those features in the kernel and not really seeing how people use them. So this helps, I guess the VM angle will become important real soon - if not already - so hopefully we'll get more feedback in the future. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette