首页>
外国专利>
Funnel locking for sleepable read-copy update
Funnel locking for sleepable read-copy update
展开▼
机译:漏斗锁定可睡觉的读副本更新
展开▼
页面导航
摘要
著录项
相似文献
摘要
A funnel locking technique improves scalability of callback handling while mediating grace-period-start requests in a sleepable read-copy update (SRCU) environment. Per-CPU data structures maintain lists of SRCU callbacks. A management data structure maintains a current-grace-period record tracking a current SRCU grace period and a future-grace-period record tracking a future SRCU grace period needed by the callbacks. A combining tree mediates grace-period-start requests concurrently vying for an opportunity to update the future-grace-period record. The grace-period-start requests are issued on behalf of the callbacks to a combining tree leaf level and propagate toward a combining tree root node. The future-grace-period record is updated in response to grace-period-start requests reaching the root node. The current-grace-period record is updated to start a new SRCU grace period in response to grace-period-start requests reaching the root node if the future SRCU grace period has not completed and there is no SRCU grace period in progress.
展开▼