[lkml]   [1997]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Is there a general effort underway to squash cli/sti pairs?
I ask because I think there should be. The code should restore
the flags if it is going to be re-entrant.

The loop driver assumes some kernel code is re-entrant, when it
definitely isn't (cli/sti pairs get executed). The bug strikes
mostly on a loaded system, so it was terribly hard to track this
bug down. Changing the code to restore the flags works fine, as
the code involved is otherwise re-entrant.

I wonder how much other code in the kernel makes assumptions about
the interrupt state.

Andrew E. Mileski

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