From nobody Wed Nov 09 00:32:40 2022 X-Original-To: dev-commits-src-main@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 4N6Qsh32Bfz4V4Mv; Wed, 9 Nov 2022 00:32:40 +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 4N6Qsh2SLtz3sL6; Wed, 9 Nov 2022 00:32:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667953960; 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=0T8LffwyB7rz0ZGU5P8Ig9ZTMLpzM9o/zEpVPckR3PI=; b=r3ITf9rE2voI6hQ2YzbeQrt8YUXMH79+I/hUa7nbAw+axqlAhse7k7x1LM3spAGzXcT9LY qA6UEndePQI/q2fF6KuHGr5qcjAFpeBhurwQddSwIjH4yiaFxu/3MxeF1CwWUK53vYhb9A Y+QrFpJPU7WAIG/3R8JuciL36MQPC2+OX4699jZaLcYPbQuYR66QR3pxte6jYSQTgwQvaw 6+RqXj7S5SSy0WH9ZEmLxAW4NNoCU0ad8iCLKv56h6EwLXpWMmLLHobDsJFzyfcep+DJ31 I12/LxsdUFC526VbzJHARoIOiEJKe69XWYtKzPkk0wMBJbHCXIZU/D0n2qRVhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667953960; 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=0T8LffwyB7rz0ZGU5P8Ig9ZTMLpzM9o/zEpVPckR3PI=; b=l68XqM4pTSr+2/M9SEeI0QT91tjMiAnNslUdavTydWk8f0Ozfh1m3cHZehSOApxKZlQqSW V1eyXwhbgak20B0OM/sYF5hUWgyIuQZ14apA7hM4JHdAtOI492F597h0H/2bWrOuiC6+Us cuHuoDLPgPj4nIRfckr5OUg5e8qfxh1iXaFWH3cnMM6wbnk/FRRTpnAQld9Yhe6rtB3xeU +jVpNrCTLiZrnBEbXF3H4dyJEX6tJqPmCvEpl127nNosIwnBcojy+Md53HDk6jqjfqHmDR h7xjqKZMQcBXXZEHOWAACd5IlDVi5A2DUxNCzsw5NHwf5yjh4ZD5tzJKZzqCmA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667953960; a=rsa-sha256; cv=none; b=ZmxOYGZP1PfzzWSTx9HX9N/P/jgHShwnPY8a0XUWMibsibq9/yGxzXeNlRZKlNlKtaFqPx s0atXyvUvli/wQzVkIBEqFL7GKeEwemOldutnpcGYWAfhFuLCmrj5Zu38xV3gQkfKXb9es J6yJgm4uday83yTMM7mg5QWPCqfn52V9h5i7Q4tCeBjR9Q7YpXSTBlnloAIC5NFrOckRpB 8367IPqGjMdbtwqEkIr8SxbXRrEyqe0KH9X1YMSu44AhaIW/z42NaWAE6xTS7pYJ0ATk9+ j4InyyxgmJG6r1HgI8N4ZjrNPzOLIsdcH9KPBWztrSxanO+lMUjvfur6P6W9PQ== 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 4N6Qsh1WSRz12Zf; Wed, 9 Nov 2022 00:32:40 +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 2A90WeUP068558; Wed, 9 Nov 2022 00:32:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2A90Wesa068557; Wed, 9 Nov 2022 00:32:40 GMT (envelope-from git) Date: Wed, 9 Nov 2022 00:32:40 GMT Message-Id: <202211090032.2A90Wesa068557@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: 83286682f848 - main - vfs: whack mips remnant List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 83286682f8485cfaa6ce96e2d43ffbea4a580752 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=83286682f8485cfaa6ce96e2d43ffbea4a580752 commit 83286682f8485cfaa6ce96e2d43ffbea4a580752 Author: Mateusz Guzik AuthorDate: 2022-11-09 00:31:50 +0000 Commit: Mateusz Guzik CommitDate: 2022-11-09 00:31:50 +0000 vfs: whack mips remnant This reverts commit 8ffa01a06199df4d14b56a9261dc2a8b3b156a2f. --- sys/kern/vfs_bio.c | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index aca79eb466b2..cb94f3390d8a 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -5212,24 +5212,7 @@ bdata2bio(struct buf *bp, struct bio *bip) } } -/* - * The MIPS pmap code currently doesn't handle aliased pages. - * The VIPT caches may not handle page aliasing themselves, leading - * to data corruption. - * - * As such, this code makes a system extremely unhappy if said - * system doesn't support unaliasing the above situation in hardware. - * Some "recent" systems (eg some mips24k/mips74k cores) don't enable - * this feature at build time, so it has to be handled in software. - * - * Once the MIPS pmap/cache code grows to support this function on - * earlier chips, it should be flipped back off. - */ -#ifdef __mips__ -static int buf_pager_relbuf = 1; -#else -static int buf_pager_relbuf = 0; -#endif +static int buf_pager_relbuf; SYSCTL_INT(_vfs, OID_AUTO, buf_pager_relbuf, CTLFLAG_RWTUN, &buf_pager_relbuf, 0, "Make buffer pager release buffers after reading");