[lkml]   [2006]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Fix WARN_ON / WARN_ON_ONCE regression
    On Tue, 2006-10-03 at 17:07 -0700, Andrew Morton wrote:

    > Perhaps the `static int __warn_once' is getting put in the same cacheline
    > as some frequently-modified thing. Perhaps try marking that as __read_mostly?

    I've tried marking static int __warn_once as __read_mostly. However, it
    did not help with reducing the cache miss :(

    So I would suggest reversing the "Let WARN_ON/WARN_ON_ONCE return the
    condition" patch. It has just been added 3 days ago so reversing it
    should not be a problem.

    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: 2006-10-04 03:01    [W:0.020 / U:51.156 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site