commit | 168d30d777267db4dd201d16204648e6f4ac5e97 | [log] [tgz] |
---|---|---|
author | Michal Hocko <mhocko@suse.com> | Tue Jul 18 15:02:16 2017 +0200 |
committer | Michal Hocko <mhocko@suse.com> | Tue Jul 18 17:45:33 2017 +0200 |
tree | e669d961cb74d7f18bc16c3c86d2f64ae1c2f1d0 | |
parent | 0e8e117a76b94b298cd6019cf6e28d1ed9280115 [diff] |
mm, sparse: complain about implicit altmap usage in vmemmap_populate All current users of the altmap are in the memory hotplug code and they use __vmemmap_populate explicitly (via __sparse_mem_map_populate). Complain if somebody uses vmemmap_populate with altmap registered because that could be an unexpected usage. Also call __vmemmap_populate with NULL from that code path. Signed-off-by: Michal Hocko <mhocko@suse.com>