Re: take7: vector sharing (Large I/O system support)

From: Christoph Hellwig <hch_at_infradead.org>
Date: 2005-03-02 08:51:18
On Tue, Mar 01, 2005 at 11:35:11AM -0800, David Mosberger wrote:
> >>>>> On Mon, 28 Feb 2005 14:10:53 +0900, Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> said:
> 
>   Kenji> Hi Cristoph,
>   >>> +config NR_RTE_CACHES
>   >>> +	int "Number of RTE cache entries"
>   >>> +	depends on IOSAPIC
>   >>> +	default "256"
>   >>> +	help
>   >>> +	  If your system panic with the message "out of rte cache
>   >>> +	  entries!(shortage: XX)", please set this to a larger value.
>   >> 
>   >> 
>   >> This screams for dynamic allocation of the underlying structures, no?
> 
>   Kenji> Some number (NR_RTE_CACHES) of iosapic_rte_info structures are
>   Kenji> statically allocated because this structure might be needed before
>   Kenji> kmalloc is initialized. The panic message mentioned above means we
>   Kenji> run out of these statically allocated structures.
> 
> The problem is naming, I think.  Those aren't "cache entries", they
> are statically preallocated entries.  How about changing the config
> option name to:

Even for early allocations what speaks against alloc_bootmem?

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Mar 1 17:00:32 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:36 EST