* [patch 1/1] export eventfd symbols ...
@ 2007-05-14 21:34 Davide Libenzi
2007-05-14 21:42 ` Christoph Hellwig
0 siblings, 1 reply; 5+ messages in thread
From: Davide Libenzi @ 2007-05-14 21:34 UTC (permalink / raw)
To: Linux Kernel Mailing List; +Cc: Andrew Morton
Export eventfd kernel functions to modules.
Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
- Davide
Index: linux-2.6.21-git17.epmod/fs/eventfd.c
===================================================================
--- linux-2.6.21-git17.epmod.orig/fs/eventfd.c 2007-05-14 14:27:29.000000000 -0700
+++ linux-2.6.21-git17.epmod/fs/eventfd.c 2007-05-14 14:28:16.000000000 -0700
@@ -55,6 +55,7 @@
return n;
}
+EXPORT_SYMBOL_GPL(eventfd_signal);
static int eventfd_release(struct inode *inode, struct file *file)
{
@@ -197,6 +198,7 @@
return file;
}
+EXPORT_SYMBOL_GPL(eventfd_fget);
asmlinkage long sys_eventfd(unsigned int count)
{
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [patch 1/1] export eventfd symbols ...
2007-05-14 21:34 [patch 1/1] export eventfd symbols Davide Libenzi
@ 2007-05-14 21:42 ` Christoph Hellwig
2007-05-14 21:45 ` Davide Libenzi
0 siblings, 1 reply; 5+ messages in thread
From: Christoph Hellwig @ 2007-05-14 21:42 UTC (permalink / raw)
To: Davide Libenzi; +Cc: Linux Kernel Mailing List, Andrew Morton
On Mon, May 14, 2007 at 02:34:53PM -0700, Davide Libenzi wrote:
> Export eventfd kernel functions to modules.
Why?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [patch 1/1] export eventfd symbols ...
2007-05-14 21:42 ` Christoph Hellwig
@ 2007-05-14 21:45 ` Davide Libenzi
2007-05-14 21:51 ` Andrew Morton
0 siblings, 1 reply; 5+ messages in thread
From: Davide Libenzi @ 2007-05-14 21:45 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: Linux Kernel Mailing List, Andrew Morton
On Mon, 14 May 2007, Christoph Hellwig wrote:
> On Mon, May 14, 2007 at 02:34:53PM -0700, Davide Libenzi wrote:
> > Export eventfd kernel functions to modules.
>
> Why?
KVM developers asked for it. It seem they'll be using eventfd to signal
events to userspace.
- Davide
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [patch 1/1] export eventfd symbols ...
2007-05-14 21:45 ` Davide Libenzi
@ 2007-05-14 21:51 ` Andrew Morton
2007-05-14 21:54 ` Davide Libenzi
0 siblings, 1 reply; 5+ messages in thread
From: Andrew Morton @ 2007-05-14 21:51 UTC (permalink / raw)
To: Davide Libenzi; +Cc: Christoph Hellwig, Linux Kernel Mailing List, Avi Kivity
On Mon, 14 May 2007 14:45:26 -0700 (PDT)
Davide Libenzi <davidel@xmailserver.org> wrote:
> On Mon, 14 May 2007, Christoph Hellwig wrote:
>
> > On Mon, May 14, 2007 at 02:34:53PM -0700, Davide Libenzi wrote:
> > > Export eventfd kernel functions to modules.
> >
> > Why?
>
> KVM developers asked for it. It seem they'll be using eventfd to signal
> events to userspace.
>
yeah, there's no really easy way of doing this. Probably it's best if
these exports get merged via the KVM git tree, once the proposed KVM
changes have been suitably reviewed.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [patch 1/1] export eventfd symbols ...
2007-05-14 21:51 ` Andrew Morton
@ 2007-05-14 21:54 ` Davide Libenzi
0 siblings, 0 replies; 5+ messages in thread
From: Davide Libenzi @ 2007-05-14 21:54 UTC (permalink / raw)
To: Andrew Morton; +Cc: Christoph Hellwig, Linux Kernel Mailing List, Avi Kivity
On Mon, 14 May 2007, Andrew Morton wrote:
> On Mon, 14 May 2007 14:45:26 -0700 (PDT)
> Davide Libenzi <davidel@xmailserver.org> wrote:
>
> > On Mon, 14 May 2007, Christoph Hellwig wrote:
> >
> > > On Mon, May 14, 2007 at 02:34:53PM -0700, Davide Libenzi wrote:
> > > > Export eventfd kernel functions to modules.
> > >
> > > Why?
> >
> > KVM developers asked for it. It seem they'll be using eventfd to signal
> > events to userspace.
> >
>
> yeah, there's no really easy way of doing this. Probably it's best if
> these exports get merged via the KVM git tree, once the proposed KVM
> changes have been suitably reviewed.
That sounds reasonable.
- Davide
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-05-14 21:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-14 21:34 [patch 1/1] export eventfd symbols Davide Libenzi
2007-05-14 21:42 ` Christoph Hellwig
2007-05-14 21:45 ` Davide Libenzi
2007-05-14 21:51 ` Andrew Morton
2007-05-14 21:54 ` Davide Libenzi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.