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

From: David Miller
Date: Fri Oct 21 2011 - 02:55:54 EST


From: Mihai Maruseac <mihai.maruseac@xxxxxxxxx>
Date: Fri, 21 Oct 2011 09:45:10 +0300

> 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.
>
> Tests revealed the following results for ifconfig > /dev/null
...
> Signed-off-by: Mihai Maruseac <mmaruseac@xxxxxxxxxxx>

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