summaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
authorWei Yang <richard.weiyang@linux.alibaba.com>2020-10-13 16:56:23 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-10-13 18:38:34 -0700
commita1ddc2e8250eb550733a3f257ea299a84492d8a7 (patch)
treeb16ae8fa446f54e5737ec954c6ee280cf7a4c563 /mm/slab.c
parent7db5e7b67e3e8d7aa96beb2a4551d211b76a05ba (diff)
downloadlinux-a1ddc2e8250eb550733a3f257ea299a84492d8a7.tar.gz
linux-a1ddc2e8250eb550733a3f257ea299a84492d8a7.tar.bz2
linux-a1ddc2e8250eb550733a3f257ea299a84492d8a7.zip
mm/hugetlb: remove VM_BUG_ON(!nrg) in get_file_region_entry_from_cache()
We are sure to get a valid file_region, otherwise the VM_BUG_ON(resv->region_cache_count <= 0) at the very beginning would be triggered. Let's remove the redundant one. Signed-off-by: Wei Yang <richard.weiyang@linux.alibaba.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com> Cc: Baoquan He <bhe@redhat.com> Cc: Vlastimil Babka <vbabka@suse.cz> Link: https://lkml.kernel.org/r/20200831022351.20916-3-richard.weiyang@linux.alibaba.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slab.c')
0 files changed, 0 insertions, 0 deletions