|
|
Subscribe / Log in / New account

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".


to post comments

sample code buggy?

Posted Jan 4, 2008 16:53 UTC (Fri) by PaulMcKenney (✭ supporter ✭, #9624) [Link]

Hmmm...  Too early in the morning, I guess.  Make that the two declarations of the pointer "p"
rather than "buf".  :-/


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds