Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756235AbdDMHJO (ORCPT ); Thu, 13 Apr 2017 03:09:14 -0400 Received: from mail-lf0-f51.google.com ([209.85.215.51]:35130 "EHLO mail-lf0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756161AbdDMHJM (ORCPT ); Thu, 13 Apr 2017 03:09:12 -0400 MIME-Version: 1.0 In-Reply-To: <03284709-498c-1e52-40f0-b19d20e56b8e@linux.vnet.ibm.com> References: <1490730347-5165-1-git-send-email-bhsharma@redhat.com> <87shlcq0es.fsf@skywalker.in.ibm.com> <03284709-498c-1e52-40f0-b19d20e56b8e@linux.vnet.ibm.com> From: Balbir Singh Date: Thu, 13 Apr 2017 17:09:10 +1000 Message-ID: Subject: Re: [PATCH v3] powerpc: mm: support ARCH_MMAP_RND_BITS To: "Aneesh Kumar K.V" Cc: Bhupesh Sharma , Bhupesh SHARMA , Kees Cook , kernel-hardening@lists.openwall.com, Alistair Popple , "linux-kernel@vger.kernel.org" , Scott Wood , Paul Mackerras , Alexander Graf , Daniel Cashman , Anatolij Gustschin , "open list:LINUX FOR POWERPC (32-BIT AND 64-BIT)" , Daniel Cashman Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 403 Lines: 14 >> >> Yes. It was derived from TASK_SIZE : >> >> http://lxr.free-electrons.com/source/arch/powerpc/include/asm/processor.h#L105 >> > > That is getting update to 128TB by default and conditionally to 512TB > Since this is compile time, we should probably keep the scope to 128TB for now and see if we want to change things at run time later, since the expansion is based on a hint. Suggestions? Balbir