[PATCH 2/4] mm: drop zap_details::check_swap_entries

2016-12-19 Thread Kirill A. Shutemov
detail == NULL would give the same functionality as .check_swap_entries==true. Signed-off-by: Kirill A. Shutemov Acked-by: Michal Hocko --- include/linux/mm.h | 1 - mm/memory.c| 4 ++-- mm/oom_kill.c | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/include/l

Re: [PATCH 2/4] mm: drop zap_details::check_swap_entries

2016-12-19 Thread Michal Hocko
On Fri 16-12-16 17:15:54, Kirill A. Shutemov wrote: > detail == NULL would give the same functionality as > .check_swap_entries==true. Yes, now that check_swap_entries is the only used flag from there we can safely rely on detail == NULL check. > Signed-off-by: Kirill A. Shutemov Acked-by: Mich

[PATCH 2/4] mm: drop zap_details::check_swap_entries

2016-12-16 Thread Kirill A. Shutemov
detail == NULL would give the same functionality as .check_swap_entries==true. Signed-off-by: Kirill A. Shutemov --- include/linux/mm.h | 1 - mm/memory.c| 4 ++-- mm/oom_kill.c | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/include/linux/mm.h b/include/linu