[lkml]   [2009]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2/3] ring-buffer: make lockless
* Steven Rostedt ( wrote:
> From: Steven Rostedt <>
> This patch converts the ring buffers into a completely lockless
> buffer recording system. The read side still takes locks since
> we still serialize readers. But the writers are the ones that
> must be lockless (those can happen in NMIs).

Hi Steven,

Have you started modeling this scheme with Promela as I previously
discussed with you ? Paul McKenney did a lot of nice papers on the
topic, and given the complexity level of this lockless buffering
algorithm, I'd be much more comfortable if it was formally verified. The
idea here is to make sure we don't start an endless bug-chasing hunt as
trace buffers gets more exposure to various workloads.



Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68

 \ /
  Last update: 2009-07-08 23:07    [W:0.097 / U:3.264 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site