diff options
author | Naoya Horiguchi <nao.horiguchi@gmail.com> | 2019-11-30 17:53:38 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-12-01 12:59:04 -0800 |
commit | feec24a6139d4640c6ef344e0271a8cd4d509e60 (patch) | |
tree | bcb31e54e3678009462f05ea74962817efa98843 /.cocciconfig | |
parent | 996ff7a08dae591f5e87852281477d26a83b393c (diff) | |
download | linux-feec24a6139d4640c6ef344e0271a8cd4d509e60.tar.bz2 |
mm, soft-offline: convert parameter to pfn
Currently soft_offline_page() receives struct page, and its sibling
memory_failure() receives pfn. This discrepancy looks weird and makes
precheck on pfn validity tricky. So let's align them.
Link: http://lkml.kernel.org/r/20191016234706.GA5493@www9186uo.sakura.ne.jp
Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Cc: David Hildenbrand <david@redhat.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Oscar Salvador <osalvador@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions