From nobody Thu Jan 06 06:46:19 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4F5BC19324BE; Thu, 6 Jan 2022 06:46:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JTxhW70gjz4V2S; Thu, 6 Jan 2022 06:46:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BC15F1B39F; Thu, 6 Jan 2022 06:46:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2066kJRW064569; Thu, 6 Jan 2022 06:46:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2066kJwl064568; Thu, 6 Jan 2022 06:46:19 GMT (envelope-from git) Date: Thu, 6 Jan 2022 06:46:19 GMT Message-Id: <202201060646.2066kJwl064568@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: c25a30e25544 - main - Dump page tracking no longer needed on mips List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c25a30e25544008cb79251c9f61ca33a651cdf9f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641451580; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ip9LOC/FTGXERdOzvPDeEepsVDSYXKizymt/lVGbTOs=; b=fh5OoVpv0ev2jXyh+odHgT6JxPuNnp+fuTEmxuEcG8YD7iurNXfTaXDI10P9pccVAPyPCg zidNwwk8M8yDeJcY3rlsSHeCF247vrNR+76S0M7wijrsJj7kXbzVxLZk8WhK08iIwBcM9w w/zCK522tLi5I7xE+hLdmoJP2OIDXjxuEft7Vn1HYtgDP6XA31HPN0FYnlez14gma/kVNE UxnfLllTLv/ciImh0m8lcas8kCjGrkJPNvLYhLIWR4wv5P/E6LfWuz7vWhlb1RFtMFl5Vp uZMNydqq5GPalp8ja4hM23F7+HW54SsrKzN5eOmgZAOWaumpzcPxGm+OlkX0AA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641451580; a=rsa-sha256; cv=none; b=t8/iU6XpuoZnWpYCEaNcXlo0+k6BPM6kc+xpcLTJTsWrJuKkiV0ANw4tED3m1dqb5yGZ/P CDpoMhhj3cZfOfF/SkdbImvqpmOnmggswHhZyvfoHEhj+Gj9HN2hGieEMKjncC/R79CQsS jSDLmvVQivnYk+Zo38+5eSLQkAxc/s8zTXfSSnGQwEkrx2NJJ1nPDOTcr7HDRKwwU/cNvf 1G9Vk8e+uptfVHSuKMXJ+O/caxeGxoRgThKftRUpWA4jGfP+9u3ylth3NNeQ8UstlEsRBo PV+k6fmFm/kOg7MxA7VY4ZlQKj6StZgqCN2T7bJJU6Ln+Xx5XB7OVIy761vX2w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=c25a30e25544008cb79251c9f61ca33a651cdf9f commit c25a30e25544008cb79251c9f61ca33a651cdf9f Author: Konstantin Belousov AuthorDate: 2022-01-06 00:42:40 +0000 Commit: Konstantin Belousov CommitDate: 2022-01-06 04:00:39 +0000 Dump page tracking no longer needed on mips Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D33763 --- sys/vm/uma_core.c | 4 ++-- sys/vm/vm_page.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c index 52d30780b3b0..e114e43184bd 100644 --- a/sys/vm/uma_core.c +++ b/sys/vm/uma_core.c @@ -1899,7 +1899,7 @@ startup_alloc(uma_zone_t zone, vm_size_t bytes, int domain, uint8_t *pflag, pa = VM_PAGE_TO_PHYS(m); for (i = 0; i < pages; i++, pa += PAGE_SIZE) { -#if defined(__aarch64__) || defined(__amd64__) || defined(__mips__) || \ +#if defined(__aarch64__) || defined(__amd64__) || \ defined(__riscv) || defined(__powerpc64__) if ((wait & M_NODUMP) == 0) dump_add_page(pa); @@ -1927,7 +1927,7 @@ startup_free(void *mem, vm_size_t bytes) if (va >= bootstart && va + bytes <= bootmem) pmap_remove(kernel_pmap, va, va + bytes); for (; bytes != 0; bytes -= PAGE_SIZE, m++) { -#if defined(__aarch64__) || defined(__amd64__) || defined(__mips__) || \ +#if defined(__aarch64__) || defined(__amd64__) || \ defined(__riscv) || defined(__powerpc64__) dump_drop_page(VM_PAGE_TO_PHYS(m)); #endif diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index 3398690a9661..3a0d70a47423 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -623,7 +623,7 @@ vm_page_startup(vm_offset_t vaddr) #else (void)last_pa; #endif -#if defined(__aarch64__) || defined(__amd64__) || defined(__mips__) || \ +#if defined(__aarch64__) || defined(__amd64__) || \ defined(__riscv) || defined(__powerpc64__) /* * Include the UMA bootstrap pages, witness pages and vm_page_dump @@ -728,7 +728,7 @@ vm_page_startup(vm_offset_t vaddr) */ new_end = vm_reserv_startup(&vaddr, new_end); #endif -#if defined(__aarch64__) || defined(__amd64__) || defined(__mips__) || \ +#if defined(__aarch64__) || defined(__amd64__) || \ defined(__riscv) || defined(__powerpc64__) /* * Include vm_page_array and vm_reserv_array in a crash dump.