What's the best linux kernel locking mechanism for a specific scenario

后端 未结 3 1848
甜味超标
甜味超标 2021-02-09 13:25

I need to solve a locking problem for this scenario:

  1. A multi CPU system.
  2. All of the CPU\'s use a common (software) resource.
  3. Read only access to
3条回答
  •  有刺的猬
    2021-02-09 14:29

    Isn't this the sort of usage case RCU is designed to handle? See http://lwn.net/Articles/262464/ for a good write up on it's use.

提交回复
热议问题