[lkml]   [2003]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH][ATM] use rtnl_{lock,unlock} during device operations (take 2)

    On Mon, 9 Jun 2003, David S. Miller wrote:

    > You still need to synchronize with already running functions
    > netdev->dead = 1;
    > netdev->op_this = NULL;
    > netdev->op_that = NULL;
    > netdev->op_whatever = NULL;
    > synchronize_kernel();

    That assumes of course that the functions don't sleep.
    (RCU isn't really the answer to everything.)

    bye, Roman

    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:36    [W:0.020 / U:80.984 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site