Module Name: src Committed By: skrll Date: Tue Mar 3 08:13:44 UTC 2020
Modified Files: src/sys/uvm: uvm_page.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.229 -r1.230 src/sys/uvm/uvm_page.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/uvm/uvm_page.c diff -u src/sys/uvm/uvm_page.c:1.229 src/sys/uvm/uvm_page.c:1.230 --- src/sys/uvm/uvm_page.c:1.229 Tue Mar 3 07:51:26 2020 +++ src/sys/uvm/uvm_page.c Tue Mar 3 08:13:44 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_page.c,v 1.229 2020/03/03 07:51:26 skrll Exp $ */ +/* $NetBSD: uvm_page.c,v 1.230 2020/03/03 08:13:44 skrll Exp $ */ /*- * Copyright (c) 2019, 2020 The NetBSD Foundation, Inc. @@ -95,7 +95,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.229 2020/03/03 07:51:26 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.230 2020/03/03 08:13:44 skrll Exp $"); #include "opt_ddb.h" #include "opt_uvm.h" @@ -778,7 +778,7 @@ uvm_page_redim(int newncolors, int newnb struct pgfreelist npgfl; struct pgflbucket *opgb, *npgb; struct pgflist *ohead, *nhead; - struct vm_page *pg; + struct vm_page *pg; size_t bucketsize, bucketmemsize, oldbucketmemsize; int fl, ob, oc, nb, nc, obuckets, ocolors; char *bucketarray, *oldbucketmem, *bucketmem; @@ -940,7 +940,7 @@ uvm_page_rebucket(void) * locality strategy. */ aprint_debug("UVM: using NUMA allocation scheme\n"); - for (CPU_INFO_FOREACH(cii, ci)) { + for (CPU_INFO_FOREACH(cii, ci)) { ci->ci_data.cpu_uvm->pgflbucket = ci->ci_numa_id; } uvm.numa_alloc = true; @@ -957,7 +957,7 @@ uvm_page_rebucket(void) * freeing CPU's preferred bucket on free. */ npackage = curcpu()->ci_nsibling[CPUREL_PACKAGE1ST]; - + /* * Figure out how to arrange the packages & buckets, and the total * number of buckets we need. XXX 2 may not be the best factor. @@ -1102,7 +1102,7 @@ uvm_pagealloc_pgb(struct uvm_cpu *ucpu, KASSERT(pg->flags & PG_FREE); pg->flags &= PG_ZERO; pgb->pgb_nfree--; - + /* * While we have the bucket locked and our data * structures fresh in L1 cache, we have an ideal @@ -1891,7 +1891,7 @@ uvm_pageactivate(struct vm_page *pg) /* * uvm_pagedequeue: remove a page from any paging queue - * + * * => caller must lock objects * => caller must hold pg->interlock */ @@ -1953,7 +1953,7 @@ uvm_pagelock2(struct vm_page *pg1, struc /* * uvm_pageunlock: release page interlock, and if a page replacement intent * is set on the page, pass it to uvmpdpol to make real. - * + * * => caller must hold pg->interlock */ void @@ -1974,7 +1974,7 @@ uvm_pageunlock(struct vm_page *pg) * uvm_pageunlock2: release two page interlocks, and for both pages if a * page replacement intent is set on the page, pass it to uvmpdpol to make * real. - * + * * => caller must hold pg->interlock */ void @@ -2284,7 +2284,7 @@ uvm_page_print_freelists(void (*pr)(cons (*pr)("There are %d freelists with %d buckets of %d colors.\n\n", VM_NFREELIST, uvm.bucketcount, uvmexp.ncolors); - + for (fl = 0; fl < VM_NFREELIST; fl++) { pgfl = &uvm.page_free[fl]; (*pr)("freelist(%d) @ %p\n", fl, pgfl);