Re: [patch 13/13] lseek speedup

Benjamin LaHaise (bcrl@redhat.com)
Wed, 17 Jul 2002 14:27:25 -0400


On Wed, Jul 17, 2002 at 09:49:40AM -0700, Andrew Morton wrote:
> But protection of struct file should not be via any per-inode thing.

Why not make use of set_64bit instead of using a spinlock? It might
need a companion get_64bit, but at least on 64 bit machines they could
be defined to use a direct load/store.

-ben

-- 
"You will be reincarnated as a toad; and you will be much happier."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/