From: Robert Love <rml@tech9.net>
To: Oliver Kowalke <oliver.kowalke@t-online.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: error : preempt_count 1
Date: 13 May 2002 09:18:07 -0700 [thread overview]
Message-ID: <1021306688.18799.2564.camel@summit> (raw)
In-Reply-To: <1779HB-01zk0WC@fwd06.sul.t-online.com>
On Sun, 2002-05-12 at 23:25, Oliver Kowalke wrote:
> after shutdown (kernel 2.5.15) I've got :
>
> erro: halt[8635] exited with preempt_count 1
>
> What does it mean?
Absolutely nothing bad. It is a debugging check to catch bad code that
does funny things with locks. Ideally, every program should call unlock
for each instance it called lock - balancing everything out and giving a
preempt_count of zero.
Some code in the kernel, knowing it is shutting down, does not bother to
drop any held locks and subsequently you see that message.
Since it is triggering false positives, I will remove it eventually.
For now it is incredibly useful for catching real problems. And the
above, while harmless, could be fixed for "cleanliness" concerns.
Robert Love
next prev parent reply other threads:[~2002-05-13 16:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-13 6:25 Oliver Kowalke
2002-05-13 16:18 ` Robert Love [this message]
2002-05-14 16:45 ` Denis Vlasenko
2002-05-14 16:24 ` Robert Love
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=1021306688.18799.2564.camel@summit \
--to=rml@tech9.net \
--cc=linux-kernel@vger.kernel.org \
--cc=oliver.kowalke@t-online.de \
/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®