From nobody Mon Jul 29 01:49:57 2024 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 4WXLs15q33z5S7LS; Mon, 29 Jul 2024 01:49:57 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WXLs14gydz4nZR; Mon, 29 Jul 2024 01:49:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722217797; 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=okPOkxkU3kMZGoQdVvLNfchmkehIZ2OefE+2a35L7cw=; b=KM0TJ4TXxKWgJ+i21UOW7mDhzbtCCx3tTUQCzxQBHPWU5Aa7igNLAhGUfEFwueEXr+tQoU uhyW/MMQPbfvMQ8S+55nSfdOfrUXc6Qutxk3+w+75FlBLG4lWOnpZ1m7LTbqtAVcMq1P/4 be3v4ftnxiAFVoC0i+JknHNBT5xw4yi71icPzj522ZfiyXoDZrf2CvM0nR7WarmcG8ZVwJ qhU/gAnohCv0ejdq/wj/Agj5xcwXD6PzJMej+Pe1Za5kkMCpjisiDMigheD7EaGMt8RsQd PpSnUEh7NsPPr0wWLFuxjLOPj6NygWbriOXb+jlgK1SNz63nfuGJtKv9jgtDVw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722217797; a=rsa-sha256; cv=none; b=evJebliTRiNZKZXXuajjWZI2RwWxGSDancOP2NN2Jf0EuXlrKXknm7BcnRmb9hs63lEoVu brejD4gBmwNw7DaH3GY6zlQM5nc1bOEKgs2DOUgQan95+AAGv2cBqRRBXoWR6w9xT8hHFE CMLlmb5orMHeyPYdQ+0xg336euZaFaNVDIHQulDhO47P6IkqoO2dBnzSQGycnPhm18rN8M NrEuax/4e7uZbKMBWRlV03MGS8xydTbrLXY1qicG3DSLVSuaw96FPoiyWJ3Xcv6wF+nQJG VLCfeBHyoow+yQsa/N2kqm+gAvMlr0XIdhlWhEXqOBe9lMPhaM7toWintw4X1w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722217797; 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=okPOkxkU3kMZGoQdVvLNfchmkehIZ2OefE+2a35L7cw=; b=ZQVSeU3CG+RT3SAaK/QeClJEynDrhOB3I9QSNesdMiXaqsZSFgGFUazysc8AmpDiX1uGEg fjHAVZoe1VGy7EuMnj3J8ukOw4pbjJzqWlQW9FT/gn9UbxVT/qyGVQ5ZyVwaX33zsjfV+O ehegOnUGJ47372DuxKK20FQbYZZv6UeWLescQ7vIPYXshuxmKf2thqbMBSAyUbG0fFJQzb 5spQWU6kPYYYg4WW7jKa8/TqYD9Z+b5DmLw6HSr2yiwnXmGPfyHJJActHfJUwcbuKxUS2A OCJcHVrqYuzplkk1XZK0Z2F+dPzrG4i/VOrDTgyEldJem4dgFmaRW5t9Ifdzyw== 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 4WXLs134cLzF1G; Mon, 29 Jul 2024 01:49:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46T1nvvZ091841; Mon, 29 Jul 2024 01:49:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46T1nvLV091838; Mon, 29 Jul 2024 01:49:57 GMT (envelope-from git) Date: Mon, 29 Jul 2024 01:49:57 GMT Message-Id: <202407290149.46T1nvLV091838@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: ba682f8b9b58 - main - vm: Remove kernel stack swapping support, part 5 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ba682f8b9b58f6b497a5015ef70b2120b8d96663 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=ba682f8b9b58f6b497a5015ef70b2120b8d96663 commit ba682f8b9b58f6b497a5015ef70b2120b8d96663 Author: Mark Johnston AuthorDate: 2024-07-29 01:40:39 +0000 Commit: Mark Johnston CommitDate: 2024-07-29 01:40:39 +0000 vm: Remove kernel stack swapping support, part 5 - Remove cpu_thread_swapin() and cpu_thread_swapout(). Tested by: pho Reviewed by: alc, imp, kib Differential Revision: https://reviews.freebsd.org/D46116 --- sys/amd64/amd64/vm_machdep.c | 10 ---------- sys/arm/arm/vm_machdep.c | 10 ---------- sys/arm64/arm64/vm_machdep.c | 10 ---------- sys/i386/i386/vm_machdep.c | 10 ---------- sys/powerpc/powerpc/vm_machdep.c | 12 ------------ sys/riscv/riscv/vm_machdep.c | 10 ---------- sys/sys/proc.h | 2 -- 7 files changed, 64 deletions(-) diff --git a/sys/amd64/amd64/vm_machdep.c b/sys/amd64/amd64/vm_machdep.c index c6b78824d730..f6d52fa4c02b 100644 --- a/sys/amd64/amd64/vm_machdep.c +++ b/sys/amd64/amd64/vm_machdep.c @@ -374,16 +374,6 @@ cpu_thread_clean(struct thread *td) } } -void -cpu_thread_swapin(struct thread *td) -{ -} - -void -cpu_thread_swapout(struct thread *td) -{ -} - void cpu_thread_alloc(struct thread *td) { diff --git a/sys/arm/arm/vm_machdep.c b/sys/arm/arm/vm_machdep.c index 1dd01f6700aa..377373388478 100644 --- a/sys/arm/arm/vm_machdep.c +++ b/sys/arm/arm/vm_machdep.c @@ -146,16 +146,6 @@ cpu_fork(struct thread *td1, struct proc *p2, struct thread *td2, int flags) td2->td_md.md_saved_cspr = PSR_SVC32_MODE; } -void -cpu_thread_swapin(struct thread *td) -{ -} - -void -cpu_thread_swapout(struct thread *td) -{ -} - void cpu_set_syscall_retval(struct thread *td, int error) { diff --git a/sys/arm64/arm64/vm_machdep.c b/sys/arm64/arm64/vm_machdep.c index 457157e34a6f..924628001103 100644 --- a/sys/arm64/arm64/vm_machdep.c +++ b/sys/arm64/arm64/vm_machdep.c @@ -137,16 +137,6 @@ cpu_reset(void) __asm volatile("wfi" ::: "memory"); } -void -cpu_thread_swapin(struct thread *td) -{ -} - -void -cpu_thread_swapout(struct thread *td) -{ -} - void cpu_set_syscall_retval(struct thread *td, int error) { diff --git a/sys/i386/i386/vm_machdep.c b/sys/i386/i386/vm_machdep.c index 2c2fb9dc9821..0e0cebe98e5f 100644 --- a/sys/i386/i386/vm_machdep.c +++ b/sys/i386/i386/vm_machdep.c @@ -374,16 +374,6 @@ cpu_thread_clean(struct thread *td) } } -void -cpu_thread_swapin(struct thread *td) -{ -} - -void -cpu_thread_swapout(struct thread *td) -{ -} - void cpu_thread_alloc(struct thread *td) { diff --git a/sys/powerpc/powerpc/vm_machdep.c b/sys/powerpc/powerpc/vm_machdep.c index 74a61e1b7016..12c64f9e38bf 100644 --- a/sys/powerpc/powerpc/vm_machdep.c +++ b/sys/powerpc/powerpc/vm_machdep.c @@ -211,18 +211,6 @@ cpu_exit(struct thread *td) * fixed-size KVA. */ -void -cpu_thread_swapin(struct thread *td) -{ - -} - -void -cpu_thread_swapout(struct thread *td) -{ - -} - bool cpu_exec_vmspace_reuse(struct proc *p __unused, vm_map_t map __unused) { diff --git a/sys/riscv/riscv/vm_machdep.c b/sys/riscv/riscv/vm_machdep.c index f6d6f61bdc84..726f95213c91 100644 --- a/sys/riscv/riscv/vm_machdep.c +++ b/sys/riscv/riscv/vm_machdep.c @@ -113,16 +113,6 @@ cpu_reset(void) while(1); } -void -cpu_thread_swapin(struct thread *td) -{ -} - -void -cpu_thread_swapout(struct thread *td) -{ -} - void cpu_set_syscall_retval(struct thread *td, int error) { diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 167ac275c920..2c8b0dc041c4 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -1235,8 +1235,6 @@ void cpu_thread_alloc(struct thread *); void cpu_thread_clean(struct thread *); void cpu_thread_exit(struct thread *); void cpu_thread_free(struct thread *); -void cpu_thread_swapin(struct thread *); -void cpu_thread_swapout(struct thread *); struct thread *thread_alloc(int pages); int thread_check_susp(struct thread *td, bool sleep); void thread_cow_get_proc(struct thread *newtd, struct proc *p);