diff options
| author | Christoph Lameter <[email protected]> | 2007-07-17 04:03:21 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-07-17 10:23:01 -0700 |
| commit | ef2ad80c7d255ed0449eda947c2d700635b7e0f5 (patch) | |
| tree | bc44916bdb25de29c8211566a4b5a1c041fa8ab6 /include/linux | |
| parent | d45f39cb06610ea456e1d689149b9becacda8b40 (diff) | |
Slab allocators: consolidate code for krealloc in mm/util.c
The size of a kmalloc object is readily available via ksize(). ksize is
provided by all allocators and thus we can implement krealloc in a generic
way.
Implement krealloc in mm/util.c and drop slab specific implementations of
krealloc.
Signed-off-by: Christoph Lameter <[email protected]>
Acked-by: Pekka Enberg <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions