aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2016-07-05 08:54:36 +0100
committerChris Wilson <[email protected]>2016-07-05 10:58:07 +0100
commitb1379d49646e791def9a1c81ff7f04d571e71d7c (patch)
tree8bf1afa2c9b6eff8a2803ebc48fd7fded3c5a3c6 /tools/perf/scripts/python/bin/export-to-postgresql-report
parentaf1346a0f38fe5b762729a91ed10c7c7f59b76c9 (diff)
drm/i915: Replace lockless_dereference(bool) with READ_ONCE()
After Joonas complained about using READ_ONCE() on the only use of the variable in the function, where the intent was to simply document that the read was intentionally racy and unlocked, I switched the READ_ONCE() over to lockless_dereference(). However, in linux-next that has a stronger type-check to only allow pointers and is no longer interchangeable with READ_ONCE(), see commit 331b6d8c7afc ("locking/barriers: Validate lockless_dereference() is used on a pointer type") Reported-by: Stephen Rothwell <[email protected]> Fixes: 67d97da34917 ("drm/i915: Only start retire worker when idle") Signed-off-by: Chris Wilson <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Mika Kuoppala <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions