lkml.org 
[lkml]   [2011]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: + shm-fix-a-race-between-shm_exit-and-shm_init.patch added to -mm tree
    On 08/03, Vasiliy Kulikov wrote:
    >
    > On Wed, Aug 03, 2011 at 16:04 +0200, Oleg Nesterov wrote:
    > >
    > > And since we rely on .in_use == 0, why we can't move this check
    > > outside of down_write/up_right to a) optimize the code and b)
    > > fix the problem?
    >
    > Agreed. But I second Linus that partial initialization only hides the
    > real problem. And some initcall chain movement is still needed.

    I agree. But, until then, we can make a much more simple fix.
    Especially because this patch (imho) mostly hides the problem too.

    Oleg.



    \
     
     \ /
      Last update: 2011-08-03 21:23    [W:0.020 / U:2.092 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site