[PC-BSD Commits] r2391 - freebsd-projects/nvidia-work/split_large_pages/diff_on_HEAD

svn at pcbsd.org svn at pcbsd.org
Sun Jul 20 23:52:45 PDT 2008


Author: magesh
Date: 2008-07-20 23:52:45 -0700 (Sun, 20 Jul 2008)
New Revision: 2391

Modified:
   freebsd-projects/nvidia-work/split_large_pages/diff_on_HEAD/pmap.c_diff_on_v1.634.patch
Log:
Altered a comment.


Modified: freebsd-projects/nvidia-work/split_large_pages/diff_on_HEAD/pmap.c_diff_on_v1.634.patch
===================================================================
--- freebsd-projects/nvidia-work/split_large_pages/diff_on_HEAD/pmap.c_diff_on_v1.634.patch	2008-07-21 05:41:39 UTC (rev 2390)
+++ freebsd-projects/nvidia-work/split_large_pages/diff_on_HEAD/pmap.c_diff_on_v1.634.patch	2008-07-21 06:52:45 UTC (rev 2391)
@@ -1,5 +1,5 @@
---- /sys/amd64/amd64/pmap.c.orig	2008-07-21 10:55:55.000000000 +0530
-+++ /sys/amd64/amd64/pmap.c	2008-07-21 10:56:51.000000000 +0530
+--- /sys/amd64/amd64/pmap.c.orig	2008-07-21 11:47:42.000000000 +0530
++++ /sys/amd64/amd64/pmap.c	2008-07-21 11:47:53.000000000 +0530
 @@ -4301,11 +4301,26 @@ pmap_mapdev_attr(vm_paddr_t pa, vm_size_
  	vm_offset_t va, tmpva, offset;
  
@@ -31,14 +31,12 @@
  	offset = pa & PAGE_MASK;
  	size = roundup(offset + size, PAGE_SIZE);
  	va = kmem_alloc_nofault(kernel_map, size);
-@@ -4372,28 +4387,40 @@ pmap_change_attr(va, size, mode)
- 	if (base <= VM_MAXUSER_ADDRESS)
+@@ -4373,27 +4388,39 @@ pmap_change_attr(va, size, mode)
  		return (EINVAL);
  
--	/*
+ 	/*
 -	 * XXX: We have to support tearing 2MB pages down into 4k pages if
 -	 * needed here.
-+	/* 
 +	 * Pages that aren't mapped aren't supported. Also break down 2MB pages
 +	 * into 4KB pages if required.
  	 */



More information about the Commits mailing list