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

From: David S. Miller (davem@redhat.com)
Date: Sun Mar 04 2001 - 16:55:07 EST


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/



This archive was generated by hypermail 2b29 : Wed Mar 07 2001 - 21:00:16 EST