+ mm-export-cma-alloc-and-release.patch added to -mm tree

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

 



The patch titled
     Subject: mm: export cma_alloc() and cma_release()
has been added to the -mm tree.  Its filename is
     mm-export-cma-alloc-and-release.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/mm-export-cma-alloc-and-release.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/mm-export-cma-alloc-and-release.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: Mark Salyzyn <salyzyn@xxxxxxxxxxx>
Subject: mm: export cma_alloc() and cma_release()

Some drivers can not be turned into a module without cma_alloc() and
cma_release() exported.  Examples include ion, and we also found some out
of tree infiniband and camera drivers.

Link: http://lkml.kernel.org/r/20191002212257.196849-1-salyzyn@xxxxxxxxxxx
Signed-off-by: Mark Salyzyn <salyzyn@xxxxxxxxxxx>
Cc: Mark Salyzyn <salyzyn@xxxxxxxxxxx>
Cc: Yue Hu <huyue2@xxxxxxxxxx>
Cc: Mike Rapoport <rppt@xxxxxxxxxxxxx>
Cc: Catalin Marinas <catalin.marinas@xxxxxxx>
Cc: Will Deacon <will@xxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Ryohei Suzuki <ryh.szk.cmnty@xxxxxxxxx>
Cc: Doug Berger <opendmb@xxxxxxxxx>
Cc: Andrey Konovalov <andreyknvl@xxxxxxxxxx>
Cc: Peng Fan <peng.fan@xxxxxxx>
Cc: Laura Abbott <labbott@xxxxxxxxxx>
Cc: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/cma.c |    2 ++
 1 file changed, 2 insertions(+)

--- a/mm/cma.c~mm-export-cma-alloc-and-release
+++ a/mm/cma.c
@@ -500,6 +500,7 @@ struct page *cma_alloc(struct cma *cma,
 	pr_debug("%s(): returned %p\n", __func__, page);
 	return page;
 }
+EXPORT_SYMBOL_GPL(cma_alloc);
 
 /**
  * cma_release() - release allocated pages
@@ -533,6 +534,7 @@ bool cma_release(struct cma *cma, const
 
 	return true;
 }
+EXPORT_SYMBOL_GPL(cma_release);
 
 int cma_for_each_area(int (*it)(struct cma *cma, void *data), void *data)
 {
_

Patches currently in -mm which might be from salyzyn@xxxxxxxxxxx are

mm-export-cma-alloc-and-release.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