From nobody Mon Aug 14 17:20:39 2023 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 4RPh4R4Xkxz4Tl49; Mon, 14 Aug 2023 17:20:39 +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 4RPh4R454Sz3ckS; Mon, 14 Aug 2023 17:20:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692033639; 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=w5HOuklIe3VqBsHbTe97rqBma2wk6DX7GxTV4fPUe4s=; b=PsiETIyrfprSHLQwNL2kizEEtJds5cPAyFwnbeZ8NUsF8vmlWl53wApoXBZt+7KFT0anNU np5+714sGdf5ytaTQk4w049XM6mkgQlg+KFJYYAZcw8wDABcnUwTdUy1zhf2O/2nRP8L22 t85z6R1Ol7VBuBWZ70vHSd/yVaXJ9wSanle6ABTmUsmPkV3I3pBLwfz1cLqOUWSe/O/XNI Sw76Zg0humJT7Ouulao0/EiWDdG6PwzKOg2QHTImcGSHwZQ7DbJDQfLtNN9BDsurw+LDw5 y69iSrkCiWowdyBSctLN4u8nfbVWGKJKH/yusRtMJdLYIxJVj4y0JK2nxitGeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692033639; 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=w5HOuklIe3VqBsHbTe97rqBma2wk6DX7GxTV4fPUe4s=; b=vngoFRPWZLGdIIK5w4fWbeRqnZ1nAqwa+EzVeYnt9JiRFpt1QYSVHPCy3y6y1GJf8s0OgC Y8F9WCcOtcPxStrRznGEBk1EpvWAicqoWM31k5On6/hWjq647ZfImujTlRzOVtIWKn4tMd xM3kJVN/hE00rndF4+wkfHtB6m2mjrmTiH9rp0FCoTYE74N+8A4AKetvVhsDXXrSFT1jgY G06S6RZ9g2qc0sZ0pVyaB2yLWyYy/YGhipkO72KDXWd69JLOSIZCYBeUBUA2DZk732QPRk 5mJrqWoMDD3aMVY3nxBPT8DKnzr7hm7sc2ZOhysMwwMIYF9/WcqIh4CBReR2Ag== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692033639; a=rsa-sha256; cv=none; b=BtXbMibtorJX09XT2LpB95qRAvIvewN4J0zL6JkCD5TtdX3Dqb11n2+HvivsuQ/XUYy0dx FOPRoZSPhcbMtz3qOVIUw9/nDqmcYSaXZy9rViTBg2y3LBkd2bdr0zu4oVAOTFLuszYcou QjGZ9X0K6E1To6DuQ22WDDgdIzUN8TxPmdnDfRUdYxNLrI/1SPQalKIrIZJstrpVDaZp0P x9/5JPEZN1o/SamzgdfnajyDfW4RH+ZzpRGqCS0e/qO8Y96UA5r+bOXVPc5UDsjL1Nr7qx BYp0pwDw1kGMqGgqXOYQ+X+bNsAMXyUskZFQJcbfPtJ+LABaNtkwmXlIN3+dIQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RPh4R3BBnzclq; Mon, 14 Aug 2023 17:20:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37EHKdYU004446; Mon, 14 Aug 2023 17:20:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37EHKdGn004443; Mon, 14 Aug 2023 17:20:39 GMT (envelope-from git) Date: Mon, 14 Aug 2023 17:20:39 GMT Message-Id: <202308141720.37EHKdGn004443@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dmitry Chagin Subject: git: 0ddd32b617c7 - main - vm: MAP_32BIT_MAX_ADDR defined in sys/mman.h 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: dchagin X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0ddd32b617c761cac28fa638c49475dbadbfd1e1 Auto-Submitted: auto-generated The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=0ddd32b617c761cac28fa638c49475dbadbfd1e1 commit 0ddd32b617c761cac28fa638c49475dbadbfd1e1 Author: Dmitry Chagin AuthorDate: 2023-08-14 17:18:30 +0000 Commit: Dmitry Chagin CommitDate: 2023-08-14 17:18:30 +0000 vm: MAP_32BIT_MAX_ADDR defined in sys/mman.h Reviewed by: kib Differential revision: https://reviews.freebsd.org/D41434 --- sys/vm/vm_mmap.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/vm/vm_mmap.c b/sys/vm/vm_mmap.c index d904c4f38e40..64287f096332 100644 --- a/sys/vm/vm_mmap.c +++ b/sys/vm/vm_mmap.c @@ -108,10 +108,6 @@ static int imply_prot_max = 0; SYSCTL_INT(_vm, OID_AUTO, imply_prot_max, CTLFLAG_RWTUN, &imply_prot_max, 0, "Imply maximum page protections in mmap() when none are specified"); -#ifdef MAP_32BIT -#define MAP_32BIT_MAX_ADDR ((vm_offset_t)1 << 31) -#endif - _Static_assert(MAXPAGESIZES <= 4, "MINCORE_SUPER too narrow"); #ifndef _SYS_SYSPROTO_H_