[PATCH] [5/8] CPA: Move pool allocation/free into separate functions

2008-02-11 Thread Andi Kleen
Following up the previous ifdef patch this moves the pool allocation/free code into separate functions. Minor drawback is that the pgd_lock is now taken more times (this was needed to separate the with/without DEBUG_PAGEALLOC cases cleanly), but the additional lock only hits in the

[PATCH] [5/8] CPA: Move pool allocation/free into separate functions

2008-02-11 Thread Andi Kleen
Following up the previous ifdef patch this moves the pool allocation/free code into separate functions. Minor drawback is that the pgd_lock is now taken more times (this was needed to separate the with/without DEBUG_PAGEALLOC cases cleanly), but the additional lock only hits in the