[lkml]   [2005]   [Dec]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] protect remove_proc_entry
    Steven Rostedt <> wrote:
    > +static DEFINE_SPINLOCK(remove_proc_lock);

    I'll take a closer look at this next week.

    The official way of protecting the contents of a directory from concurrent
    lookup or modification is to take its i_sem. But procfs is totally weird
    and that approach may well not be practical here. We'd certainly prefer
    not to rely upon lock_kernel().
    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-12-31 00:50    [W:0.023 / U:0.072 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site