diff options
| author | Christoph Lameter <[email protected]> | 2011-08-09 21:12:26 +0000 |
|---|---|---|
| committer | Pekka Enberg <[email protected]> | 2011-08-19 16:34:27 +0000 |
| commit | 497b66f2ecc97844493e6a147fd5a7e73f73f408 (patch) | |
| tree | 6005da56ead66fca5fb413193bc52ad72a743b7c /drivers/i2c/algos/i2c-algo-bit.c | |
| parent | slub: pass kmem_cache_cpu pointer to get_partial() (diff) | |
| download | kernel-497b66f2ecc97844493e6a147fd5a7e73f73f408.tar.gz kernel-497b66f2ecc97844493e6a147fd5a7e73f73f408.zip | |
slub: return object pointer from get_partial() / new_slab().
There is no need anymore to return the pointer to a slab page from get_partial()
since the page reference can be stored in the kmem_cache_cpu structures "page" field.
Return an object pointer instead.
That in turn allows a simplification of the spaghetti code in __slab_alloc().
Signed-off-by: Christoph Lameter <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions
