Unlock pages right after getting them.
authorKeith Packard <keithp@keithp.com>
Tue, 6 May 2008 00:17:19 +0000 (17:17 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 6 May 2008 00:17:19 +0000 (17:17 -0700)
commit2c8f970baaba9c72c882677f40ce8271bff03bac
tree8a772483344e9ddc55f94d98da57eb00e911f5f3
parent5b0d0fa7f81fb297778af97124a2273b2af317bb
Unlock pages right after getting them.

pages come back from find_or_create_page locked, but must not stay locked
for long. Unlock them immediately instead of waiting until we're done with
them to avoid deadlock when applications try to touch them.
linux-core/i915_gem.c