diff options
| author | ozaki-r <ozaki-r@NetBSD.org> | 2018-03-02 07:37:13 +0000 |
|---|---|---|
| committer | ozaki-r <ozaki-r@NetBSD.org> | 2018-03-02 07:37:13 +0000 |
| commit | 78366d4f81e6ce643d7154b5a07279f53dd92f04 (patch) | |
| tree | 42b1b632f6297df3a84e748d007e776a60543312 /sys/dev | |
| parent | 45d567adda8622277a892a04ef255968a6ab56f7 (diff) | |
Avoid data races on lifetime counters by using percpu(9)
We don't make them percpu(9) directly because the structure is exposed to
userland and we don't want to break ABI. So we add another member variable
for percpu(9) and use it internally. When we export them to userland, they
are converted to the original format.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions
