lkml.org 
[lkml]   [2011]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] vhost: rcu annotation fixup
    On Tue, Jan 18, 2011 at 01:08:45PM +0200, Michael S. Tsirkin wrote:
    > When built with rcu checks enabled, vhost triggers
    > bogus warnings as vhost features are read without
    > dev->mutex sometimes.
    > Fixing it properly is not trivial as vhost.h does not
    > know which lockdep classes it will be used under.
    > Disable the warning by stubbing out the check for now.
    >

    What is the harm in leaving the bogus warnings until the difficult fix
    happens? RCU checks enabled does not seem like something that is enabled
    in production. If this patch is applied, there is always the risk that
    it'll be simply forgotten about.

    --
    Mel Gorman
    Part-time Phd Student Linux Technology Center
    University of Limerick IBM Dublin Software Lab


    \
     
     \ /
      Last update: 2011-01-19 01:43    [W:0.030 / U:28.976 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site