Re: Lockless file reading

From: Matthias Andree
Date: Thu Aug 28 2003 - 08:27:35 EST


On Thu, 28 Aug 2003, Nagendra Singh Tomar wrote:

> If the writer does not want the reader to read old data why does'nt it
> truncate the file and start writing from the begining every time.

To give you some background: Timo wants to store cache data in these
lockless. When these caches are truncated, they can be dropped
altogether, but the application's performance will drop drastically.

--
Matthias Andree
Encrypted mail solicited Verschlüsselte Mail erwünscht
http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0x052E7D95
-> http://www.gnupg.org/(en)/related_software/frontends.html
-
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/