mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Marc Dionne <marc.c.dionne@gmail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: workqueue: inline trivial wrappers
Date: Mon, 6 May 2013 11:42:32 -0700	[thread overview]
Message-ID: <20130506184232.GC32173@mtj.dyndns.org> (raw)
In-Reply-To: <CAB9dFdtwk5MKNmrOQVaV0Zh_ETNJVabeMVd45njnC-AYr0Md6g@mail.gmail.com>

Hello,

On Mon, May 06, 2013 at 10:44:58AM -0400, Marc Dionne wrote:
> On Mon, Apr 29, 2013 at 10:31 PM, Linux Kernel Mailing List
> <linux-kernel@vger.kernel.org> wrote:
> > Gitweb:     http://git.kernel.org/linus/;a=commit;h=8425e3d5bdbe8e741d2c73cf3189ed59b4038b84
> > Commit:     8425e3d5bdbe8e741d2c73cf3189ed59b4038b84
> > Parent:     611c92a0203091bb022edec7e2d8b765fe148622
> > Author:     Tejun Heo <tj@kernel.org>
> > AuthorDate: Wed Mar 13 16:51:36 2013 -0700
> > Committer:  Tejun Heo <tj@kernel.org>
> > CommitDate: Wed Mar 13 16:51:36 2013 -0700
> >
> >     workqueue: inline trivial wrappers
> >
> >     There's no reason to make these trivial wrappers full (exported)
> >     functions.  Inline the followings.
> >
> >      queue_work()
> >      queue_delayed_work()
> >      mod_delayed_work()
> >      schedule_work_on()
> >      schedule_work()
> >      schedule_delayed_work_on()
> >      schedule_delayed_work()
> >      keventd_up()
> >
> >     Signed-off-by: Tejun Heo <tj@kernel.org>
> 
> This commit has the side effect of making some functions
> EXPORT_SYMBOL_GPL that had been previously exported with EXPORT_SYMBOL
> for a long time, such as schedule_work().  This is used by OpenAFS and
> probably other out of tree modules.  Past exchanges on this list (ex:
> http://marc.info/?l=linux-fsdevel&m=123550631318910) suggest the
> license requirements for existing interfaces shouldn't change, at
> least without providing an alternate means of getting the same
> functionality.  Any thoughts on whether this can be adjusted within
> the current release cycle?

Hah, so schedule_work() was EXPORT_SYMBOL() and queue_work*() were
EXPORT_SYMBOL_GPL()?  It'd be rather silly to avoid inlining those
wrappers for license reasons.  Can you please send a patch changing
the necessary functions to EXPORT_SYMBOL()?

Thanks.

-- 
tejun

  reply	other threads:[~2013-05-06 18:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20130430023146.8F351660923@gitolite.kernel.org>
2013-05-06 14:44 ` Marc Dionne
2013-05-06 18:42   ` Tejun Heo [this message]
2013-05-06 22:03     ` Marc Dionne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130506184232.GC32173@mtj.dyndns.org \
    --to=tj@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marc.c.dionne@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®