From: Masayuki Nakagawa <[EMAIL PROTECTED]>
Date: Tue, 28 Aug 2007 18:41:38 -0700
> +static inline void __inet_hash_setbit(unsigned long *bitmask,
> + unsigned int index)
> +{
> + if (bitmask)
> + set_bit(index, bitmask);
> +}
> +
> +static inline void __inet_hash_clearbit(unsigned long *bitmask,
> + unsigned int index)
> +{
> + if (bitmask)
> + clear_bit(index, bitmask);
> +}
> +
A new atomic operation every single socket hashing insert or delete
operation is way too much amount of overhead for what should be a
trivial problem.
Please fix this in another way that does not add new locks or atomics
to the socket creation and destruction fast paths, thank you.
-
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html