Date: Sun, 28 Apr 2013 08:29:01 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r250018 - head/sys/vm Message-ID: <201304280829.r3S8T10k003608@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: alc Date: Sun Apr 28 08:29:00 2013 New Revision: 250018 URL: http://svnweb.freebsd.org/changeset/base/250018 Log: Eliminate an unneeded call to vm_radix_trimkey() from vm_radix_lookup_le(). This call is clearing bits from the key that will be set again by the next line. Sponsored by: EMC / Isilon Storage Division Modified: head/sys/vm/vm_radix.c Modified: head/sys/vm/vm_radix.c ============================================================================== --- head/sys/vm/vm_radix.c Sun Apr 28 07:52:46 2013 (r250017) +++ head/sys/vm/vm_radix.c Sun Apr 28 08:29:00 2013 (r250018) @@ -666,7 +666,6 @@ restart: */ if (slot > 0) { inc = VM_RADIX_UNITLEVEL(rnode->rn_clev); - index = vm_radix_trimkey(index, rnode->rn_clev); index |= inc - 1; do { index -= inc;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304280829.r3S8T10k003608>