Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760818AbXEJOIu (ORCPT ); Thu, 10 May 2007 10:08:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752043AbXEJOIk (ORCPT ); Thu, 10 May 2007 10:08:40 -0400 Received: from khc.piap.pl ([195.187.100.11]:45653 "EHLO khc.piap.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751908AbXEJOIj (ORCPT ); Thu, 10 May 2007 10:08:39 -0400 To: Lennert Buytenhek Cc: Michael-Luke Jones , Jeff Garzik , netdev@vger.kernel.org, lkml , Russell King , ARM Linux Mailing List Subject: Re: [PATCH] Intel IXP4xx network drivers v.3 - QMGR References: <5BB7E1AB-5CE1-43C8-8CE3-E0DE0236BD09@cam.ac.uk> <86D26EBE-5899-468F-9C79-23E83E0DE04B@cam.ac.uk> <20070508113232.GA32055@xi.wantstofly.org> <20070508144001.GC387@xi.wantstofly.org> <20070509102136.GG6976@xi.wantstofly.org> From: Krzysztof Halasa Date: Thu, 10 May 2007 16:08:35 +0200 In-Reply-To: <20070509102136.GG6976@xi.wantstofly.org> (Lennert Buytenhek's message of "Wed, 9 May 2007 12:21:36 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1085 Lines: 28 Lennert Buytenhek writes: > The way I see it, that means that you do want to scale back your > other SRAM allocations if you know that you're going to need a lot > of SRAM (say, for ethernet RX/TX queues.) Yep, I will then add "queue_size" parameter to the platform data. Or something like that. > Or you can put this knowledge in the board support code (cleaner, IMHO.) Sure. > That way, you can _guarantee_ that you'll always have enough SRAM > to be able to use the functionality that is exposed on the board you > are running on (which is a desirable property, IMHO), which is > something that you can't achieve with an allocator, as far as I can > see. I'd have to put SRAM address in the board code instead. Certainly not required at this point, and perhaps it will be never needed. -- Krzysztof Halasa - 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/