Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S271939AbTHSRbx (ORCPT ); Tue, 19 Aug 2003 13:31:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S272623AbTHSRIO (ORCPT ); Tue, 19 Aug 2003 13:08:14 -0400 Received: from rth.ninka.net ([216.101.162.244]:34950 "EHLO rth.ninka.net") by vger.kernel.org with ESMTP id S271939AbTHSQzz (ORCPT ); Tue, 19 Aug 2003 12:55:55 -0400 Date: Tue, 19 Aug 2003 09:55:47 -0700 From: "David S. Miller" To: Alan Cox Cc: jes@wildopensource.com, zaitcev@redhat.com, khc@pm.waw.pl, linux-kernel@vger.kernel.org Subject: Re: [PATCH] RFC: kills consistent_dma_mask Message-Id: <20030819095547.2bf549e3.davem@redhat.com> In-Reply-To: <1061298438.30566.29.camel@dhcp23.swansea.linux.org.uk> References: <20030818111522.A12835@devserv.devel.redhat.com> <1061298438.30566.29.camel@dhcp23.swansea.linux.org.uk> X-Mailer: Sylpheed version 0.9.2 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 621 Lines: 14 On 19 Aug 2003 14:07:18 +0100 Alan Cox wrote: > It is messy, but the consistent mask only helps a small subset of cases. > Having an __pci_alloc_foo that took the mask as an argument is (a) > trivial (b) adds almost no code (c) solves the general case problem. (d) Makes implementations have to verify the mask is usable on every mapping attempt. - 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/