Messages in this thread | | | From | Lee Rhodes <> | Subject | RE: kmalloc()'ing greater than 128k | Date | Wed, 3 Nov 1999 06:28:19 -0500 |
| |
> Indeed the maximum kmalloc() size is 128k. The maximum size of page > allocations in 2.2 & 2.3 is 2MB, you should use __get_free_page() & > free_page(). I assume this allocates single pages (1024 bytes) and I would need to use __get_free_pages() specifying the best fit. I'll need to track the allocations though so when it comes to free_page()'ing I use the right 'order' value.
> But vmalloc() should really work just fine, as long as you do > not try to DMA into it without being careful. No DMA involved.
> What kernel shows this 'crawling' behavior? I'm RedHat'ing with 2.2.5-15.
> kmalloc() allocates physically continuous memory as well. So what are the chances of kmalloc(102400) x 3 and the three malloc'ed areas being continuous :)?
Thanks, L
- 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/
| |