commit | ecf7ace9a8450303a987aa8364e53860cd50e554 | [log] [tgz] |
---|---|---|
author | Thomas Hellstrom <thellstrom@vmware.com> | Tue Nov 16 15:21:07 2010 +0100 |
committer | Dave Airlie <airlied@redhat.com> | Mon Nov 22 13:25:13 2010 +1000 |
tree | bbad2c5982c3b76462cbee9e15458072bc80055d | |
parent | d6ea88865d3e5b0c62040531310c1f2c6a994f46 [diff] |
kref: Add a kref_sub function Makes it possible to optimize batched multiple unrefs. Initial user will be drivers/gpu/ttm which accumulates unrefs to be processed outside of atomic code. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>