Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934752AbbEOWmA (ORCPT ); Fri, 15 May 2015 18:42:00 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:58707 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934428AbbEOWl7 (ORCPT ); Fri, 15 May 2015 18:41:59 -0400 Message-ID: <555675BA.9000700@imgtec.com> Date: Fri, 15 May 2015 15:39:54 -0700 From: Leonid Yegoshin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Ralf Baechle CC: , , , , , , , , , , Subject: Re: [PATCH v2] MIPS64: Support of at least 48 bits of SEGBITS References: <20150515013351.7450.12130.stgit@ubuntu-yegoshin> <20150515215320.GI2322@linux-mips.org> In-Reply-To: <20150515215320.GI2322@linux-mips.org> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.20.3.79] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1212 Lines: 30 On 05/15/2015 02:53 PM, Ralf Baechle wrote: > On Thu, May 14, 2015 at 06:34:43PM -0700, Leonid Yegoshin wrote: > > The order 1 allocation for the PGD are concerning me a little. On a > system under even moderate memory pressure that might become a bit of > a reliability or performance issue. > > With 4kB pages we already need order 1 or even 2 allocations for the > allocation of the stack and some folks have reported that to be an issue > so we may have to start using the PUD for very large VA spaces. > > Ralf I don't think it is an issue here - people, who wants to exercise 256 TERABAIT of memory PER PROCESS may even doesn't note that they have PGD = 2 pages. It is definitely not for systems with 4GB physmemory. I also recommend for low memory to look into CONFIG_COMPACTION, it may be a great help for them here, look into mm/vmscan.c, in_reclaim_compaction(). Besides that, I defined this feature for 16KB and 64KB pages only, not for 4KB. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/