From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by kanga.kvack.org (Postfix) with ESMTP id 5CF916B0035 for ; Fri, 30 May 2014 12:06:04 -0400 (EDT) Received: by mail-vc0-f170.google.com with SMTP id la4so2340502vcb.1 for ; Fri, 30 May 2014 09:06:04 -0700 (PDT) Received: from mail-ve0-x22c.google.com (mail-ve0-x22c.google.com [2607:f8b0:400c:c01::22c]) by mx.google.com with ESMTPS id r2si3424976vcl.10.2014.05.30.09.06.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 30 May 2014 09:06:03 -0700 (PDT) Received: by mail-ve0-f172.google.com with SMTP id oz11so2389014veb.3 for ; Fri, 30 May 2014 09:06:03 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <5388A935.9050506@zytor.com> References: <20140528223142.GO8554@dastard> <20140529013007.GF6677@dastard> <20140529072633.GH6677@dastard> <20140529235308.GA14410@dastard> <20140530000649.GA3477@redhat.com> <20140530002113.GC14410@dastard> <20140530003219.GN10092@bbox> <20140530013414.GF14410@dastard> <5388A2D9.3080708@zytor.com> <5388A935.9050506@zytor.com> Date: Fri, 30 May 2014 09:06:03 -0700 Message-ID: Subject: Re: [RFC 2/2] x86_64: expand kernel stack to 16K From: Linus Torvalds Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: "H. Peter Anvin" Cc: Dave Chinner , Minchan Kim , Dave Jones , Jens Axboe , Linux Kernel Mailing List , Andrew Morton , linux-mm , Ingo Molnar , Peter Zijlstra , Mel Gorman , Rik van Riel , Johannes Weiner , Hugh Dickins , Rusty Russell , "Michael S. Tsirkin" , Dave Hansen , Steven Rostedt , PJ Waskiewicz On Fri, May 30, 2014 at 8:52 AM, H. Peter Anvin wrote: >> >> That said, it's still likely a non-production option due to the page >> table games we'd have to play at fork/clone time. > > Still, seems much more tractable. We might be able to make it more attractive by having a small front-end cache of the 16kB allocations with the second page unmapped. That would at least capture the common "lots of short-lived processes" case without having to do kernel page table work. Linus -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org