Messages in this thread |  | | Subject | Re: A question about memory fragmentation | Date | Tue, 7 Nov 2000 16:38:26 +0000 (GMT) | From | Alan Cox <> |
| |
> I think that is better to allocate a big piece of memory and get the n= > odes > from this buffer with my own memory management functions; Is this corre= > ct?.
See the SLAB interface. It'll do that for you. Kmalloc uses SLAB so will do similarly sane things
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |