* [RFC INFO PATCH 02/03] export use_mm and unuse_mm for filesystem modules.
@ 2010-01-19 21:58 jim owens
2010-01-19 23:37 ` Liuwenyi
0 siblings, 1 reply; 4+ messages in thread
From: jim owens @ 2010-01-19 21:58 UTC (permalink / raw)
To: linux-btrfs
required for btrfs directio worker threads.
Signed-off-by: jim owens <jowens@hp.com>
---
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);
--
1.5.6.3
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [RFC INFO PATCH 02/03] export use_mm and unuse_mm for filesystem modules.
2010-01-19 21:58 [RFC INFO PATCH 02/03] export use_mm and unuse_mm for filesystem modules jim owens
@ 2010-01-19 23:37 ` Liuwenyi
2010-01-20 13:34 ` jim owens
0 siblings, 1 reply; 4+ messages in thread
From: Liuwenyi @ 2010-01-19 23:37 UTC (permalink / raw)
To: jim owens; +Cc: linux-btrfs
Maybe, you should send this patch to
Andrew Morton <akpm@linux-foundation.org>
Andrea Arcangeli <aarcange@redhat.com>
Michael S. Tsirkin <mst@redhat.com>
linux-kernel@vger.kernel.org
linux-mm@kvack.org
=E4=BA=8E 2010=E5=B9=B401=E6=9C=8820=E6=97=A5 05:58, jim owens =E5=86=99=
=E9=81=93:
> required for btrfs directio worker threads.
>
> Signed-off-by: jim owens<jowens@hp.com>
> ---
> 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 !=3D 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);
> =20
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFC INFO PATCH 02/03] export use_mm and unuse_mm for filesystem modules.
2010-01-19 23:37 ` Liuwenyi
@ 2010-01-20 13:34 ` jim owens
2010-01-20 17:08 ` jim owens
0 siblings, 1 reply; 4+ messages in thread
From: jim owens @ 2010-01-20 13:34 UTC (permalink / raw)
To: Liuwenyi; +Cc: linux-btrfs
Liuwenyi wrote:
> Maybe, you should send this patch to
>
> Andrew Morton <akpm@linux-foundation.org>
> Andrea Arcangeli <aarcange@redhat.com>
> Michael S. Tsirkin <mst@redhat.com>
> linux-kernel@vger.kernel.org
> linux-mm@kvack.org
I said in [00] that I sent this patch to Andrew.
What I did not say was it was sent on December 9, 2009
to every addess on your list, except for Andrea.
jim
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFC INFO PATCH 02/03] export use_mm and unuse_mm for filesystem modules.
2010-01-20 13:34 ` jim owens
@ 2010-01-20 17:08 ` jim owens
0 siblings, 0 replies; 4+ messages in thread
From: jim owens @ 2010-01-20 17:08 UTC (permalink / raw)
To: Liuwenyi, linux-btrfs
jim owens wrote:
>
> What I did not say was it was sent on December 9, 2009
> to every addess on your list, except for Andrea.
OK, as josef told me, the patch is corrupt and will not apply.
I am sending a new one I just made against btrfs-unstable
to linux-btrfs and will create a new patch for Andrew
when the directIO code has been tested.
jim
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-01-20 17:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-19 21:58 [RFC INFO PATCH 02/03] export use_mm and unuse_mm for filesystem modules jim owens
2010-01-19 23:37 ` Liuwenyi
2010-01-20 13:34 ` jim owens
2010-01-20 17:08 ` jim owens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox