mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: smp_locks reference_discarded errors
Date: Sun, 26 Mar 2006 10:40:42 -0500	[thread overview]
Message-ID: <20060326154042.GB13684@redhat.com> (raw)
In-Reply-To: <20060325235035.5fcb902f.akpm@osdl.org>

On Sat, Mar 25, 2006 at 11:50:35PM -0800, Andrew Morton wrote:
 > Dave Jones <davej@redhat.com> wrote:
 > >
 > > since the addition of smp alternatives, the following is occuring..
 > > 
 > > Error: ./drivers/md/md.o .smp_locks refers to 0000008c R_386_32          .exit.text
 > > Error: ./drivers/usb/storage/libusual.o .smp_locks refers to 00000008 R_386_32          .exit.text
 > > Error: ./net/802/psnap.o .smp_locks refers to 00000000 R_386_32          .exit.text
 > > Error: ./drivers/pci/hotplug/ibmphp_hpc.o .smp_locks refers to 00000008 R_386_32          .exit.text
 > > Error: ./drivers/pci/hotplug/ibmphp_hpc.o .smp_locks refers to 0000000c R_386_32          .exit.text
 > > 
 > > example .config at http://people.redhat.com/davej/kernel-2.6.16-i686-smp.config
 > > 
 > 
 > I guess an atomic operation in __exit code will cause that.  down() and
 > atomic_dec_and_test() in two cases.
 > 
 > I suspect most of these callsites are just wrongly coded - it's pretty
 > unusual for __exit code to really need to lock anything - what is there to
 > be racing against?
 > 
 > This is emitted by reference_discarded.pl?

came out of a 'make buildcheck' a day or two ago (the following day,
Sam nuked reference_discarded.pl in favour of it being done
magically somewhere else (I've not looked into how its done now).

		Dave

-- 
http://www.codemonkey.org.uk

  reply	other threads:[~2006-03-26 15:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-25  3:40 Dave Jones
2006-03-26  7:50 ` Andrew Morton
2006-03-26 15:40   ` Dave Jones [this message]
2006-03-26 16:10     ` Sam Ravnborg
2006-03-28  0:04       ` Dave Jones
2006-03-28  0:09         ` Randy.Dunlap
2006-03-31 19:08       ` Adrian Bunk
2006-03-31 19:33         ` Sam Ravnborg
2006-03-31 23:56           ` Adrian Bunk

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=20060326154042.GB13684@redhat.com \
    --to=davej@redhat.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.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

Powered by JetHome