diff options
| author | Keith Packard <[email protected]> | 2008-11-21 06:54:54 +0000 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2008-11-24 23:28:06 +0000 |
| commit | 2678d9d6964b29ecd1975870c7a850242b29bc5c (patch) | |
| tree | bce313afee7ef1eed42c622f7cd0e142e1ca4cdf /net/unix/af_unix.c | |
| parent | drm/i915: Avoid BUG_ONs on VT switch with a wedged chipset. (diff) | |
| download | kernel-2678d9d6964b29ecd1975870c7a850242b29bc5c.tar.gz kernel-2678d9d6964b29ecd1975870c7a850242b29bc5c.zip | |
drm/i915: Subtract total pinned bytes from available aperture size
The old code was wandering through the active list looking for pinned
buffers; there may be other pinned buffers around. Fortunately, we keep a
count of the total amount of pinned memory and can use that instead.
Signed-off-by: Keith Packard <[email protected]>
Signed-off-by: Eric Anholt <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
