|
|
Log in / Subscribe / Register

Using read-copy-update

Using read-copy-update

Posted Jul 11, 2003 14:41 UTC (Fri) by goatbar (guest, #10402)
Parent article: Using read-copy-update

What happens if a different processor updates the stucture before before the one scheduled to be deleted is deleted. It must keep a queue of these sturctures to delete, right? RCU seems like a nice and simple algorithm.


to post comments

Using read-copy-update

Posted Jan 16, 2004 23:26 UTC (Fri) by PaulMcKenney (✭ supporter ✭, #9624) [Link]

Yep, RCU maintains a per-CPU queue of callbacks registered by call_rcu(), which in this case would be equivalent to a per-CPU queue of items to be deleted.


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