sample code buggy?
sample code buggy?
Posted Jan 4, 2008 16:50 UTC (Fri) by PaulMcKenney (✭ supporter ✭, #9624)In reply to: sample code buggy? by johill
Parent article: What is RCU? Part 2: Usage
Good catch! As you no doubt guessed, s/atomic_t/struct profile_buffer/ in the declaration of "buf".
Posted Jan 4, 2008 16:53 UTC (Fri)
by PaulMcKenney (✭ supporter ✭, #9624)
[Link]
sample code buggy?
Hmmm... Too early in the morning, I guess. Make that the two declarations of the pointer "p"
rather than "buf". :-/