FACTOID # 45: American adults have spent more time than anyone in education .
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RELATED ARTICLES
People who viewed "RCU" also viewed:
RECENT ARTICLES
More Recent Articles »
 

FACTS & STATISTICS    Simple view

  1. Select countries to view: (hold down Control key and click to select several)

     

     

    Compare:

     

     

  1. Select fact or statistic: (* = graphable)

     

     

     

  2. (OPTIONAL) Compare to statistic: (both need to be graphable)

     

     

     

  3. View result as:

     

       
(OR) SEARCH ALL encyclopedia, stats & forums:   

Read-copy-update is an operating system kernel technology for improving performance on computers with more than one CPU.


The basic idea is as follows. Assume you have a data structure which is shared by multiple threads of execution. When a thread wants to read the structure, it uses a pointer to the structure and continues on, without any locking or checking. This makes reading the data structure as efficient as reading a non-shared data structure.


When a thread wants to write to the structure, it

  • creates a new structure,
  • copies the data from the old structure into the new one, and saves a pointer to the old structure,
  • modifies the new, copied, structure
  • updates the global pointer to refer to the new structure, and then
  • sleeps until the operating system kernel determines that there are no readers left using the old structure.

When the thread which made the copy is woken up by the kernel, it can safely deallocate the old structure.


This technique is great for data which is read frequently but updated infrequently, but is not designed to be efficient in other cases.


The technique is covered by U.S. software patent 5,442,758, issued August 15, 1995 and assigned to Sequent Computer Systems. It is also the topic of one of the claims in the SCO v. IBM lawsuit.


External links

  • Paul McKenney's RCU Page (http://www.rdrop.com/users/paulmck/RCU/)
  • Patent 5,442,758 (http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&Sect2=HITOFF&d=PALL&p=1&u=/netahtml/srchnum.htm&r=1&f=G&l=50&s1=5,442,758.WKU.&OS=PN/5,442,758&RS=PN/5,442,758) from the United States Patent and Trademark Office website
  • Using RCU in the Linux 2.5 kernel (http://www.linuxjournal.com/article.php?sid=6993)
  • Exploiting Deferred Destruction: An Analysis of Read-Copy-Update Techniques in Operating System Kernels (http://www.rdrop.com/users/paulmck/rclock/RCUdissertation.2004.07.14e1.pdf)

  Results from FactBites:
 
Read-copy-update - Wikipedia, the free encyclopedia (1991 words)
RCU can be put to a number of other tasks, including dynamically changing NMI (Non-Maskable interrupt) handlers and implementing lazy barriers, but it is most frequently used as replacement for reader-writer locking.
RCU is available in a number of operating systems, including version 2.6 of the Linux kernel.
RCU is also the topic of one of the claims in the SCO v.
Paul E. McKenney: Read-Copy Update (RCU) (603 words)
July 2006 "Extending RCU for Realtime and Embedded Workloads" with Dipankar Sarma, Ingo Molnar, and Suparna Bhattacharya at OLS'2006, and corresponding presentation.
RCU was thus fully functional in 2.5.45 and later Linux kernels, just in time for the Halloween functionality freeze.
The Reiser4 filesystem uses RCU to defer freeing of jnodes.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.