commit | 4f098af514d2608b74025a27faecc24cce238b71 | [log] [tgz] |
---|---|---|
author | Vitaly Kuznetsov <vkuznets@redhat.com> | Sun Mar 04 22:17:20 2018 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Mar 06 09:57:17 2018 -0800 |
tree | 1b673fba56353dbc0aa65c07555d911b18c5e230 | |
parent | 223e1e4d2c16fed4ce7d0a092316eff1ba706988 [diff] |
hv_balloon: simplify hv_online_page()/hv_page_online_one() Instead of doing pfn_to_page() and continuosly casting page to unsigned long just cache the pfn of the page with page_to_pfn(). Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>