Re: [PATCH] tiny MM performance and typo patches for 2.4.2

David S. Miller (davem@redhat.com)
Sun, 4 Mar 2001 13:55:07 -0800 (PST)


Ulrich Kunitz writes:
> patch-uk6 In 2.4.x _page_hashfn divides struct address_space pointer
> with a parameter derived from the size of struct
> inode. Deriving this parameter from the size of struct
> address_space makes more sense -- at least for me.

The address_space is %99 of the time (unless swapping, and in that
case the address is constant :-)) inside of an inode struct so this
change actually makes the hash worse. I looked at this one time
myself...

Later,
David S. Miller
davem@redhat.com
-
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/