> Suppose I bind a raw socket to device vlan4001 (ie I have 4k in the list > before that one!!). Currently, that means a linear search on all devices, > right? In that extreme example, I would expect the hash to be very > useful. At this point you have to ask 'why is vlan4001 an interface'. Would it not be cleaner to add the vlan id to the entries in the list of addresses per interface ? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: [PATCH] hashed device lookup (Does... Ben Greear
- Re: [PATCH] hashed device lookup (Does NOT meet Lin... Ben Greear
- Re: [PATCH] hashed device lookup (Does NOT mee... Andi Kleen
- Re: [PATCH] hashed device lookup (Does NOT... Ben Greear
- Re: [PATCH] hashed device lookup (Does... Andi Kleen
- Re: [PATCH] hashed device lookup (New ... Ben Greear
- Re: [PATCH] hashed device lookup (... David S. Miller
- Re: [PATCH] hashed device loo... Ben Greear
- Re: [PATCH] hashed device loo... Andi Kleen
- Re: [PATCH] hashed device loo... Ben Greear
- Re: [PATCH] hashed device lookup (Does NOT mee... Alan Cox
- Re: [PATCH] hashed device lookup (Does NOT... Miquel van Smoorenburg
- Re: [PATCH] hashed device lookup (Does NOT... Ben Greear
- Re: [PATCH] hashed device lookup (Does NOT meet Lin... Ben Greear
- Re: [PATCH] hashed device lookup (Does NOT meet Lin... David S. Miller