[nacked] dma-mapping-make-map_benchmark-compile-into-module.patch removed from -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 removed from the -mm tree.  Its filename was
     dma-mapping-make-map_benchmark-compile-into-module.patch

This patch was dropped because it was nacked

------------------------------------------------------
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





[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