lkml.org 
[lkml]   [1999]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: request_region: dynamic allocation


On Mon, 5 Jul 1999, Martin Mares wrote:
>
> I'd like to drop the static array from kernel/resource.c (the number of
> regions in systems with lots of PCI boards can grow pretty high) and replace it
> by dynamic allocation of resource buckets. However, request_region() can be
> called before the MM gets initialized (for example in arch/i386/kernel/setup.c
> or in console init). I'd like to know your opinion on what path should we
> choose:
>
> - "head in the sand" strategy -- just ignore the problem and if it bites
> us, increase the array size.
>
> - Try moving all resource mgmt calls after MM init.

I'd do the latter. The setup calls can certainly just be moved - no point
in messing up the system just because we had some strange bootup sequence.
Doing special memory management is just too ugly.

Linus


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.034 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site