Messages in this thread |  | | Date | Sun, 02 Sep 2001 14:48:39 +0100 | | From | Alex Bligh - linux-kernel <> | | Subject | Re: Memory Problem in 2.4.10-pre2 / __alloc_pages failed |
| |
> Or/and we could remove the sources of higher order allocs, as an example: > why is the SCSI layer allowed to allocate order 3 allocs (32 kB) several > times per second? Will we really get a performance hit by not allowing > higher order allocs in active driver code?
Or put them in some slab like code, the slab for which gets allocated early on when memory is not fragmented, and (nearly) never gets released. Most of the stuff that actually NEEDS atomic allocation (as opposed to some of the requirements that are bogus) are for packets / data in flight. There is probably a finite amount of this at any given time.
-- Alex Bligh - 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/
|  |