linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Introduce kref_sub
@ 2010-11-16 14:21 Thomas Hellstrom
  2010-11-16 14:21 ` [PATCH 1/2] kref: Add a kref_sub function Thomas Hellstrom
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Hellstrom @ 2010-11-16 14:21 UTC (permalink / raw)
  To: airlied; +Cc: dri-devel, linux-kernel

Adding a function in order to be able to optimize away a number of locked
bus cycles. Callers might for whatever reason want to accumulate unreferences
in certain code paths (rcu grace periods, atomic regions ...). This makes
it possible to perform the batched unreference more efficiently.

If accepted, I'd prefer patch 1 goes through Dave's DRM tree.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-16 14:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-16 14:21 [PATCH 0/2] Introduce kref_sub Thomas Hellstrom
2010-11-16 14:21 ` [PATCH 1/2] kref: Add a kref_sub function Thomas Hellstrom
2010-11-16 14:21   ` [PATCH 2/2] drm/ttm: Use kref_sub instead of repeatedly calling kref_put Thomas Hellstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).