Summary: | Data race caused by double increment of pq->pq_cnt | ||
---|---|---|---|
Product: | Base System | Reporter: | pfonseca |
Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed Works As Intended | ||
Severity: | Affects Only Me | ||
Priority: | --- | ||
Version: | 10.0-RELEASE | ||
Hardware: | Any | ||
OS: | Any |
Description
pfonseca
2014-08-20 18:42:02 UTC
After some disussion with developers, the conclussion was that the data race is benign: "The pageout code does not care about exact queue length, it only takes it as an advise to not over-scan the queue. The fact that read gets a snapshot value which might be outdated immediately does not matter in this situation. At worst, scan would fall off the end of queue, if it is drained by other means in parallel." |