search for: u64_stats_update_end_irqrestor

Displaying 2 results from an estimated 2 matches for "u64_stats_update_end_irqrestor".

2020 May 06
2
[PATCH] virtio_net: fix lockdep warning on 32 bit
...virtqueue_kick_prepare(rq->vq) && virtqueue_notify(rq->vq)) { - u64_stats_update_begin(&rq->stats.syncp); + unsigned long flags; + + flags = u64_stats_update_begin_irqsave(&rq->stats.syncp); rq->stats.kicks++; - u64_stats_update_end(&rq->stats.syncp); + u64_stats_update_end_irqrestore(&rq->stats.syncp); } return !oom; -- MST
2020 May 07
1
[PATCH v2] virtio_net: fix lockdep warning on 32 bit
...virtqueue_kick_prepare(rq->vq) && virtqueue_notify(rq->vq)) { - u64_stats_update_begin(&rq->stats.syncp); + unsigned long flags; + + flags = u64_stats_update_begin_irqsave(&rq->stats.syncp); rq->stats.kicks++; - u64_stats_update_end(&rq->stats.syncp); + u64_stats_update_end_irqrestore(&rq->stats.syncp, flags); } return !oom; -- MST