Re: [RFC INFO PATCH 02/03] export use_mm and unuse_mm for filesystem modules.

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

 



Maybe, you should send this patch to

Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Andrea Arcangeli <aarcange@xxxxxxxxxx>
Michael S. Tsirkin <mst@xxxxxxxxxx>
linux-kernel@xxxxxxxxxxxxxxx
linux-mm@xxxxxxxxx


于 2010年01月20日 05:58, jim owens 写道:
required for btrfs directio worker threads.

Signed-off-by: jim owens<jowens@xxxxxx>
---
mm/mmu_context.c |    3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/mm/mmu_context.c b/mm/mmu_context.c
index ded9081..daabf4d 100644
--- a/mm/mmu_context.c
+++ b/mm/mmu_context.c
@@ -3,6 +3,7 @@
  * See ../COPYING for licensing terms.
  */

+#include<linux/module.h>
#include<linux/mm.h>
#include<linux/mmu_context.h>
#include<linux/sched.h>
@@ -37,6 +38,7 @@ void use_mm(struct mm_struct *mm)
     if (active_mm != mm)
         mmdrop(active_mm);
}
+EXPORT_SYMBOL_GPL(use_mm);

/*
  * unuse_mm
@@ -56,3 +58,4 @@ void unuse_mm(struct mm_struct *mm)
     enter_lazy_tlb(mm, tsk);
     task_unlock(tsk);
}
+EXPORT_SYMBOL_GPL(unuse_mm);

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux