Received: by 10.223.185.116 with SMTP id b49csp3917775wrg; Tue, 6 Mar 2018 07:05:57 -0800 (PST) X-Google-Smtp-Source: AG47ELv0QZF8AE/Z5SkfdHqVR85FSBcX/YOp8/8070SYP9hqFxvZDk3QkB7O25STSWD+ARw7SWoT X-Received: by 10.98.160.90 with SMTP id r87mr19018887pfe.151.1520348757571; Tue, 06 Mar 2018 07:05:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520348757; cv=none; d=google.com; s=arc-20160816; b=wE4XxIze832kqefY+AwwWsjDkx37uxdbGyBwPschktIA2RLZspXgaxMIUUkgKhK5dp qFhok333YUkd3d8W9gxdTtIqTti90DNUvZPMT6EL9TWuAbCzURnOKb06LPcEq96Hnepe /H1zqdorKYJmo4wHdx5/kd7IppGRFLd3dSDwy6mjG7m7Bz+1+UfdjvlddErBSo1IOfsw UxeFxx8VHShoV/gOFbnARVWH8XVyXw3nbuGOI5HGRXK71UTb9sXvlMp6tGTEP4fS/rVO xa/qACM0Hc6FXEhuPGBl2Hqq7IWLOZ4GmStrRdhvVWRe4Z6rsagEeJ8Ulj1pTZVnCDTm 4LPA== 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:cc:references:to:subject:arc-authentication-results; bh=4XXg01uM9uEkXDiWIoptN3ll/Wxo/E4gaALyfeCIdu8=; b=nVQk7bZ/C6KwahrLgG6O+zk2fMUCftAigs/RZ4FLMytX9DVXmWqpOHdtwfKF+EhiWV ZN78mkUf+yqmI6M7+SU1iuhpE2EVAT9otCTl5JshRFt1Y92zZIXz7WVFgkO6rXk0ysEF zZYeaZE9LPh6VZToxlAG+UmflciClcVuqI5RP1JzXbAwOVX+rivw3JE356ktdreoL1xe 00gl5q5CLP1nadElsQdsz17jH6I16OK8TatreB/Y+sObNZk5+LdrVP8G7ME9R78MLd14 MIM6CrXVsG4PK6SQ7D+CoItTForekQCFmTs4T/zNtWd7Jcvb9/EUX5zkrnJKw8ZEX0uB wALw== 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 d2-v6si1248704plh.192.2018.03.06.07.05.39; Tue, 06 Mar 2018 07:05:57 -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 S932930AbeCFPER (ORCPT + 99 others); Tue, 6 Mar 2018 10:04:17 -0500 Received: from mga17.intel.com ([192.55.52.151]:43637 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932830AbeCFPEO (ORCPT ); Tue, 6 Mar 2018 10:04:14 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Mar 2018 07:04:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,431,1515484800"; d="scan'208";a="23370176" Received: from unknown (HELO [10.7.201.16]) ([10.7.201.16]) by orsmga006.jf.intel.com with ESMTP; 06 Mar 2018 07:04:14 -0800 Subject: Re: [RFC, PATCH 21/22] x86/mm: Introduce page_keyid() and page_encrypted() To: "Kirill A. Shutemov" References: <20180305162610.37510-1-kirill.shutemov@linux.intel.com> <20180305162610.37510-22-kirill.shutemov@linux.intel.com> <61041640-435e-1a67-177f-a75791130514@intel.com> <20180306085751.tvozsfe6hogh37pd@node.shutemov.name> <91d27559-3f28-d53c-9fd9-d16e015a3f59@intel.com> <20180306145806.ejg5kzaqqmncgqi7@black.fi.intel.com> Cc: "Kirill A. Shutemov" , Ingo Molnar , x86@kernel.org, Thomas Gleixner , "H. Peter Anvin" , Tom Lendacky , Kai Huang , linux-kernel@vger.kernel.org, linux-mm@kvack.org From: Dave Hansen Message-ID: <945b233a-e596-6426-b51d-f9a3ab2be94b@intel.com> Date: Tue, 6 Mar 2018 07:04:13 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180306145806.ejg5kzaqqmncgqi7@black.fi.intel.com> Content-Type: text/plain; charset=utf-8 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 03/06/2018 06:58 AM, Kirill A. Shutemov wrote: >> Doesn't it really mean "am I able to use the direct map to get this >> page's contents?" > Yes. > > Any proposal for better helper name? Let's see how it gets used.