Re: + ia64-mmap-consider-pgoff-when-searching-for-free-mapping.patch added to mm-nonmm-unstable branch

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

 



Hi Andrew,

thanks for taking care!
But this patch is already upstreamed via Jens' io_uring tree, so
you can drop it from your patch series.

Thanks!
Helge


On 7/24/23 19:24, Andrew Morton wrote:
The patch titled
      Subject: ia64: mmap: consider pgoff when searching for free mapping
has been added to the -mm mm-nonmm-unstable branch.  Its filename is
      ia64-mmap-consider-pgoff-when-searching-for-free-mapping.patch

This patch will shortly appear at
      https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/ia64-mmap-consider-pgoff-when-searching-for-free-mapping.patch

This patch will later appear in the mm-nonmm-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: Helge Deller <deller@xxxxxx>
Subject: ia64: mmap: consider pgoff when searching for free mapping
Date: Fri, 21 Jul 2023 17:24:32 +0200

IA64 is the only architecture which does not consider the pgoff value when
searching for a possible free memory region with vm_unmapped_area().
Adding this seems to have no negative side effect on IA64, so add it now
to make IA64 consistent with all other architectures.

Link: https://lkml.kernel.org/r/20230721152432.196382-3-deller@xxxxxx
Signed-off-by: Helge Deller <deller@xxxxxx>
Tested-by: matoro <matoro_mailinglist_kernel@xxxxxxxxx>
Cc: Jens Axboe <axboe@xxxxxxxxx>
Cc: Jiri Slaby <jirislaby@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

  arch/ia64/kernel/sys_ia64.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/ia64/kernel/sys_ia64.c~ia64-mmap-consider-pgoff-when-searching-for-free-mapping
+++ a/arch/ia64/kernel/sys_ia64.c
@@ -63,7 +63,7 @@ arch_get_unmapped_area (struct file *fil
  	info.low_limit = addr;
  	info.high_limit = TASK_SIZE;
  	info.align_mask = align_mask;
-	info.align_offset = 0;
+	info.align_offset = pgoff << PAGE_SHIFT;
  	return vm_unmapped_area(&info);
  }

_

Patches currently in -mm which might be from deller@xxxxxx are

ia64-mmap-consider-pgoff-when-searching-for-free-mapping.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