All of lore.kernel.org
 help / color / mirror / Atom feed
* + mm-nommu-kill-arch_get_unmapped_area.patch added to -mm tree
@ 2021-09-11 22:16 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2021-09-11 22:16 UTC (permalink / raw)
  To: mm-commits, wangkefeng.wang


The patch titled
     Subject: mm: nommu: kill arch_get_unmapped_area()
has been added to the -mm tree.  Its filename is
     mm-nommu-kill-arch_get_unmapped_area.patch

This patch should soon appear at
    https://ozlabs.org/~akpm/mmots/broken-out/mm-nommu-kill-arch_get_unmapped_area.patch
and later at
    https://ozlabs.org/~akpm/mmotm/broken-out/mm-nommu-kill-arch_get_unmapped_area.patch

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 and is updated
there every 3-4 working days

------------------------------------------------------
From: Kefeng Wang <wangkefeng.wang@huawei.com>
Subject: mm: nommu: kill arch_get_unmapped_area()

When nommu, the arch_get_unmapped_area() will not be called, just kill it.

Link: https://lkml.kernel.org/r/20210910061906.36299-1-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/nommu.c |    6 ------
 1 file changed, 6 deletions(-)

--- a/mm/nommu.c~mm-nommu-kill-arch_get_unmapped_area
+++ a/mm/nommu.c
@@ -1639,12 +1639,6 @@ int remap_vmalloc_range(struct vm_area_s
 }
 EXPORT_SYMBOL(remap_vmalloc_range);
 
-unsigned long arch_get_unmapped_area(struct file *file, unsigned long addr,
-	unsigned long len, unsigned long pgoff, unsigned long flags)
-{
-	return -ENOMEM;
-}
-
 vm_fault_t filemap_fault(struct vm_fault *vmf)
 {
 	BUG();
_

Patches currently in -mm which might be from wangkefeng.wang@huawei.com are

mm-nommu-kill-arch_get_unmapped_area.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-11 22:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-11 22:16 + mm-nommu-kill-arch_get_unmapped_area.patch added to -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.