* [PATCH resend] rewrite AF_UNIX garbage collector, fixes race
@ 2007-07-04 9:49 Miklos Szeredi
2007-07-11 5:12 ` David Miller
2007-07-12 2:29 ` David Miller
0 siblings, 2 replies; 10+ messages in thread
From: Miklos Szeredi @ 2007-07-04 9:49 UTC (permalink / raw)
To: netdev; +Cc: ebiederm, akpm, viro, alan, davem, linux-kernel
From: Miklos Szeredi <mszeredi@suse.cz>
Throw out the old mark & sweep garbage collector and put in a
refcounting cycle detecting one.
The old one had a race with recvmsg, that resulted in false positives
and hence data loss. The old algorithm operated on all unix sockets
in the system, so any additional locking would have meant performance
problems for all users of these.
The new algorithm instead only operates on "in flight" sockets, which
are very rare, and the additional locking for these doesn't negatively
impact the vast majority of users.
In fact it's probable, that there weren't *any* heavy senders of
sockets over sockets, otherwise the above race would have been
discovered long ago.
The patch works OK with the app that exposed the race with the old
code. The garbage collection has also been verified to work in a few
simple cases.
See comments inside patch for the description of the algorithm.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
---
include/net/af_unix.h | 3
net/unix/af_unix.c | 6
net/unix/garbage.c | 329 ++++++++++++++++++++++++++++----------------------
3 files changed, 192 insertions(+), 146 deletions(-)
Index: linux-2.6.22-rc6/include/net/af_unix.h
===================================================================
--- linux-2.6.22-rc6.orig/include/net/af_unix.h 2007-06-27 22:53:53.000000000 +0200
+++ linux-2.6.22-rc6/include/net/af_unix.h 2007-06-27 22:53:55.000000000 +0200
@@ -79,9 +79,10 @@ struct unix_sock {
struct mutex readlock;
struct sock *peer;
struct sock *other;
- struct sock *gc_tree;
+ struct list_head link;
atomic_t inflight;
spinlock_t lock;
+ unsigned int gc_candidate : 1;
wait_queue_head_t peer_wait;
};
#define unix_sk(__sk) ((struct unix_sock *)__sk)
Index: linux-2.6.22-rc6/net/unix/af_unix.c
===================================================================
--- linux-2.6.22-rc6.orig/net/unix/af_unix.c 2007-06-27 22:53:53.000000000 +0200
+++ linux-2.6.22-rc6/net/unix/af_unix.c 2007-06-27 22:53:55.000000000 +0200
@@ -592,7 +592,8 @@ static struct sock * unix_create1(struct
u->dentry = NULL;
u->mnt = NULL;
spin_lock_init(&u->lock);
- atomic_set(&u->inflight, sock ? 0 : -1);
+ atomic_set(&u->inflight, 0);
+ INIT_LIST_HEAD(&u->link);
mutex_init(&u->readlock); /* single task reading lock */
init_waitqueue_head(&u->peer_wait);
unix_insert_socket(unix_sockets_unbound, sk);
@@ -1134,9 +1135,6 @@ restart:
/* take ten and and send info to listening sock */
spin_lock(&other->sk_receive_queue.lock);
__skb_queue_tail(&other->sk_receive_queue, skb);
- /* Undo artificially decreased inflight after embrion
- * is installed to listening socket. */
- atomic_inc(&newu->inflight);
spin_unlock(&other->sk_receive_queue.lock);
unix_state_unlock(other);
other->sk_data_ready(other, 0);
Index: linux-2.6.22-rc6/net/unix/garbage.c
===================================================================
--- linux-2.6.22-rc6.orig/net/unix/garbage.c 2007-06-27 22:53:53.000000000 +0200
+++ linux-2.6.22-rc6/net/unix/garbage.c 2007-06-27 22:53:55.000000000 +0200
@@ -62,6 +62,10 @@
* AV 1 Mar 1999
* Damn. Added missing check for ->dead in listen queues scanning.
*
+ * Miklos Szeredi 25 Jun 2007
+ * Reimplement with a cycle collecting algorithm. This should
+ * solve several problems with the previous code, like being racy
+ * wrt receive and holding up unrelated socket operations.
*/
#include <linux/kernel.h>
@@ -84,10 +88,9 @@
/* Internal data structures and random procedures: */
-#define GC_HEAD ((struct sock *)(-1))
-#define GC_ORPHAN ((struct sock *)(-3))
-
-static struct sock *gc_current = GC_HEAD; /* stack of objects to mark */
+static LIST_HEAD(gc_inflight_list);
+static LIST_HEAD(gc_candidates);
+static DEFINE_SPINLOCK(unix_gc_lock);
atomic_t unix_tot_inflight = ATOMIC_INIT(0);
@@ -122,8 +125,16 @@ void unix_inflight(struct file *fp)
{
struct sock *s = unix_get_socket(fp);
if(s) {
- atomic_inc(&unix_sk(s)->inflight);
+ struct unix_sock *u = unix_sk(s);
+ spin_lock(&unix_gc_lock);
+ if (atomic_inc_return(&u->inflight) == 1) {
+ BUG_ON(!list_empty(&u->link));
+ list_add_tail(&u->link, &gc_inflight_list);
+ } else {
+ BUG_ON(list_empty(&u->link));
+ }
atomic_inc(&unix_tot_inflight);
+ spin_unlock(&unix_gc_lock);
}
}
@@ -131,182 +142,218 @@ void unix_notinflight(struct file *fp)
{
struct sock *s = unix_get_socket(fp);
if(s) {
- atomic_dec(&unix_sk(s)->inflight);
+ struct unix_sock *u = unix_sk(s);
+ spin_lock(&unix_gc_lock);
+ BUG_ON(list_empty(&u->link));
+ if (atomic_dec_and_test(&u->inflight))
+ list_del_init(&u->link);
atomic_dec(&unix_tot_inflight);
+ spin_unlock(&unix_gc_lock);
}
}
+static inline struct sk_buff *sock_queue_head(struct sock *sk)
+{
+ return (struct sk_buff *) &sk->sk_receive_queue;
+}
-/*
- * Garbage Collector Support Functions
- */
+#define receive_queue_for_each_skb(sk, next, skb) \
+ for (skb = sock_queue_head(sk)->next, next = skb->next; \
+ skb != sock_queue_head(sk); skb = next, next = skb->next)
-static inline struct sock *pop_stack(void)
+static void scan_inflight(struct sock *x, void (*func)(struct sock *),
+ struct sk_buff_head *hitlist)
{
- struct sock *p = gc_current;
- gc_current = unix_sk(p)->gc_tree;
- return p;
+ struct sk_buff *skb;
+ struct sk_buff *next;
+
+ spin_lock(&x->sk_receive_queue.lock);
+ receive_queue_for_each_skb(x, next, skb) {
+ /*
+ * Do we have file descriptors ?
+ */
+ if (UNIXCB(skb).fp) {
+ bool hit = false;
+ /*
+ * Process the descriptors of this socket
+ */
+ int nfd = UNIXCB(skb).fp->count;
+ struct file **fp = UNIXCB(skb).fp->fp;
+ while (nfd--) {
+ /*
+ * Get the socket the fd matches
+ * if it indeed does so
+ */
+ struct sock *sk = unix_get_socket(*fp++);
+ if(sk) {
+ hit = true;
+ func(sk);
+ }
+ }
+ if (hit && hitlist != NULL) {
+ __skb_unlink(skb, &x->sk_receive_queue);
+ __skb_queue_tail(hitlist, skb);
+ }
+ }
+ }
+ spin_unlock(&x->sk_receive_queue.lock);
}
-static inline int empty_stack(void)
+static void scan_children(struct sock *x, void (*func)(struct sock *),
+ struct sk_buff_head *hitlist)
{
- return gc_current == GC_HEAD;
+ if (x->sk_state != TCP_LISTEN)
+ scan_inflight(x, func, hitlist);
+ else {
+ struct sk_buff *skb;
+ struct sk_buff *next;
+ struct unix_sock *u;
+ LIST_HEAD(embryos);
+
+ /*
+ * For a listening socket collect the queued embryos
+ * and perform a scan on them as well.
+ */
+ spin_lock(&x->sk_receive_queue.lock);
+ receive_queue_for_each_skb(x, next, skb) {
+ u = unix_sk(skb->sk);
+
+ /*
+ * An embryo cannot be in-flight, so it's safe
+ * to use the list link.
+ */
+ BUG_ON(!list_empty(&u->link));
+ list_add_tail(&u->link, &embryos);
+ }
+ spin_unlock(&x->sk_receive_queue.lock);
+
+ while (!list_empty(&embryos)) {
+ u = list_entry(embryos.next, struct unix_sock, link);
+ scan_inflight(&u->sk, func, hitlist);
+ list_del_init(&u->link);
+ }
+ }
}
-static void maybe_unmark_and_push(struct sock *x)
+static void dec_inflight(struct sock *sk)
{
- struct unix_sock *u = unix_sk(x);
+ atomic_dec(&unix_sk(sk)->inflight);
+}
- if (u->gc_tree != GC_ORPHAN)
- return;
- sock_hold(x);
- u->gc_tree = gc_current;
- gc_current = x;
+static void inc_inflight(struct sock *sk)
+{
+ atomic_inc(&unix_sk(sk)->inflight);
}
+static void inc_inflight_move_tail(struct sock *sk)
+{
+ struct unix_sock *u = unix_sk(sk);
+
+ atomic_inc(&u->inflight);
+ /*
+ * If this is still a candidate, move it to the end of the
+ * list, so that it's checked even if it was already passed
+ * over
+ */
+ if (u->gc_candidate)
+ list_move_tail(&u->link, &gc_candidates);
+}
/* The external entry point: unix_gc() */
void unix_gc(void)
{
- static DEFINE_MUTEX(unix_gc_sem);
- int i;
- struct sock *s;
- struct sk_buff_head hitlist;
- struct sk_buff *skb;
+ static bool gc_in_progress = false;
- /*
- * Avoid a recursive GC.
- */
+ struct unix_sock *u;
+ struct unix_sock *next;
+ struct sk_buff_head hitlist;
+ struct list_head cursor;
- if (!mutex_trylock(&unix_gc_sem))
- return;
+ spin_lock(&unix_gc_lock);
- spin_lock(&unix_table_lock);
+ /* Avoid a recursive GC. */
+ if (gc_in_progress)
+ goto out;
- forall_unix_sockets(i, s)
- {
- unix_sk(s)->gc_tree = GC_ORPHAN;
- }
+ gc_in_progress = true;
/*
- * Everything is now marked
- */
-
- /* Invariant to be maintained:
- - everything unmarked is either:
- -- (a) on the stack, or
- -- (b) has all of its children unmarked
- - everything on the stack is always unmarked
- - nothing is ever pushed onto the stack twice, because:
- -- nothing previously unmarked is ever pushed on the stack
+ * First, select candidates for garbage collection. Only
+ * in-flight sockets are considered, and from those only ones
+ * which don't have any external reference.
+ *
+ * Holding unix_gc_lock will protect these candidates from
+ * being detached, and hence from gaining an external
+ * reference. This also means, that since there are no
+ * possible receivers, the receive queues of these sockets are
+ * static during the GC, even though the dequeue is done
+ * before the detach without atomicity guarantees.
*/
+ list_for_each_entry_safe(u, next, &gc_inflight_list, link) {
+ int total_refs;
+ int inflight_refs;
+
+ total_refs = file_count(u->sk.sk_socket->file);
+ inflight_refs = atomic_read(&u->inflight);
+
+ BUG_ON(inflight_refs < 1);
+ BUG_ON(total_refs < inflight_refs);
+ if (total_refs == inflight_refs) {
+ list_move_tail(&u->link, &gc_candidates);
+ u->gc_candidate = 1;
+ }
+ }
/*
- * Push root set
+ * Now remove all internal in-flight reference to children of
+ * the candidates.
*/
-
- forall_unix_sockets(i, s)
- {
- int open_count = 0;
-
- /*
- * If all instances of the descriptor are not
- * in flight we are in use.
- *
- * Special case: when socket s is embrion, it may be
- * hashed but still not in queue of listening socket.
- * In this case (see unix_create1()) we set artificial
- * negative inflight counter to close race window.
- * It is trick of course and dirty one.
- */
- if (s->sk_socket && s->sk_socket->file)
- open_count = file_count(s->sk_socket->file);
- if (open_count > atomic_read(&unix_sk(s)->inflight))
- maybe_unmark_and_push(s);
- }
+ list_for_each_entry(u, &gc_candidates, link)
+ scan_children(&u->sk, dec_inflight, NULL);
/*
- * Mark phase
+ * Restore the references for children of all candidates,
+ * which have remaining references. Do this recursively, so
+ * only those remain, which form cyclic references.
+ *
+ * Use a "cursor" link, to make the list traversal safe, even
+ * though elements might be moved about.
*/
-
- while (!empty_stack())
- {
- struct sock *x = pop_stack();
- struct sock *sk;
-
- spin_lock(&x->sk_receive_queue.lock);
- skb = skb_peek(&x->sk_receive_queue);
-
- /*
- * Loop through all but first born
- */
-
- while (skb && skb != (struct sk_buff *)&x->sk_receive_queue) {
- /*
- * Do we have file descriptors ?
- */
- if(UNIXCB(skb).fp)
- {
- /*
- * Process the descriptors of this socket
- */
- int nfd=UNIXCB(skb).fp->count;
- struct file **fp = UNIXCB(skb).fp->fp;
- while(nfd--)
- {
- /*
- * Get the socket the fd matches if
- * it indeed does so
- */
- if((sk=unix_get_socket(*fp++))!=NULL)
- {
- maybe_unmark_and_push(sk);
- }
- }
- }
- /* We have to scan not-yet-accepted ones too */
- if (x->sk_state == TCP_LISTEN)
- maybe_unmark_and_push(skb->sk);
- skb=skb->next;
+ list_add(&cursor, &gc_candidates);
+ while (cursor.next != &gc_candidates) {
+ u = list_entry(cursor.next, struct unix_sock, link);
+
+ /* Move cursor to after the current position. */
+ list_move(&cursor, &u->link);
+
+ if (atomic_read(&u->inflight) > 0) {
+ list_move_tail(&u->link, &gc_inflight_list);
+ u->gc_candidate = 0;
+ scan_children(&u->sk, inc_inflight_move_tail, NULL);
}
- spin_unlock(&x->sk_receive_queue.lock);
- sock_put(x);
}
+ list_del(&cursor);
+ /*
+ * Now gc_candidates contains only garbage. Restore original
+ * inflight counters for these as well, and remove the skbuffs
+ * which are creating the cycle(s).
+ */
skb_queue_head_init(&hitlist);
+ list_for_each_entry(u, &gc_candidates, link)
+ scan_children(&u->sk, inc_inflight, &hitlist);
- forall_unix_sockets(i, s)
- {
- struct unix_sock *u = unix_sk(s);
+ spin_unlock(&unix_gc_lock);
- if (u->gc_tree == GC_ORPHAN) {
- struct sk_buff *nextsk;
+ /* Here we are. Hitlist is filled. Die. */
+ __skb_queue_purge(&hitlist);
- spin_lock(&s->sk_receive_queue.lock);
- skb = skb_peek(&s->sk_receive_queue);
- while (skb &&
- skb != (struct sk_buff *)&s->sk_receive_queue) {
- nextsk = skb->next;
- /*
- * Do we have file descriptors ?
- */
- if (UNIXCB(skb).fp) {
- __skb_unlink(skb,
- &s->sk_receive_queue);
- __skb_queue_tail(&hitlist, skb);
- }
- skb = nextsk;
- }
- spin_unlock(&s->sk_receive_queue.lock);
- }
- u->gc_tree = GC_ORPHAN;
- }
- spin_unlock(&unix_table_lock);
+ spin_lock(&unix_gc_lock);
- /*
- * Here we are. Hitlist is filled. Die.
- */
+ /* All candidates should have been detached by now. */
+ BUG_ON(!list_empty(&gc_candidates));
+ gc_in_progress = false;
- __skb_queue_purge(&hitlist);
- mutex_unlock(&unix_gc_sem);
+ out:
+ spin_unlock(&unix_gc_lock);
}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH resend] rewrite AF_UNIX garbage collector, fixes race
2007-07-04 9:49 [PATCH resend] rewrite AF_UNIX garbage collector, fixes race Miklos Szeredi
@ 2007-07-11 5:12 ` David Miller
2007-07-11 5:25 ` Andrew Morton
2007-07-12 2:29 ` David Miller
1 sibling, 1 reply; 10+ messages in thread
From: David Miller @ 2007-07-11 5:12 UTC (permalink / raw)
To: miklos; +Cc: netdev, ebiederm, akpm, viro, alan, linux-kernel
Just to make it clear Miklos.
I have seen your patch as has everyone else.
But myself, nor any other developers, are going to review your work
any faster if you do things like try to slip things in behind the
maintainer's back as you attempted to do yesterday by asking Andrew to
put your AF_UNIX garbage collector rewrite directly into his -mm tree.
If you read the netdev list, you'll see that I do not lose important
postings often if at all, and it is frequently the case that you will
in fact see me here replying to postings made weeks if not months ago.
You just need to be patient, ok?
I run my todo list in a prioritized way, and you need patience instead
of annoying me and others over and over about your patch.
Thanks in advance for your patience and understanding.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH resend] rewrite AF_UNIX garbage collector, fixes race
2007-07-11 5:12 ` David Miller
@ 2007-07-11 5:25 ` Andrew Morton
2007-07-11 6:41 ` Miklos Szeredi
0 siblings, 1 reply; 10+ messages in thread
From: Andrew Morton @ 2007-07-11 5:25 UTC (permalink / raw)
To: David Miller; +Cc: miklos, netdev, ebiederm, viro, alan, linux-kernel
On Tue, 10 Jul 2007 22:12:24 -0700 (PDT) David Miller <davem@davemloft.net> wrote:
> But myself, nor any other developers, are going to review your work
> any faster if you do things like try to slip things in behind the
> maintainer's back as you attempted to do yesterday by asking Andrew to
> put your AF_UNIX garbage collector rewrite directly into his -mm tree.
mmm... I didn't see it as a slip-behind-the-back thing. More a "park it
in -mm for a bit of concurrent testing and so it doesn't get lost and so I
don't have to worry about it any more" thing. Plenty of that goes on.
It wasn't done in a very subtle way though ;)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH resend] rewrite AF_UNIX garbage collector, fixes race
2007-07-11 5:25 ` Andrew Morton
@ 2007-07-11 6:41 ` Miklos Szeredi
2007-07-11 6:51 ` David Miller
0 siblings, 1 reply; 10+ messages in thread
From: Miklos Szeredi @ 2007-07-11 6:41 UTC (permalink / raw)
To: akpm; +Cc: davem, miklos, netdev, ebiederm, viro, alan, linux-kernel
> > But myself, nor any other developers, are going to review your work
> > any faster if you do things like try to slip things in behind the
> > maintainer's back as you attempted to do yesterday by asking Andrew to
> > put your AF_UNIX garbage collector rewrite directly into his -mm tree.
>
> mmm... I didn't see it as a slip-behind-the-back thing. More a "park it
> in -mm for a bit of concurrent testing and so it doesn't get lost and so I
> don't have to worry about it any more" thing. Plenty of that goes on.
Exactly. I have CC-ed everyone involved, and clearly stated that I do
want it reviewed. There wasn't any evil intention.
I _am_ slightly pissed off by still not having this bug fixed after
two months, and after spending considerable effort at hunting it down
and finding a solution for it (actually three different solutions by
now).
This may seem low priority and irrelevant, but it _is_ a bug, and it's
affecting a real world application. So please take that into
consideration.
Thanks,
Miklos
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH resend] rewrite AF_UNIX garbage collector, fixes race
2007-07-11 6:41 ` Miklos Szeredi
@ 2007-07-11 6:51 ` David Miller
2007-07-11 7:04 ` Miklos Szeredi
0 siblings, 1 reply; 10+ messages in thread
From: David Miller @ 2007-07-11 6:51 UTC (permalink / raw)
To: miklos; +Cc: akpm, netdev, ebiederm, viro, alan, linux-kernel
From: Miklos Szeredi <miklos@szeredi.hu>
Date: Wed, 11 Jul 2007 08:41:30 +0200
> This may seem low priority and irrelevant, but it _is_ a bug, and it's
> affecting a real world application. So please take that into
> consideration.
I'm not the only person who hasn't reviewed your latest patch yet.
You may want to consider that this might have something to do with
your attitude and behavior, rather than the importance of your patch.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH resend] rewrite AF_UNIX garbage collector, fixes race
2007-07-11 6:51 ` David Miller
@ 2007-07-11 7:04 ` Miklos Szeredi
2007-07-11 7:06 ` David Miller
0 siblings, 1 reply; 10+ messages in thread
From: Miklos Szeredi @ 2007-07-11 7:04 UTC (permalink / raw)
To: davem; +Cc: miklos, akpm, netdev, ebiederm, viro, alan, linux-kernel
> > This may seem low priority and irrelevant, but it _is_ a bug, and it's
> > affecting a real world application. So please take that into
> > consideration.
>
> I'm not the only person who hasn't reviewed your latest patch yet.
>
> You may want to consider that this might have something to do with
> your attitude and behavior, rather than the importance of your patch.
I think it's more to do with everyone being busy, and not considering
this important, which is understandable, this is a fringe
functionality, and almost nobody uses it.
Problems with my attitude probably stem from this fact. This bug is
important to _me_, and I behave accordingly, ant that seems
inappropriate.
Dave, I really appreciate the work you do. Please forgive my
impatience.
Miklos
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH resend] rewrite AF_UNIX garbage collector, fixes race
2007-07-11 7:04 ` Miklos Szeredi
@ 2007-07-11 7:06 ` David Miller
2007-07-11 7:32 ` Miklos Szeredi
0 siblings, 1 reply; 10+ messages in thread
From: David Miller @ 2007-07-11 7:06 UTC (permalink / raw)
To: miklos; +Cc: akpm, netdev, ebiederm, viro, alan, linux-kernel
From: Miklos Szeredi <miklos@szeredi.hu>
Date: Wed, 11 Jul 2007 09:04:10 +0200
> Dave, I really appreciate the work you do. Please forgive my
> impatience.
No problem.
Your patch is first in line for me to review tomorrow ok?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH resend] rewrite AF_UNIX garbage collector, fixes race
2007-07-11 7:06 ` David Miller
@ 2007-07-11 7:32 ` Miklos Szeredi
0 siblings, 0 replies; 10+ messages in thread
From: Miklos Szeredi @ 2007-07-11 7:32 UTC (permalink / raw)
To: davem; +Cc: miklos, akpm, netdev, ebiederm, viro, alan, linux-kernel
> > Dave, I really appreciate the work you do. Please forgive my
> > impatience.
>
> No problem.
>
> Your patch is first in line for me to review tomorrow ok?
Great, thanks.
Miklos
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH resend] rewrite AF_UNIX garbage collector, fixes race
2007-07-04 9:49 [PATCH resend] rewrite AF_UNIX garbage collector, fixes race Miklos Szeredi
2007-07-11 5:12 ` David Miller
@ 2007-07-12 2:29 ` David Miller
2007-07-12 9:55 ` Miklos Szeredi
1 sibling, 1 reply; 10+ messages in thread
From: David Miller @ 2007-07-12 2:29 UTC (permalink / raw)
To: miklos; +Cc: netdev, ebiederm, akpm, viro, alan, linux-kernel
From: Miklos Szeredi <miklos@szeredi.hu>
Date: Wed, 04 Jul 2007 11:49:41 +0200
> Throw out the old mark & sweep garbage collector and put in a
> refcounting cycle detecting one.
>
> The old one had a race with recvmsg, that resulted in false positives
> and hence data loss. The old algorithm operated on all unix sockets
> in the system, so any additional locking would have meant performance
> problems for all users of these.
>
> The new algorithm instead only operates on "in flight" sockets, which
> are very rare, and the additional locking for these doesn't negatively
> impact the vast majority of users.
>
> In fact it's probable, that there weren't *any* heavy senders of
> sockets over sockets, otherwise the above race would have been
> discovered long ago.
>
> The patch works OK with the app that exposed the race with the old
> code. The garbage collection has also been verified to work in a few
> simple cases.
>
> See comments inside patch for the description of the algorithm.
>
> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
This looks good, patch applied and I'll get this into the
2.6.23 merge window.
Once this sits around for a while and we feel super-confident
with it we can consider a backport into -stable.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH resend] rewrite AF_UNIX garbage collector, fixes race
2007-07-12 2:29 ` David Miller
@ 2007-07-12 9:55 ` Miklos Szeredi
0 siblings, 0 replies; 10+ messages in thread
From: Miklos Szeredi @ 2007-07-12 9:55 UTC (permalink / raw)
To: davem; +Cc: miklos, netdev, ebiederm, akpm, viro, alan, linux-kernel
> This looks good, patch applied and I'll get this into the
> 2.6.23 merge window.
>
> Once this sits around for a while and we feel super-confident
> with it we can consider a backport into -stable.
OK. Thanks for the review.
Miklos
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-07-12 9:56 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-04 9:49 [PATCH resend] rewrite AF_UNIX garbage collector, fixes race Miklos Szeredi
2007-07-11 5:12 ` David Miller
2007-07-11 5:25 ` Andrew Morton
2007-07-11 6:41 ` Miklos Szeredi
2007-07-11 6:51 ` David Miller
2007-07-11 7:04 ` Miklos Szeredi
2007-07-11 7:06 ` David Miller
2007-07-11 7:32 ` Miklos Szeredi
2007-07-12 2:29 ` David Miller
2007-07-12 9:55 ` Miklos Szeredi
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).