Messages in this thread | | | Date | Mon, 5 Jul 1999 11:47:41 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: 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/
| |