[lkml]   [2011]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 15/16] time: Update tiemkeeper structure using a local shadow
    On Mon, 2011-11-14 at 20:04 -0800, John Stultz wrote:
    > Uses a local shadow structure to update the timekeeper. This
    > reduces the timekeeper.lock hold time.
    > WARNING: This introduces a race, but the window might be provably
    > so small as to not be observable. This patch needs lots more math
    > and comments to validate that assumption.

    Bah. After thinking about it, this patch won't work, since it would
    possibly lose updates via settimeofday(), etc.

    So I'm coming around to Thomas' double lock reader-seq/writer-lock


     \ /
      Last update: 2011-11-17 23:07    [W:0.020 / U:2.900 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site