public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@suse.de>
To: Bart Van Assche <bart.vanassche@gmail.com>
Cc: Roland Dreier <rdreier@cisco.com>,
	OpenIB <general@lists.openfabrics.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [ofa-general] IB kernel modules and the kobject release() method
Date: Fri, 7 Aug 2009 20:48:17 -0700	[thread overview]
Message-ID: <20090808034817.GA30697@suse.de> (raw)
In-Reply-To: <e2e108260908070026s10658adl2c4a9a5b3eba1a08@mail.gmail.com>

On Fri, Aug 07, 2009 at 09:26:33AM +0200, Bart Van Assche wrote:
> On Thu, Aug 6, 2009 at 9:58 PM, Roland Dreier<rdreier@cisco.com> wrote:
> >
> >  > Are you sure that this indicates a shortcoming in the kobject
> >  > debugging code ? The most recent messages related to the message "does
> >  > not have a release() function, it is broken and must be fixed" I could
> >  > find on the LKML date from July 16, 2009
> >  > (http://lkml.org/lkml/2009/7/16/306 and
> >  > http://lkml.org/lkml/2009/7/16/391). As you can see Greg KH
> >  > acknowledges that if this message is logged that this indicates a
> >  > problem that should be fixed.
> >
> > I'm not sure -- I just assume that the core module unloading code is
> > working OK, since it is so heavily tested.  If there were really a "must
> > be fixed" problem with module unloading then someone would surely have
> > hit more than a warning message.
> 
> (added Greg KH and the LKML in CC)
> 
> I tried to look up more information about kobjects. The comment of
> commit 7a6a41615bfb2f03ce797bc24104c50b42c935e5 suggests that in the
> past the function kobject_cleanup() did not free the memory allocated
> for static kobject names but that this was the responsibility of the
> release() function. This should have been fixed in the current version
> of kobject_cleanup(). So I'm wondering whether the message that
> kobjects that do not have a release() function are broken still makes
> sense ?

No, it still makes sense :)

thanks,

greg k-h

  reply	other threads:[~2009-08-08  3:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <e2e108260908060943u344bbe03k2baab01b204c9cca@mail.gmail.com>
     [not found] ` <adad478hmi8.fsf@cisco.com>
     [not found]   ` <e2e108260908061146y47ae45f5j6b8085d44cd1c45b@mail.gmail.com>
     [not found]     ` <adaocqsg339.fsf@cisco.com>
     [not found]       ` <e2e108260908061229v2c605aabp7cf66cbe568d6755@mail.gmail.com>
     [not found]         ` <adafxc4g1e7.fsf@cisco.com>
2009-08-07  7:26           ` [ofa-general] IB kernel modules and the kobject release() method Bart Van Assche
2009-08-08  3:48             ` Greg KH [this message]
2009-08-10 20:33               ` Roland Dreier
2009-08-11 12:56                 ` Kay Sievers

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=20090808034817.GA30697@suse.de \
    --to=gregkh@suse.de \
    --cc=bart.vanassche@gmail.com \
    --cc=general@lists.openfabrics.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rdreier@cisco.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