Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5746872imu; Tue, 13 Nov 2018 11:04:42 -0800 (PST) X-Google-Smtp-Source: AJdET5cKfEbheDiQRomNX5KDGjY+TM9w00vfnIScLQestRvqajt0KB4WBZ8neWUc7gtwymLRH5tv X-Received: by 2002:a63:6445:: with SMTP id y66mr5993334pgb.250.1542135882056; Tue, 13 Nov 2018 11:04:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542135882; cv=none; d=google.com; s=arc-20160816; b=hI7AXgaB5/Xj7FU7KDzIyJ4L4+hkNFHEo1x9bHcr/9waGoYUZA27b8zxXxHBLGhNjX m0Okia8djXHCpej98iHvraQiTtucZUpxjPY+hADgPkC5nLMEG0lhIuyM9r0KEFpQK9k0 Yij0G5O6x1j7ercNjaF3aTLlkoguBNbatg2y4EAASbz+VL5TcJ5srJn3mfh81hoqldOP nriMsWMNYndP740ArESd10SA55nG9nt7rPbwMmApF4EClL6RYLe5LSwGXFJwYo8EoDxc SebK15asFFx82dkg53QzjJqmbyDtucwOWN21cs4oTcmR8u8xZVJ6l6c9zWjg4VWq+shO /tPA== 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; bh=GG6WsGgopZga/NXX5pUFBfwx1DbG6uJ165EduaW+9MI=; b=ib6PkroDWobW0RERexIU3iJVEkuD7xz+nKHZu2+Rl9CHkqaXpSA5SS2RKz17KPKJjP kw+npUT+lThssRypLY4lkhksmmUSmjOxZKHtUJx//k6Zhqc+622RXtRWsH/keStvJsje Mxyeq1a9uq893ck1u42/qDdgr1v39ZYeMws3KbWP3aVqrhhYur6F/xzQoMfvgoeJjhLZ i72FHJI92euOwLHD/xZu5hfanwkljkUwM5YtB4+xZWvI5oidRGVk/liMlU+JPKQI7jbp l9QEz61lbhqsRrnuoHU1YvI3CXQ15HvGZxxrVlHORf5PA1hEhc81dDD4djPN2PDgzeYG L1IA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a34si19744976pgb.458.2018.11.13.11.04.16; Tue, 13 Nov 2018 11:04:42 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727628AbeKNFCk (ORCPT + 99 others); Wed, 14 Nov 2018 00:02:40 -0500 Received: from lhrrgout.huawei.com ([185.176.76.210]:32762 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725748AbeKNFCk (ORCPT ); Wed, 14 Nov 2018 00:02:40 -0500 Received: from LHREML713-CAH.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id 8617393963916; Tue, 13 Nov 2018 19:03:10 +0000 (GMT) Received: from [10.202.210.149] (10.202.210.149) by smtpsuk.huawei.com (10.201.108.36) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 13 Nov 2018 19:03:10 +0000 Subject: Re: [PATCH 10/17] prmem: documentation To: Andy Lutomirski CC: Nadav Amit , Igor Stoppa , Kees Cook , Peter Zijlstra , Mimi Zohar , Matthew Wilcox , Dave Chinner , James Morris , "Michal Hocko" , Kernel Hardening , linux-integrity , LSM List , Dave Hansen , Jonathan Corbet , Laura Abbott , Randy Dunlap , Mike Rapoport , "open list:DOCUMENTATION" , LKML , "Thomas Gleixner" References: <20181023213504.28905-1-igor.stoppa@huawei.com> <20181023213504.28905-11-igor.stoppa@huawei.com> <20181026092609.GB3159@worktop.c.hoisthospitality.com> <20181028183126.GB744@hirez.programming.kicks-ass.net> <40cd77ce-f234-3213-f3cb-0c3137c5e201@gmail.com> <20181030152641.GE8177@hirez.programming.kicks-ass.net> <0A7AFB50-9ADE-4E12-B541-EC7839223B65@amacapital.net> <6f60afc9-0fed-7f95-a11a-9a2eef33094c@gmail.com> <386C0CB1-C4B1-43E2-A754-DA8DBE4FB3CB@gmail.com> <9373ccf0-f51b-4bfa-2b16-e03ebf3c670d@huawei.com> <2e52e103-15d0-0c26-275f-894dfd07e8ec@huawei.com> From: Igor Stoppa Message-ID: <4e573601-dd5e-1fdf-da3a-df438e5b967d@huawei.com> Date: Tue, 13 Nov 2018 21:03:07 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.210.149] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/11/2018 20:36, Andy Lutomirski wrote: > On Tue, Nov 13, 2018 at 10:33 AM Igor Stoppa wrote: [...] >> Unless the secondary mapping is also available to other cores, through >> the shared mm_struct ? >> > > I don't think this matters much. The other cores will only be able to > use that mapping when they're doing a rare write. Which has now been promoted to target for attacks :-) -- igor