Received: by 10.192.165.148 with SMTP id m20csp4385080imm; Tue, 8 May 2018 07:40:21 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoA2EfeC0eERDZXO3MpnRYx28iVmuP/Dw9a9pNDbjjEL0Q2Sr7eY6eURaE/FRy3T9LOMKy9 X-Received: by 2002:a17:902:7288:: with SMTP id d8-v6mr24089683pll.218.1525790421788; Tue, 08 May 2018 07:40:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525790421; cv=none; d=google.com; s=arc-20160816; b=srC84M31sjs1WFlgQ66ULYxi6OMN73IdiwKZC24SxwmJXlt6INWrqYNaITLfJFqTyS jVHvYMeu/TBs40XyXqRgyj5UpgB/VNtxhM3wzXnVrdkr3wvhYMTCu3CC6AYOwTvXwKqa q5pAxb01PwcmMpoE287XGts05zKVsHrxsr99pJnpO+/kMc6vuO/cCS3q3Xqp+ptIJ5ul 2AphtgtQxlkllF4qdKacMTcQ+DnXxow9Xdeqfl3e46Ur9zelPIsx1v4hunvuzWHZkj75 V88t6caMedaGL01tZNNjYPW3oY+p3ATKArVqSJc4H09uN0j7JcHN/BNDRIazuTXojKK7 fHng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:arc-authentication-results; bh=N4UIeI22sOt58mJ6mcBPtpyNpTmQFksylezuRQKCDJ0=; b=CNsdHO2Rx0299yTtdLZbMSqZECTVLHx7BafPUg7ld9zW6T52AaiMcA4SYkAt6rrk70 Z9/f8oDp7hmfz4/U0fmWypwOVZ+T+yLQB43BJIXzl/7RbaUEm7cxwl1mQM7NoNmUtkDz kXnz1ByEzprwdtCzQJj/yUCw1PvjSBDtmldEETmSg/6Rg6s1orv3LzCd1HBvFl5xO3Rz IsnCaR/chInMrVhXhBxM2QHqjyFrp4vzsNnZfg1PZEyEsCuVJMBI4lavxLH3ezvXG5aK yxzm+juA5H04VorMAJ3fNJmej3GoDpKP9r/QoUCOux3+2LpIY/dje2i3CFPNMFwi2z7L CurQ== 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 h27-v6si16030614pgn.147.2018.05.08.07.40.06; Tue, 08 May 2018 07:40:21 -0700 (PDT) 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 S932670AbeEHOjT (ORCPT + 99 others); Tue, 8 May 2018 10:39:19 -0400 Received: from ozlabs.org ([203.11.71.1]:32887 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932375AbeEHOjS (ORCPT ); Tue, 8 May 2018 10:39:18 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 40gMZB4cJZz9ry1; Wed, 9 May 2018 00:39:14 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au From: Michael Ellerman To: Ram Pai , mingo@redhat.com, akpm@linux-foundation.org Cc: linuxppc-dev@lists.ozlabs.org, linux-mm@kvack.org, x86@kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, dave.hansen@intel.com, benh@kernel.crashing.org, paulus@samba.org, khandual@linux.vnet.ibm.com, aneesh.kumar@linux.vnet.ibm.com, bsingharora@gmail.com, hbabu@us.ibm.com, mhocko@kernel.org, bauerman@linux.vnet.ibm.com, ebiederm@xmission.com, linuxram@us.ibm.com, corbet@lwn.net, arnd@arndb.de Subject: Re: [PATCH v13 0/3] mm, x86, powerpc: Enhancements to Memory Protection Keys. In-Reply-To: <1525471183-21277-1-git-send-email-linuxram@us.ibm.com> References: <1525471183-21277-1-git-send-email-linuxram@us.ibm.com> Date: Wed, 09 May 2018 00:39:14 +1000 Message-ID: <8736z21ab1.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ram Pai writes: > This patch series provides arch-neutral enhancements to > enable memory-keys on new architecutes, and the corresponding > changes in x86 and powerpc specific code to support that. > > a) Provides ability to support upto 32 keys. PowerPC > can handle 32 keys and hence needs this. > > b) Arch-neutral code; and not the arch-specific code, > determines the format of the string, that displays the key > for each vma in smaps. > > History: > ------- > version 14: This doesn't match the patch subjects, which is a little confusing :) > (1) made VM_PKEY_BIT4 unusable on x86, #defined it to 0 > -- comment by Dave Hansen > (2) due to some reason this patch series continue to > break some or the other build. The last series > passed everything but created a merge > conflict followed by build failure for > Michael Ellermen. :( I have a fix, it involved some cleanup of headers prior to the smaps change. Will post it. cheers