diff options
author | Joonsoo Kim <js1304@gmail.com> | 2012-05-17 11:47:47 -0400 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2012-05-18 05:28:06 -0400 |
commit | c03f94ccbd67fbcf546e5a9fcfeb99ef0aca4ada (patch) | |
tree | c4b107833f17e6812778b25ac942dde7db1dd711 /mm | |
parent | 02d7633fa567be7bf55a993b79d2a31b95ce2227 (diff) |
slub: use __SetPageSlab function to set PG_slab flag
To set page-flag, using SetPageXXXX() and __SetPageXXXX() is more
understandable and maintainable. So change it.
Signed-off-by: Joonsoo Kim <js1304@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/slub.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1369,7 +1369,7 @@ static struct page *new_slab(struct kmem_cache *s, gfp_t flags, int node) | |||
1369 | 1369 | ||
1370 | inc_slabs_node(s, page_to_nid(page), page->objects); | 1370 | inc_slabs_node(s, page_to_nid(page), page->objects); |
1371 | page->slab = s; | 1371 | page->slab = s; |
1372 | page->flags |= 1 << PG_slab; | 1372 | __SetPageSlab(page); |
1373 | 1373 | ||
1374 | start = page_address(page); | 1374 | start = page_address(page); |
1375 | 1375 | ||