Hi!
> Cool. If you could send us the patches (and Christoph agrees), this could
> go into CVS right away and possibly help QfG2 a bit.
Ok, I could send it to you
But firstly I'd like to enlarge pool usability
Right now it's only used by lists and nodes, but I want to make it more flexible
For example, add type parametr for example: pool_free, pool_list, pool_node and so on
And extend the following macros
Change POOL_ALLOCATE to POOL_LIST_ALLOCATE and POOL_NODE_ALLOCATE
Add more check to GET_POOL and PUT_POOL
For example kNewNode now look like:
heap_ptr nodebase = POOL_ALLOCATE (8); /* instead of heap_allocate */
if (!nodebase) {
KERNEL_OOPS
return 0;
}
PUT_POOL (nodebase, LIST_PREVIOUS_NODE, 0); /* instead of PUT_HEAP (nodebase +
LIST_PREVIOUS_NODE, 0); */
So I changed all list refernces in klists, kstrings and kgraphics
I finish with additional check today evening and can send you a patch
HTH,
NIkita
>