Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756329AbcJZHgE (ORCPT ); Wed, 26 Oct 2016 03:36:04 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:56107 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755019AbcJZHf6 (ORCPT ); Wed, 26 Oct 2016 03:35:58 -0400 Date: Wed, 26 Oct 2016 00:35:43 -0700 From: Christoph Hellwig To: "Kirill A. Shutemov" Cc: Christoph Hellwig , "Kirill A. Shutemov" , "Theodore Ts'o" , Andreas Dilger , Jan Kara , Andrew Morton , Alexander Viro , Hugh Dickins , Andrea Arcangeli , Dave Hansen , Vlastimil Babka , Matthew Wilcox , Ross Zwisler , linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-block@vger.kernel.org Subject: Re: [PATCHv4 18/43] block: define BIO_MAX_PAGES to HPAGE_PMD_NR if huge page cache enabled Message-ID: <20161026073543.GA1128@infradead.org> References: <20161025001342.76126-1-kirill.shutemov@linux.intel.com> <20161025001342.76126-19-kirill.shutemov@linux.intel.com> <20161025072122.GA21708@infradead.org> <20161025125431.GA22787@node.shutemov.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161025125431.GA22787@node.shutemov.name> User-Agent: Mutt/1.6.1 (2016-04-27) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 267 Lines: 5 On Tue, Oct 25, 2016 at 03:54:31PM +0300, Kirill A. Shutemov wrote: > The size of required pool depends on architecture: different architectures > has different (huge page size)/(base page size). Please explain first why they are required and not just nice to have.