Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp220676imu; Wed, 19 Dec 2018 17:08:50 -0800 (PST) X-Google-Smtp-Source: AFSGD/XeJnWwQXb2C3bAEd+QHLNrSwq9dbA2ofNvN5q/P14OKgeBcnbutb0fRkzz/0xDrw1DkaCr X-Received: by 2002:a63:1a4b:: with SMTP id a11mr21349183pgm.254.1545268130531; Wed, 19 Dec 2018 17:08:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545268130; cv=none; d=google.com; s=arc-20160816; b=j2G4kIPHG+0kKDv6cJhEbJlFr1nBmWonr1XZt1JEDTRiUuAf5MamHRedQYaWv17H8E OOjcEAKqG3Aqg4OvEpi4T4ccHU02tVT++oh65RumUh/5sQLebySh0/EYM7CewZ/SNB5V zIFx3FcHfFsXpAAEvumziF+5Xtscfworblqe6UkBAjYchoriLx7ccz3fmEZrniJPZfm7 dwZw94yBqlHsdWZO6YXHLtgH2XsEEMqGBeU5jEpD8ukJUJURGralG+HamkqfKx1i9kXR LVDDh+tN/S/IrCnMifyu5AKiJPJXer4bAjn7xbnKKT5dbkwBhIkxWaw+KHop0zu2PElv McuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=lL6VuU05xhyZZNNjsDLIZB0TivGZQe3e6R0urwV27nc=; b=cq/Wt+pDhCCNHVxWdfq2Npw1WiP3Eidi33FPtwdI8HWyoBx++1lvNW5Bkr8kzsFTr4 IqUDE/1R4GrcKkX7Ni4PKxDK/w6JKVizex52j4AXc54oh/mzV0LZ0VSd2BtkBNY5lk/m 3FIWjNXIWlQfKzD+N/Z4EJ6+rkvHt16IagJdgsSiuHrKGqlhCNIr5bdFQGt6Gwnb8ZMF 3/gfALqjaEYQtPiEbHj9CpqOpyob4VDs/cEizIoViy7QaUY2EuFezOVF3AuIUtwrp5HT pPaqO2qai6IRZ/RqG3+BOPlb28lT+MAhJS4jMf3ORsVq1T/AhUyv9ySo0bbtUul53Wz9 HSgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KvNK6CdX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p11si16555009plk.191.2018.12.19.17.08.34; Wed, 19 Dec 2018 17:08:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KvNK6CdX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729414AbeLSWuW (ORCPT + 99 others); Wed, 19 Dec 2018 17:50:22 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:42688 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728355AbeLSWuV (ORCPT ); Wed, 19 Dec 2018 17:50:21 -0500 Received: by mail-lj1-f194.google.com with SMTP id l15-v6so18828244lja.9; Wed, 19 Dec 2018 14:50:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=lL6VuU05xhyZZNNjsDLIZB0TivGZQe3e6R0urwV27nc=; b=KvNK6CdXLsyM/6Upw6RorgzC448kKDKTro0RKfuSdwzdxisa1b8Z1mxNBOypG/c4o2 7naXbC9MJKaEtLLK7gw3+XYZdN1FndRbB/G7vyrgsIWwxU94/Ul9ojU84c7X2AlSC2aV Fdn6IU8gjEnttnQuoyRU1v9h5WndOX7XA+YtPF3zSaJQUI2sEiUsQczxN4PcHp3kZLCU DrqEoLlWeonCVNNEmZdyoF8URbG/luEfkzYU9q3GRIdR/k3/wUO3vcMZLy7Tt2dQLMdK 3WuUyNDdwIog9l2YHhdGtExamWVtCXowuizQ9lqn3QVS0WZEdlQXbH8zeYJV2DdNTysB anKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=lL6VuU05xhyZZNNjsDLIZB0TivGZQe3e6R0urwV27nc=; b=Tm7ErUGCU+EuO8/+XHFgxpBGMI8hWuSOD/t2Xd2ZYuAHYnXSOqdDF1xvDysyaY4dvu QUpe0sC2OyMln+BM5MYeR39aiBW9Pj0uhpVrZTF+hQJxY5DB4V1B9y9vCwoJ+nloGlYJ ZPC4yqq7KuSxo0lDEBTriZNeVDjPWinGOufavD0EvvWuRM0oEY6yFfhuWYbchz20nI7P ABvV0IUV8JYcPB95Rfvif/CodwMErqW+uFpplFCEUvQTYBUMi1js9+E1xsHJJ7hru1W2 VGxpBnZKu4nB7ZcD1KJerXk69ICFHwmNVGbaol+cobpayrEKECd7x/3UWZ5Lp+rYFUgq guoQ== X-Gm-Message-State: AA+aEWYm1ykjJwl+PbeG+HFvXK52WhPXAND1ba6cYMECY0DkGH8jQr+q eqqCCavYNYZTra4Rmsmt9o4vZ884ihA= X-Received: by 2002:a2e:9603:: with SMTP id v3-v6mr11660171ljh.15.1545259818062; Wed, 19 Dec 2018 14:50:18 -0800 (PST) Received: from ?IPv6:2001:14bb:51:a4c8:5c24:24d7:ca5f:e7d2? (dmhwpt3bffxn8z3-j6k-4.rev.dnainternet.fi. [2001:14bb:51:a4c8:5c24:24d7:ca5f:e7d2]) by smtp.gmail.com with ESMTPSA id h203sm4063348lfe.44.2018.12.19.14.50.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Dec 2018 14:50:17 -0800 (PST) Subject: Re: [PATCH 2/6] __wr_after_init: write rare for static allocation To: Martin Schwidefsky , Andy Lutomirski Cc: linux-arch , linux-s390 , Heiko Carstens , Benjamin Herrenschmidt , Kees Cook , Matthew Wilcox , Igor Stoppa , Nadav Amit , Peter Zijlstra , Dave Hansen , linux-integrity , Kernel Hardening , Linux-MM , LKML References: <20181204121805.4621-1-igor.stoppa@huawei.com> <20181204121805.4621-3-igor.stoppa@huawei.com> <20181212104900.0af52c34@mschwideX1> From: Igor Stoppa Message-ID: Date: Thu, 20 Dec 2018 00:50:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181212104900.0af52c34@mschwideX1> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/12/2018 11:49, Martin Schwidefsky wrote: > On Wed, 5 Dec 2018 15:13:56 -0800 > Andy Lutomirski wrote: >> Hi s390 and powerpc people: it would be nice if this generic >> implementation *worked* on your architectures and that it will allow >> you to add some straightforward way to add a better arch-specific >> implementation if you think that would be better. > > As the code is right now I can guarantee that it will not work on s390. OK, I have thrown the towel wrt developing at the same time for multiple architectures. ATM I'm oriented toward getting support for one (x86_64), leaving the actual mechanism as architecture specific. Then I can add another one or two and see what makes sense to refactor. This approach should minimize the churning, overall. -- igor