Received: by 10.223.164.202 with SMTP id h10csp824852wrb; Wed, 15 Nov 2017 08:29:59 -0800 (PST) X-Google-Smtp-Source: AGs4zMbJPnc02JW9Jv2vBupP3GH3dPYGO0Ihqp1dhW7hzFUaNXsemVlfoR3GNZUEPazb4im90H/e X-Received: by 10.98.198.138 with SMTP id x10mr18208437pfk.55.1510763399212; Wed, 15 Nov 2017 08:29:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510763399; cv=none; d=google.com; s=arc-20160816; b=U4ruX8KfJraajq7XfJxhUbviwV979kYfFB0ayNqm6sBi6n1zrxKyu+t3cav+qKC822 GXzOivJLBfrdPCfcKq1FzvxzB9bS9Ue8totZpa1Bqu2dZDPj9OIxLUO/fdVdewDXnW5z LzLfirXrV/jBHGVG9a8QopFWFA0TfnU1X9O1i+DB5DhqRY9FVLvy6nENTWV0axnGmX1Q DiGHqXMb19g9z5R+Zrv1r7x2cQyA+LFb10/cMUPa0UyQnbO/GElfuz3DRnJ87YMxTqQo MLMjSGXwniPBDxrA/6NK0OkOXo6364zvUPMXOTv3xpg/eWDVYvqKEkwTHBXj3PM3E4J9 djhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=YrxH4uoqDC+LziEM8lsaiX9zB3lL7XfjUmuaTntNe9U=; b=Xd7GhMd6MAmD3qDfKEMPKf0R75O91dkzyU6+e8YZ4LPDhGicEoFyjzbhFkDzG87jcw b9uVzYSiN0SA5i1E22pUyGk7PgvPg49LYljMz49UF4Db5r83YFt1PuigI5lceYiQWhcl wzG8/7teoGFTxqVCieQEzEmVmrP9mAQ6IVb+mufV6RyPnZnZ/jp2/JfEU9FpACaLloxG GgdxC3I2HIYd9rEQXsTsPqgjMhf72Io1Foonhq3vJ7ZjNgl76xJ7c72Izhfy8GceIPr+ gUfVoZZVRr9G0WHFOt9Ryl0BHSg9r4u0mFfiySwtjKacKoFfiJy9J4bMMYTE8Gs54Pv2 cpWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=cjzSokPy; 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 ay2si17482125plb.434.2017.11.15.08.29.46; Wed, 15 Nov 2017 08:29:59 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=cjzSokPy; 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 S1758319AbdKOO6y (ORCPT + 89 others); Wed, 15 Nov 2017 09:58:54 -0500 Received: from bombadil.infradead.org ([65.50.211.133]:51468 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756853AbdKOO6i (ORCPT ); Wed, 15 Nov 2017 09:58:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=YrxH4uoqDC+LziEM8lsaiX9zB3lL7XfjUmuaTntNe9U=; b=cjzSokPypTpFYV48dTFikAhLI vLHqZoWM8wQYbEK6dfjdyeLreYaxype/arTUZvADaQwk8Ysb/eVK7Z+SqmdNsSfod/S1VvNGFQ9xq xVgDf153KY0tExm2Vo2Wre04amR1geJlqhbWv2PuP70YqWarnufe2ipeeNt/EfVIdZ7+F+W0TDYYX xtYnO75tx+qgu6NU73YBFoG4YMjLD+kS5fUHQ88UUW4ASfpoku5gw+q+fte/T7v6wuGEts3B+9IJX yNQ0OmsuVhsNFcoLv3VUzTuQwgSmT3AIVuWO41USlxXLAA8BCGxeK/SRmDCVRxSVgz3TmAIjUgVyI w2h0M6ABQ==; Received: from willy by bombadil.infradead.org with local (Exim 4.87 #1 (Red Hat Linux)) id 1eEz99-0002Eb-3x; Wed, 15 Nov 2017 14:58:35 +0000 Date: Wed, 15 Nov 2017 06:58:35 -0800 From: Matthew Wilcox To: Dave Hansen Cc: Tycho Andersen , linux-kernel@vger.kernel.org, linux-mm@kvack.org, kernel-hardening@lists.openwall.com, Marco Benatto , Juerg Haefliger , x86@kernel.org Subject: Re: [PATCH v6 03/11] mm, x86: Add support for eXclusive Page Frame Ownership (XPFO) Message-ID: <20171115145835.GB319@bombadil.infradead.org> References: <34454a32-72c2-c62e-546c-1837e05327e1@intel.com> <20170920223452.vam3egenc533rcta@smitten> <97475308-1f3d-ea91-5647-39231f3b40e5@intel.com> <20170921000901.v7zo4g5edhqqfabm@docker> <20171110010907.qfkqhrbtdkt5y3hy@smitten> <7237ae6d-f8aa-085e-c144-9ed5583ec06b@intel.com> <2aa64bf6-fead-08cc-f4fe-bd353008ca59@intel.com> <20171115034430.GA24257@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 14, 2017 at 11:00:20PM -0800, Dave Hansen wrote: > On 11/14/2017 07:44 PM, Matthew Wilcox wrote: > > We don't need to kmap in order to access MOVABLE allocations. kmap is > > only needed for HIGHMEM allocations. So there's nothing wrong with ext4 > > or set_bh_page(). > > Yeah, it's definitely not _buggy_. > > Although, I do wonder what we should do about these for XPFO. Should we > just stick a kmap() in there and comment it? What we really need is a > mechanism to say "use this as a kernel page" and "stop using this as a > kernel page". kmap() does that... kinda. It's not a perfect fit, but > it's pretty close. It'd be kind of funny if getting XPFO working better means improving how well Linux runs on 32-bit machines with HIGHMEM. I think there's always going to be interest in those -- ARM developed 36 bit physmem before biting the bullet and going to arm64. Maybe OpenRISC will do that next ;-) From 1584119071160873144@xxx Wed Nov 15 08:14:32 +0000 2017 X-GM-THRID: 1577903505730930323 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread