diff options
author | Michel Lespinasse <[email protected]> | 2012-08-14 14:53:20 -0700 |
---|---|---|
committer | Pekka Enberg <[email protected]> | 2012-08-16 09:32:19 +0300 |
commit | 48f2474144ac708f1faad97e82a863ca8214b602 (patch) | |
tree | 93ee03853f20d4dafe041d9ddf5641bd7437559a /net/lapb/lapb_iface.c | |
parent | d9b7f22623b5fa9cc189581dcdfb2ac605933bf4 (diff) |
slab: do not call compound_head() in page_get_cache()
page_get_cache() does not need to call compound_head(), as its unique
caller virt_to_slab() already makes sure to return a head page.
Additionally, removing the compound_head() call makes page_get_cache()
consistent with page_get_slab().
Signed-off-by: Michel Lespinasse <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[email protected]>
Acked-by: David Rientjes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions