Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753991Ab3IZScY (ORCPT ); Thu, 26 Sep 2013 14:32:24 -0400 Received: from mx1.redhat.com ([209.132.183.28]:11832 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752999Ab3IZScU (ORCPT ); Thu, 26 Sep 2013 14:32:20 -0400 Date: Thu, 26 Sep 2013 11:30:22 -0700 From: Zach Brown To: Andi Kleen Cc: Andrew Morton , "Kirill A. Shutemov" , Andrea Arcangeli , Al Viro , Hugh Dickins , Wu Fengguang , Jan Kara , Mel Gorman , linux-mm@kvack.org, Matthew Wilcox , "Kirill A. Shutemov" , Hillf Danton , Dave Hansen , Ning Qu , Alexander Shishkin , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv6 00/22] Transparent huge page cache: phase 1, everything but mmap() Message-ID: <20130926183022.GN30372@lenny.home.zabbo.net> References: <1379937950-8411-1-git-send-email-kirill.shutemov@linux.intel.com> <20130924163740.4bc7db61e3e520798220dc4c@linux-foundation.org> <20130924234950.GC2018@tassilo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130924234950.GC2018@tassilo.jf.intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 723 Lines: 19 > > Sigh. A pox on whoever thought up huge pages. > > managing 1TB+ of memory in 4K chunks is just insane. > The question of larger pages is not "if", but only "when". And "how"! Sprinking a bunch of magical if (thp) {} else {} throughtout the code looks like a stunningly bad idea to me. It'd take real work to restructure the code such that the current paths are a degenerate case of the larger thp page case, but that's the work that needs doing in my estimation. - z -- 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/