[lkml]   [2001]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: BUG: Global FPU corruption in 2.2
    > >1.) If I'm not mistaken switch_to changes current->flags without
    > >atomic operations and without any locks and sys_ptrace changes
    > >child->flags only protected by the big kernel lock.
    > ptrace only operates on processes that are stopped. So there are no
    > locking issues - we've synchronized on a much higher level than a
    > spinlock or semaphore.

    In the 2.2 case the ptrace flags themselves are in the same flag set as
    the PF_ flags. In 2.4 that was fixed. That means there are some bizarre cases
    where current->flags might not be handled perfectly.

    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:27    [W:0.028 / U:1.164 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site