All of lore.kernel.org
 help / color / mirror / Atom feed
* Collect sockets for leak detection
@ 2009-09-21 20:44 Dan Smith
       [not found] ` <1253565877-7303-1-git-send-email-danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Dan Smith @ 2009-09-21 20:44 UTC (permalink / raw)
  To: containers-qjLDD68F18O7TbgM5vRIOg

The objhash doesn't currently collect sockets for leak detection.  The
second patch in this set adds that support for general sockets (collecting
the socket itself and any DEAD sockets referenced in their read/write
queues) as well as a proto_ops operation for a per-protocol collection
routine.

I separated out the first patch in this set to make sure it's called out
for discussion as I expect it will be contentious.  Since sockets can
have a refcount of zero while remaining valid, the assumption that the
objhash makes about the refcount (which is correct in other cases) doesn't
hold true for sockets that are DEAD and only hanging around because of
an outstanding socket buffer.

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

end of thread, other threads:[~2009-09-22 19:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-21 20:44 Collect sockets for leak detection Dan Smith
     [not found] ` <1253565877-7303-1-git-send-email-danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-09-21 20:44   ` [PATCH 1/2] Adjust socket reference count during leak detection phase Dan Smith
     [not found]     ` <1253565877-7303-2-git-send-email-danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-09-21 20:55       ` Serge E. Hallyn
     [not found]         ` <20090921205549.GB22363-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-09-22 19:31           ` Oren Laadan
2009-09-21 20:44   ` [PATCH 2/2] Collect sockets Dan Smith
     [not found]     ` <1253565877-7303-3-git-send-email-danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-09-21 21:08       ` Serge E. Hallyn
2009-09-22 19:30       ` Oren Laadan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.