Read-copy-update

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

* Exploiting Deferred Destruction: An Analysis of Read-Copy-Update Techniques in Operating System Kernels

 

<< PreviousWord BrowserNext >>
northern rhodesia
list of korean americans
thomas king
felicien rops
instrumental case
flowerpecker
joy kogawa
southern rhodesia
madeleine l'engle
termite terrace
myrna kostash
buzz lightyear
den fortapte snn
robert kroetsch
deep blue kasparov, 1996, game 1
jan ullrich
roc presidential election, 2000
roc presidential election, 1996
roc presidential election, 2004
col du galibier
raymond poulidor
oscar robertson
1812 overture
fortune 1000
university of kentucky
babinet's principle
tim lander
south west africa people's organisation
list of slovaks
towns of sweden
cirque du soleil
bunny hop
national anthem of russia
bohusln
zhang chongren
isao tomita
olympia brown
patrick lane
the blue lotus
blekinge
freising (district)
evelyn lau
scania
camp snoopy