+ dma-mapping-make-map_benchmark-compile-into-module.patch added to -mm tree

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

 



The patch titled
     Subject: dma-mapping: make map_benchmark compile into module
has been added to the -mm tree.  Its filename is
     dma-mapping-make-map_benchmark-compile-into-module.patch

This patch should soon appear at
    https://ozlabs.org/~akpm/mmots/broken-out/dma-mapping-make-map_benchmark-compile-into-module.patch
and later at
    https://ozlabs.org/~akpm/mmotm/broken-out/dma-mapping-make-map_benchmark-compile-into-module.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: Tian Tao <tiantao6@xxxxxxxxxxxxx>
Subject: dma-mapping: make map_benchmark compile into module

Under some scenarios, it is necessary to compile map_benchmark into a
module to test iommu, so this patch changes Kconfig and export_symbol to
implement map_benchmark compiled into module.

On the other hand, map_benchmark is a driver, which is supposed to be able
to run as a module.

Link: https://lkml.kernel.org/r/1616552258-22282-1-git-send-email-tiantao6@xxxxxxxxxxxxx
Signed-off-by: Tian Tao <tiantao6@xxxxxxxxxxxxx>
Acked-by: Barry Song <song.bao.hua@xxxxxxxxxxxxx>
Cc: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
Cc: Paul E. McKenney <paulmck@xxxxxxxxxx>
Cc: Alexei Starovoitov <ast@xxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>
Cc: Christoph Hellwig <hch@xxxxxx>
Cc: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 kernel/dma/Kconfig |    2 +-
 kernel/kthread.c   |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

--- a/kernel/dma/Kconfig~dma-mapping-make-map_benchmark-compile-into-module
+++ a/kernel/dma/Kconfig
@@ -223,7 +223,7 @@ config DMA_API_DEBUG_SG
 	  If unsure, say N.
 
 config DMA_MAP_BENCHMARK
-	bool "Enable benchmarking of streaming DMA mapping"
+	tristate "Enable benchmarking of streaming DMA mapping"
 	depends on DEBUG_FS
 	help
 	  Provides /sys/kernel/debug/dma_map_benchmark that helps with testing
--- a/kernel/kthread.c~dma-mapping-make-map_benchmark-compile-into-module
+++ a/kernel/kthread.c
@@ -455,6 +455,7 @@ void kthread_bind_mask(struct task_struc
 {
 	__kthread_bind_mask(p, mask, TASK_UNINTERRUPTIBLE);
 }
+EXPORT_SYMBOL(kthread_bind_mask);
 
 /**
  * kthread_bind - bind a just-created kthread to a cpu.
_

Patches currently in -mm which might be from tiantao6@xxxxxxxxxxxxx are

dma-mapping-make-map_benchmark-compile-into-module.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