Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jul 2007 07:30:13 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 122916 for review
Message-ID:  <200707050730.l657UDPo017260@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=122916

Change 122916 by kmacy@kmacy_vt-x:opentoe_init on 2007/07/05 07:29:46

	turn contigmalloc2 into a no-op on x86_64	

Affected files ...

.. //depot/projects/opentoe/sys/vm/vm_contig.c#6 edit

Differences ...

==== //depot/projects/opentoe/sys/vm/vm_contig.c#6 (text+ko) ====

@@ -190,7 +190,11 @@
 	vm_map_t map = kernel_map;
 	vm_offset_t addr, tmp_addr;
 	vm_pindex_t i;
- 
+
+#ifdef __amd64__
+	return (void *)PHYS_TO_DMAP(VM_PAGE_TO_PHYS(m));
+#endif
+	
 	/*
 	 * Allocate kernel VM, unfree and assign the physical pages to
 	 * it and return kernel VM pointer.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707050730.l657UDPo017260>