[lkml]   [1999]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Purpose of [start|end]_bh_atomic?

    On Mon, 15 Feb 1999, Regis Duchesne wrote:

    > What is the exact purpose of start_bh_atomic() and end_bh_atomic()?
    > Reading the source, I can see that some drivers use these functions, but I
    > can't see how it is related to bottom half handlers.


    they guarantee that no BH on any CPU will execute during the execution of
    the <CODE> critical section. bhs may run during <PRE> and <POST>. Note
    that this locks out _all_ bhs. It's main uses are in the networking code.

    -- mingo

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

     \ /
      Last update: 2005-03-22 13:50    [W:0.017 / U:21.104 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site