Re: [PATCH] dev: use name hash for dev_seq_ops

From: Eric Dumazet
Date: Fri Oct 21 2011 - 02:53:09 EST


Le vendredi 21 octobre 2011 Ã 09:45 +0300, Mihai Maruseac a Ãcrit :
> Instead of using the dev->next chain and trying to resync at each call to
> dev_seq_start, use the name hash, keeping the bucket and the offset in
> seq->private field.
>
...
> Signed-off-by: Mihai Maruseac <mmaruseac@xxxxxxxxxxx>

Signed-off-by: Eric Dumazet <eric.dumazet@xxxxxxxxx>

Thanks


--
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/