+ mm-allow-compound-zone-device-pages-fix-fix.patch added to mm-unstable branch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: mm-allow-compound-zone-device-pages-fix-fix
has been added to the -mm mm-unstable branch.  Its filename is
     mm-allow-compound-zone-device-pages-fix-fix.patch

This patch will shortly appear at
     https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-allow-compound-zone-device-pages-fix-fix.patch

This patch will later appear in the mm-unstable branch at
    git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days

------------------------------------------------------
From: Balbir Singh <balbirs@xxxxxxxxxx>
Subject: mm-allow-compound-zone-device-pages-fix-fix
Date: Fri, 21 Feb 2025 12:27:49 +1100

 - Add {} around the if statement as per coding style
 - Add Reviewed-by/Acked-by tags

Link: https://lkml.kernel.org/r/20250219231337.364133-1-balbirs@xxxxxxxxxx
Link: https://lkml.kernel.org/r/20250221012749.506513-1-balbirs@xxxxxxxxxx
Signed-off-by: Balbir Singh <balbirs@xxxxxxxxxx>
Reviewed-by: Alistair Popple <apopple@xxxxxxxxxx>
Acked-by: David Hildenbrand <david@xxxxxxxxxx>
Cc: Jason Gunthorpe <jgg@xxxxxxxx>
Cc: Dan Williams <dan.j.williams@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/migrate_device.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/mm/migrate_device.c~mm-allow-compound-zone-device-pages-fix-fix
+++ a/mm/migrate_device.c
@@ -154,9 +154,9 @@ again:
 			}
 			page = vm_normal_page(migrate->vma, addr, pte);
 			if (page && !is_zone_device_page(page) &&
-			    !(migrate->flags & MIGRATE_VMA_SELECT_SYSTEM))
+			    !(migrate->flags & MIGRATE_VMA_SELECT_SYSTEM)) {
 				goto next;
-			else if (page && is_device_coherent_page(page)) {
+			} else if (page && is_device_coherent_page(page)) {
 				pgmap = page_pgmap(page);
 
 				if (!(migrate->flags &
_

Patches currently in -mm which might be from balbirs@xxxxxxxxxx are

mm-allow-compound-zone-device-pages-fix.patch
mm-allow-compound-zone-device-pages-fix-fix.patch





[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux