commit | a6ffdc07847e74cc244c02ab6d0351a4a5d77281 | [log] [tgz] |
---|---|---|
author | Xishi Qiu <[email protected]> | Wed May 03 14:52:52 2017 -0700 |
committer | Linus Torvalds <[email protected]> | Wed May 03 15:52:08 2017 -0700 |
tree | e23f763ce214062030a7cc3fb89f4f31a6cf265a | |
parent | 322b8afe4a65906c133102532e63a278775cc5f0 [diff] |
mm: use is_migrate_highatomic() to simplify the code Introduce two helpers, is_migrate_highatomic() and is_migrate_highatomic_page(). Simplify the code, no functional changes. [[email protected]: use static inlines rather than macros, per mhocko] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Xishi Qiu <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: Vlastimil Babka <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Minchan Kim <[email protected]> Cc: Joonsoo Kim <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>