Messages in this thread | | | Date | Tue, 1 May 2001 19:12:16 +0200 (CEST) | From | Ingo Molnar <> | Subject | Re: X15 alpha release: as fast as TUX but in user space |
| |
On Tue, 1 May 2001, Fabio Riccardi wrote:
> This is actually a bug in the current X15, I know how to fix it (with > negligible overhead) but I've been lazy :)
yep, i think it's pretty straightforward: you have a cache of open file descriptors (like Squid i think), and you can start a background 'cache synchronization thread' that does a stat() on every open file's real VFS path, every second or so. This should have small overhead (the number of file descriptors cached should be limited anyway via some sort of LRU), and guarantees 'practical coherency', without having the overhead of immediate coherency. [total coherency is pointless anyway, not even the kernel guarantees it to all parallel VFS users.]
Ingo
- 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/
| |