From: mpi Date: Sat, 12 Mar 2022 12:34:22 +0000 (+0000) Subject: Uncompress some one line comments to reduce the difference with NetBSD. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=455c70dcb4cbf645fb6bb44186f1958c3ac70271;p=openbsd Uncompress some one line comments to reduce the difference with NetBSD. No functionnal change. --- diff --git a/sys/uvm/uvm_page.c b/sys/uvm/uvm_page.c index 57b7a52b426..3dd327d25d9 100644 --- a/sys/uvm/uvm_page.c +++ b/sys/uvm/uvm_page.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_page.c,v 1.162 2022/03/10 10:46:56 mpi Exp $ */ +/* $OpenBSD: uvm_page.c,v 1.163 2022/03/12 12:34:22 mpi Exp $ */ /* $NetBSD: uvm_page.c,v 1.44 2000/11/27 08:40:04 chs Exp $ */ /* @@ -985,7 +985,9 @@ uvm_pageclean(struct vm_page *pg) if (pg->pg_flags & PG_TABLED) uvm_pageremove(pg); - /* now remove the page from the queues */ + /* + * now remove the page from the queues + */ if (pg->pg_flags & PQ_ACTIVE) { TAILQ_REMOVE(&uvm.page_active, pg, pageq); flags_to_clear |= PQ_ACTIVE; @@ -1000,7 +1002,9 @@ uvm_pageclean(struct vm_page *pg) uvmexp.inactive--; } - /* if the page was wired, unwire it now. */ + /* + * if the page was wired, unwire it now. + */ if (pg->wire_count) { pg->wire_count = 0; uvmexp.wired--; diff --git a/sys/uvm/uvm_pdaemon.c b/sys/uvm/uvm_pdaemon.c index fc4b7ba5b20..79afc305937 100644 --- a/sys/uvm/uvm_pdaemon.c +++ b/sys/uvm/uvm_pdaemon.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_pdaemon.c,v 1.94 2021/12/15 12:53:53 mpi Exp $ */ +/* $OpenBSD: uvm_pdaemon.c,v 1.95 2022/03/12 12:34:22 mpi Exp $ */ /* $NetBSD: uvm_pdaemon.c,v 1.23 2000/08/20 10:24:14 bjh21 Exp $ */ /* @@ -243,7 +243,9 @@ uvm_pageout(void *arg) uvm_unlock_fpageq(); - /* now lock page queues and recompute inactive count */ + /* + * now lock page queues and recompute inactive count + */ uvm_lock_pageq(); if (npages != uvmexp.npages) { /* check for new pages? */ npages = uvmexp.npages; @@ -271,7 +273,9 @@ uvm_pageout(void *arg) #endif uvm_lock_pageq(); - /* Scan if needed to meet our targets. */ + /* + * scan if needed + */ if (pma != NULL || ((uvmexp.free - BUFPAGES_DEFICIT) < uvmexp.freetarg) || ((uvmexp.inactive + BUFPAGES_INACT) < uvmexp.inactarg)) { @@ -304,7 +308,9 @@ uvm_pageout(void *arg) } uvm_unlock_fpageq(); - /* scan done. unlock page queues (only lock we are holding) */ + /* + * scan done. unlock page queues (the only lock we are holding) + */ uvm_unlock_pageq(); sched_pause(yield);