Subject: Re: [PATCH]snmp6 64-bit counter support in proc.c

From: "David S. Miller" <[email-masked]>
Date: Wed, 28 Jan 2004 11:33:36 -0800

On Wed, 28 Jan 2004 11:19:36 -0800
Krishna Kumar <[email-masked]> wrote:

[ ... idea to use seq locks ]
> Does that sound better ?

Well, I thought the goal was to move the expensive part of doing
this out of the writers, which we assume will exceed readers.
Seq locks favor readers, and assume that the write is the less
common operation.

Putting seq locks around every stat counter bump is going to plump
up the code a lot.

Maybe your idea and original assumption are fine, in essence we live
with this now, don't we? :-)

Perhaps there are some better ideas?