Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756630AbbBQKI5 (ORCPT ); Tue, 17 Feb 2015 05:08:57 -0500 Received: from mail.emea.novell.com ([130.57.118.101]:35780 "EHLO mail.emea.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754725AbbBQKIz convert rfc822-to-8bit (ORCPT ); Tue, 17 Feb 2015 05:08:55 -0500 Message-Id: <54E321400200007800060865@mail.emea.novell.com> X-Mailer: Novell GroupWise Internet Agent 14.0.1 Date: Tue, 17 Feb 2015 10:08:48 +0000 From: "Jan Beulich" To: "Wang Xiaoming" Cc: , , , , , "Chuansheng Liu" , "Zhang Dongxing" , , , , , , , , , , Subject: Re: [Xen-devel] [PATCH v4] modify the IO_TLB_SEGSIZE and IO_TLB_DEFAULT_SIZE configurable as flexible requirement about SW-IOMMU. References: <1424155903-4262-1-git-send-email-xiaoming.wang@intel.com> In-Reply-To: <1424155903-4262-1-git-send-email-xiaoming.wang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1327 Lines: 34 >>> On 17.02.15 at 07:51, wrote: > --- a/Documentation/kernel-parameters.txt > +++ b/Documentation/kernel-parameters.txt > @@ -3438,10 +3438,12 @@ bytes respectively. Such letter suffixes can also be > entirely omitted. > it if 0 is given (See Documentation/cgroups/memory.txt) > > swiotlb= [ARM,IA-64,PPC,MIPS,X86] > - Format: { | force } > + Format: { | force | | } > -- Number of I/O TLB slabs > force -- force using of bounce buffers even if they > wouldn't be automatically used by the kernel > + -- Maximum allowable number of contiguous slabs to map > + -- The size of SW-MMU mapped. This makes no sense - the new numbers added aren't position independent (nor were the previous and "force"). Also you are (supposedly) removing all uses of IO_TLB_DEFAULT_SIZE, yet you don't seem to remove the definition itself. Finally - are arbitrary numbers really okay for the newly added command line options? I.e. shouldn't you add some checking of their validity? Jan -- 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/