Re: [PATCH] af_unix: implement socket filter

From: Eric Dumazet
Date: Tue Jan 18 2011 - 15:23:43 EST


Le mardi 18 janvier 2011 Ã 17:51 +0000, Alban Crequy a Ãcrit :
> Le Tue, 18 Jan 2011 18:22:41 +0100,
> Eric Dumazet <eric.dumazet@xxxxxxxxx> a Ãcrit :

> > Any idea on performance cost adding sk_filter() call ?
>
> Ian will write a performance test and repost the patch with some stats.
> I don't know about the performance cost.

Dont spend time on this, it was more a question for myself ;)

Cost should be very small, unless complex filter is used, and I have a
JIT compiler for BPF on x86_64, will post it when net-next-2.6 reopens.



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/