- 专利标题: Resolving RCU-scheduler deadlocks
-
申请号: US13475003申请日: 2012-05-18
-
公开(公告)号: US09003420B2公开(公告)日: 2015-04-07
- 发明人: Paul E. McKenney
- 申请人: Paul E. McKenney
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理商 Walter W. Duft
- 主分类号: G06F9/46
- IPC分类号: G06F9/46 ; G06F9/00 ; G06F9/48 ; G06F9/52
摘要:
A technique for resolving deadlocks between an RCU subsystem and an operating system scheduler. An RCU reader manipulates a counter when entering and exiting an RCU read-side critical section. At the entry, the counter is incremented. At the exit, the counter is manipulated differently depending on the counter value. A first counter manipulation path is taken when the counter indicates a task-context RCU reader is exiting an outermost RCU read-side critical section. This path includes condition-based processing that may result in invocation of the operating system scheduler. The first path further includes a deadlock protection operation that manipulates the counter to prevent an intervening RCU reader from taking the same path. The second manipulation path is taken when the counter value indicates a task-context RCU reader is exiting a non-outermost RCU read-side critical section, or an RCU reader is nested within the first path. This path bypasses the condition-based processing.
公开/授权文献
- US20130311995A1 Resolving RCU-Scheduler Deadlocks 公开/授权日:2013-11-21
信息查询