mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@redhat.com>
To: Dave Airlie <airlied@gmail.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>,
	Christoph Hellwig <hch@lst.de>,
	Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>,
	adaplas@pol.net,
	lkml - Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] kill symbol_get & friends
Date: Thu, 13 Jan 2005 08:42:59 +0000	[thread overview]
Message-ID: <1105605779.30759.76.camel@baythorne.infradead.org> (raw)
In-Reply-To: <21d7e997050112165935b89a27@mail.gmail.com>

On Thu, 2005-01-13 at 11:59 +1100, Dave Airlie wrote:
> what weak symbol support? can I actually use gcc weak symbols and have
> it all work?

Weak undefined symbols used to work, certainly. The MTD code used them
for a while, before kaos imposed the inter_module_crap on it despite my
objections.

> what happens if the module goes away? 

If another module is using a weak symbol, IIRC the module providing the
symbol _can't_ go away. I could be wrong -- I didn't use that
functionality. I was using get_symbol() and I added put_symbol() so I
could explicitly refcount it. 

-- 
dwmw2



  parent reply	other threads:[~2005-01-13  8:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-12 20:31 Christoph Hellwig
2005-01-13  0:19 ` Rusty Russell
2005-01-13  0:59   ` Dave Airlie
2005-01-13  2:25     ` Rusty Russell
2005-01-13  8:42     ` David Woodhouse [this message]
2005-01-13  4:18   ` Dave Jones
2005-01-13  8:45   ` David Woodhouse
2005-01-13 17:05   ` Christoph Hellwig
2005-01-14  6:56     ` Rusty Russell
2005-01-16 20:46       ` Richard Purdie
2005-01-17  2:47         ` Rusty Russell

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=1105605779.30759.76.camel@baythorne.infradead.org \
    --to=dwmw2@redhat.com \
    --cc=adaplas@pol.net \
    --cc=airlied@gmail.com \
    --cc=akpm@osdl.org \
    --cc=hch@lst.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    --cc=torvalds@osdl.org \
    /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®