diff options
author | Richard Braun <rbraun@sceen.net> | 2014-09-10 22:03:35 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2014-09-10 22:03:35 +0200 |
commit | c1e776e211b9f365c2f7eb66614a00621ba36dfb (patch) | |
tree | b1f39379112cfc6d58867d87acd37c97c4567f4b /kern/task.c | |
parent | 6afbd6025745415fa984906291d7d2ed1f9f2f9b (diff) |
x86/pmap: fix initialization of percpu variables
Application processors should never initialize data that are shared with
other processors. In this case, it leaded to a race which could make
pmap_update access uninitialized percpu data. But, since percpu areas
are initially copies of the percpu section (which is the percpu area of
the main processor), uninitialized percpu variables would actually have
valid values, those inherited from the main processor. This would result
in hard-to-debug data corruption.
Diffstat (limited to 'kern/task.c')
0 files changed, 0 insertions, 0 deletions