Messages in this thread | | | Date | Tue, 2 Nov 1999 10:49:34 -0500 (EST) | From | Alexander Viro <> | Subject | Re: struct address_space |
| |
On Tue, 2 Nov 1999, V. Ganesh wrote:
> > looks like we started using things called struct address_space a couple > of rels back. could someone please explain why the change was made ? there > don't seem to have been any postings on it.
Because we have caches that are not associated with any particular inode. (swap, for one). Moreover, we don't actually need to know the inode - just a small subset. Said subset makes perfect sense for any sort of page cache and switching to that allows to avoid fake inodes. Moreover, it lets us use several caches per inode, etc. And makes for cleaner code, IMHO.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |