最近在看RCU的資料,讀到下面的一句,感覺總是特別怪怪的,就是從單詞的組合角度,記錄一下。
Use rcu_read_lock() and rcu_read_unlock() to ensure that the structure does not get deleted out from under us。
意思是我們還在使用這些數據,絕不許被刪除,可能導致諸如segv之類的嚴重問題。所以需要使用rcu_read_lock和rcu_read_unlock來包圍,讀取代碼段。
是從我們的下面角度來看,這些數據是我們站立的一個基石,絕不能被刪掉。