summaryrefslogtreecommitdiffstats
path: root/mm/z3fold.c
diff options
context:
space:
mode:
authorWei Yang <richardw.yang@linux.intel.com>2019-12-01 02:50:37 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2019-12-01 15:29:18 +0100
commit408a60eddd206134fd306dfbc53bbde093b8deb0 (patch)
tree9eada5a1b30300eda5723a7dc7a40e246bee4f36 /mm/z3fold.c
parentrss_stat: add support to detect RSS updates of external mm (diff)
downloadlinux-408a60eddd206134fd306dfbc53bbde093b8deb0.tar.xz
linux-408a60eddd206134fd306dfbc53bbde093b8deb0.zip
mm/mmap.c: remove a never-triggered warning in __vma_adjust()
The upper level of "if" makes sure (end >= next->vm_end), which means there are only two possibilities: 1) end == next->vm_end 2) end > next->vm_end remove_next is assigned to be (1 + end > next->vm_end). This means if remove_next is 1, end must equal to next->vm_end. The VM_WARN_ON will never trigger. Link: http://lkml.kernel.org/r/20190912063126.13250-1-richardw.yang@linux.intel.com Signed-off-by: Wei Yang <richardw.yang@linux.intel.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Vlastimil Babka <vbabka@suse.cz> Cc: Yang Shi <yang.shi@linux.alibaba.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/z3fold.c')
0 files changed, 0 insertions, 0 deletions