[lkml]   [2005]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] cpuset semaphore depth check optimize
    Robin wrote:
    > This makes things even easier!!!

    Easy is good.

    > When the vfs code is traversing the list, you need to ensure
    > that it does not iterate unless the child list lock is held.
    > I have not looked at how you implemented the vfs stuff, but
    > that should be easily accomplished.
    > Where are the holes?

    The hole is my understanding of vfs.

    My gut instinct is to recoil in horror from this suggestion, because it
    seems to involve walking the cpuset tree from bottom up, setting locks,
    while some other task might be doing a normal file system open on one
    of these cpusets, walking the tree top-down, setting locks.

    That smells like deadlock city to me.

    I won't rest till it's the best ...
    Programmer, Linux Scalability
    Paul Jackson <> 1.925.600.0401
    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-09-20 17:17    [W:0.019 / U:1.760 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site