Messages in this thread | | | Date | Thu, 9 Dec 1999 20:04:53 +0100 (CET) | From | Andrea Arcangeli <> | Subject | Re: timer_bh behaviour incorrect for 2.2.13? |
| |
On Thu, 9 Dec 1999, Andrea Arcangeli wrote:
>On Thu, 9 Dec 1999, William Montgomery wrote: > >> >>I am having a difficult time with the patch to run_bottom_halves. >>I have the following: >> bh = bh_base; > ^^^^^^^^^^^^^ remove >> while ((active = get_active_bhs())) { >> __sti(); >> clear_active_bhs(active); > bh = bh_base; > ^^^^^^^^^^^ insert >> do { >> if (active & 1) >> (*bh)(); >> bh++; >> active >>= 1; >> } while (active); >> __cli(); >> } > >Move `bh = bh_base' before the do { } while loop.
Forget to tell the result will won't risk to miss bh only for UP, but that's fine for testing of course ;).
Andrea
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |