commit | 7dd80b8af0bcd705a9ef2fa272c082882616a499 | [log] [tgz] |
---|---|---|
author | Vlastimil Babka <[email protected]> | Tue Mar 15 14:56:12 2016 -0700 |
committer | Linus Torvalds <[email protected]> | Tue Mar 15 16:55:16 2016 -0700 |
tree | 75048a0e7ff2648c59b1a23640e202653fa1aa27 | |
parent | 60f30350fd69a3e4d5f0f45937d3274c22565134 [diff] |
mm, page_owner: convert page_owner_inited to static key CONFIG_PAGE_OWNER attempts to impose negligible runtime overhead when enabled during compilation, but not actually enabled during runtime by boot param page_owner=on. This overhead can be further reduced using the static key mechanism, which this patch does. Signed-off-by: Vlastimil Babka <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: Joonsoo Kim <[email protected]> Cc: Minchan Kim <[email protected]> Cc: Sasha Levin <[email protected]> Cc: "Kirill A. Shutemov" <[email protected]> Cc: Mel Gorman <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>