]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - mm/hugetlb.c
Merge tag 'for-4.21' of git://git.sourceforge.jp/gitroot/uclinux-h8/linux
[mirror_ubuntu-jammy-kernel.git] / mm / hugetlb.c
index e37efd5d831830123ca117a0efec6eead901eaa7..7450888109651f8974de4c04cab9a91ef7309932 100644 (file)
@@ -4231,7 +4231,7 @@ long follow_hugetlb_page(struct mm_struct *mm, struct vm_area_struct *vma,
                 * If we have a pending SIGKILL, don't keep faulting pages and
                 * potentially allocating memory.
                 */
-               if (unlikely(fatal_signal_pending(current))) {
+               if (fatal_signal_pending(current)) {
                        remainder = 0;
                        break;
                }