Jes Sorensen schrieb:
> >>>>> "Christian" == Christian Hildner <christian.hildner@hob.de> writes:
>
> Christian> Jes Sorensen schrieb:
> >> Because drivers needs to work on all architectures and relying on
> >> different hahavior from kmalloc() is bad.
>
> Christian> sorry for being unclear. I mean from increasing the kmalloc()
> Christian> size-limit all platforms would benefit.
>
> Thats not really a good idea, and definately not something you want to
> rely on. A lot of architectures are still stuck with 4KB pages and
> trying to allocate 128KB on larger in one chunk is likely to fail after
> the system has been running for a while. On an ia64 with 16KB or 64KB
> pages it's fairly likely it will work, but this is not necessarily a
> good idea to do for other archs. If you need such a large block of
> memory, vmalloc() is the real way to go.
>
> Jes
I think you are right. Memory fragmentation will become a real problem on
small machines.
Christian
-
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/
This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:00:16 EST