[lkml]   [2002]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: error : preempt_count 1
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

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:22    [W:0.069 / U:1.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site