From owner-svn-src-all@FreeBSD.ORG Wed Sep 9 19:40:54 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7B47106566C; Wed, 9 Sep 2009 19:40:54 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D75028FC0C; Wed, 9 Sep 2009 19:40:54 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n89JesAc095065; Wed, 9 Sep 2009 19:40:54 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n89Jessi095063; Wed, 9 Sep 2009 19:40:54 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <200909091940.n89Jessi095063@svn.freebsd.org> From: Konstantin Belousov Date: Wed, 9 Sep 2009 19:40:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r197046 - head/sys/i386/xen X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 19:40:55 -0000 Author: kib Date: Wed Sep 9 19:40:54 2009 New Revision: 197046 URL: http://svn.freebsd.org/changeset/base/197046 Log: As was done in r196643 for i386 and amd64, swap the start/end virtual addresses in pmap_invalidate_cache_range(). Reported by: Vincent Hoffman Reviewed by: jhb MFC after: 3 days Modified: head/sys/i386/xen/pmap.c Modified: head/sys/i386/xen/pmap.c ============================================================================== --- head/sys/i386/xen/pmap.c Wed Sep 9 19:38:19 2009 (r197045) +++ head/sys/i386/xen/pmap.c Wed Sep 9 19:40:54 2009 (r197046) @@ -1004,8 +1004,8 @@ pmap_invalidate_cache_range(vm_offset_t * coherence domain. */ mfence(); - for (; eva < sva; eva += cpu_clflush_line_size) - clflush(eva); + for (; sva < eva; sva += cpu_clflush_line_size) + clflush(sva); mfence(); } else {