On Friday 24 February 2012, Marek Szyprowski wrote:
I want to use some kind of chained arrays, each of at most of PAGE_SIZE. This code doesn't really need to keep these page pointers in contiguous virtual memory area, so it will not be a problem here.
Sounds like sg_alloc_table(), could you reuse that instead of rolling your own?
Arnd