Received: by mail.netbsd.org (Postfix, from userid 605) id 5828C84DE3; Mon, 30 Dec 2019 18:08:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id CA09084DE4 for ; Mon, 30 Dec 2019 18:08:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id CW7g2oxjjg8E for ; Mon, 30 Dec 2019 18:08:38 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 51D7A84D92 for ; Mon, 30 Dec 2019 18:08:38 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 3AB60FA97; Mon, 30 Dec 2019 18:08:38 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Mon, 30 Dec 2019 18:08:38 +0000 From: "Andrew Doran" Subject: CVS commit: src/sys/uvm To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20191230180838.3AB60FA97@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Andrew Doran" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: ad Date: Mon Dec 30 18:08:38 UTC 2019 Modified Files: src/sys/uvm: uvm_pdaemon.c uvm_pdaemon.h uvm_pdpolicy.h uvm_pdpolicy_clock.c uvm_pdpolicy_clockpro.c Log Message: pagedaemon: - Use marker pages to keep place in the queue when scanning, rather than relying on assumptions. - In uvmpdpol_balancequeue(), lock the object once instead of twice. - When draining pools, the situation is getting desperate, but try to avoid saturating the system with xcall, lock and interrupt activity by sleeping for 1 clock tick if being continually awoken and all pools have been cycled through at least once. - Pause & resume the freelist cache during pool draining. PR kern/54209: NetBSD 8 large memory performance extremely low PR kern/54210: NetBSD-8 processes presumably not exiting PR kern/54727: writing a large file causes unreasonable system behaviour To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119 src/sys/uvm/uvm_pdaemon.c cvs rdiff -u -r1.17 -r1.18 src/sys/uvm/uvm_pdaemon.h cvs rdiff -u -r1.4 -r1.5 src/sys/uvm/uvm_pdpolicy.h cvs rdiff -u -r1.23 -r1.24 src/sys/uvm/uvm_pdpolicy_clock.c cvs rdiff -u -r1.19 -r1.20 src/sys/uvm/uvm_pdpolicy_clockpro.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.