diff options
author | Ezequiel Garcia <[email protected]> | 2012-10-22 09:04:31 -0300 |
---|---|---|
committer | Pekka Enberg <[email protected]> | 2012-10-31 08:53:54 +0200 |
commit | 8cf9864b1382851d90c7c505f8441c8928f1469e (patch) | |
tree | 0636c421980945c29706658d00d045f8089d486e /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | 242860a47a75b933a79a30f6a40bf4858f4a3ecc (diff) |
mm/slob: Use free_page instead of put_page for page-size kmalloc allocations
When freeing objects, the slob allocator currently free empty pages
calling __free_pages(). However, page-size kmallocs are disposed
using put_page() instead.
It makes no sense to call put_page() for kernel pages that are provided
by the object allocator, so we shouldn't be doing this ourselves.
This is based on:
commit d9b7f22623b5fa9cc189581dcdfb2ac605933bf4
Author: Glauber Costa <[email protected]>
slub: use free_page instead of put_page for freeing kmalloc allocation
Cc: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: Matt Mackall <[email protected]>
Acked-by: Glauber Costa <[email protected]>
Signed-off-by: Ezequiel Garcia <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions