[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1359691579.5642.14.camel@gandalf.local.home>
Date: Thu, 31 Jan 2013 23:06:19 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Li Zefan <lizefan@...wei.com>
Cc: Kent Overstreet <koverstreet@...gle.com>,
linux-kernel@...r.kernel.org, linux-bcache@...r.kernel.org,
Frederic Weisbecker <fweisbec@...il.com>,
Ingo Molnar <mingo@...hat.com>
Subject: Re: [PATCH 3/4] Export blk_fill_rwbs()
On Fri, 2013-02-01 at 11:57 +0800, Li Zefan wrote:
> on 2013/2/1 11:48, Steven Rostedt wrote:
> > Li,
> >
> > Can you give an Ack or Nack for this.
> >
>
> I think this patch shouldn't go into upstream without bcache code. We don't
> export symbols for out of tree code.
>
Even for GPL code? I have no problem either way, as we never guarantee a
module ABI. Hence, if it is exported, there's no guarantee that it will
exist or even act the same in later versions.
Kernel modules (internal, external, GPL or not) don't have the luxury of
a stable ABI as user space does.
But I'll take this as a Nack.
Thanks,
-- Steve
> >
> > On Tue, 2013-01-15 at 13:25 -0800, Kent Overstreet wrote:
> >> Exported so it can be used by bcache's tracepoints
> >>
> >> Signed-off-by: Kent Overstreet <koverstreet@...gle.com>
> >> CC: Steven Rostedt <rostedt@...dmis.org>
> >> CC: Frederic Weisbecker <fweisbec@...il.com>
> >> CC: Ingo Molnar <mingo@...hat.com>
> >> ---
> >> kernel/trace/blktrace.c | 1 +
> >> 1 file changed, 1 insertion(+)
> >>
> >> diff --git a/kernel/trace/blktrace.c b/kernel/trace/blktrace.c
> >> index c0bd030..dbe1667 100644
> >> --- a/kernel/trace/blktrace.c
> >> +++ b/kernel/trace/blktrace.c
> >> @@ -1806,6 +1806,7 @@ void blk_fill_rwbs(char *rwbs, u32 rw, int bytes)
> >>
> >> rwbs[i] = '\0';
> >> }
> >> +EXPORT_SYMBOL_GPL(blk_fill_rwbs);
> >>
> >> #endif /* CONFIG_EVENT_TRACING */
> >>
> >
> >
> >
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists