User-level RCU implementation method of microkernel operating system

The invention discloses a user-level RCU (Remote Control Unit) implementation method of a microkernel operating system, which comprises the following steps of: deploying an RCU service in a user mode of the microkernel operating system, locking and unlocking a read operation when a read thread acces...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: JIANG XIUHAO, CHEN LIRONG, XIAO KUN, LI MENG, LUO LEI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a user-level RCU (Remote Control Unit) implementation method of a microkernel operating system, which comprises the following steps of: deploying an RCU service in a user mode of the microkernel operating system, locking and unlocking a read operation when a read thread accesses shared data, starting a global grace period and distributing a generation number for the shared data by a write thread after the shared data is changed, and implementing a user-level RCU service in the user mode of the microkernel operating system. The kernel sets a bit of a bitmap variable for each CPU, the position of the bit is 0 after the CPU goes through a static state, when the bitmap variable is converted into 0, a vector marks the end of a corresponding grace period, the kernel sends a static event to the RCU service, and the RCU service calls a callback function corresponding to the grace period and recovers memory resources. According to the invention, the RCU can be realized in the user mode of the m