From nobody Mon Jan 16 18:27:41 2023 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 4NwgVj47Xmz2t2T4; Mon, 16 Jan 2023 18:27:41 +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 4NwgVj2bZyz3hpx; Mon, 16 Jan 2023 18:27:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673893661; 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=R+TGsOOUaKqljBw2Rq9xE9P1nTLQov5u+kJX4H+fQOU=; b=VP3vi1g8V3/2gGwIKLdbZAmo4AsXQdRGPRoZ6ZMaW7t8tGMAEtQEezYBHtgyqDoo49kGBL oiODSaMke6B60ogJdqt+d2fjLYVGpYl2RdZ57noJY/4cmvrc23C0DvTlo+pJ+0chGz7Zmj lMpk7/7KStacf8DWw+NB5eNq6uW5uP/q3sy9azFZWbJAGH+DB8kQroCFa+AOCzEjgmnibw /F5q02LPE2D8ry4SxH1TJHtrKC79CGw51rSMkoNmGeWZwgAQ9bQj5U5h5vXDw0cJ1FvbuO 16F/DwQfjqVCIaMw7X7vZwvUQ2pTJdYWxBeThJ8h36+Bjv7fkopbaX5hlNDNZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673893661; 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=R+TGsOOUaKqljBw2Rq9xE9P1nTLQov5u+kJX4H+fQOU=; b=tanGJQgFkL0eN0tDWzjfecIopgjaTIL7j0bepkZ8MjDnnfweJTb7VmQwhx45AltG0VedMR pWNKkmGcNCkJPMU/qBuVIqDGJtSF8n+eUaX+WVJjV9eA+Edle3XgUfr1vvM+JQqJJUwvU2 xDr4vrQy6rKtdYxSjboCRdwqJGcQ1ONxZVrn6K1eogRcHZzNrVLsw6QnEhvIuwrQepHyfS JJ8SS/dWh4Nd2y/FwlI0aly8S7uoMjfgw9Xb0E2ed20QlFVzWEnzL24HA1IRVzbffnQjZs 68oLGq7DerPmWlr13eDpopOTBYZdNLHR4TFUbUHqR9UOu0mVmXVbXFYAWQb4bg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673893661; a=rsa-sha256; cv=none; b=os5FjNYlATC75V7CYMuRZlKND0nsyhFTGNnLuUb0zSv+mWfTO1wZDcuUFzZtiQMLhcus4n TStKintiB2U7ldD//wa/0ttHLGvDO2W5mIttXWhx0gGIjdpxue9tqc86kMR0Gqrgkpv1sy 7wBuHbj/BcmaQNyTaI72BhHg6ph8OZI5XAclYvd+8Arrj1+qzjdMi9XbuNiMjjBknU4gFa n6ROMuYrw9fvyBfM2AXXRRIiX6w+x0FicWxUbTP1z7sXSx2dwMlOEn4N1fQwPo4wB+QfcN LrO5l+e55Z2C294XfQo1Cf/+NMobtGdQ3xC6oL3CtkBGNYuWlQzmydSEIWrRcw== 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 4NwgVj1bBnz1GQP; Mon, 16 Jan 2023 18:27:41 +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 30GIRfE1078529; Mon, 16 Jan 2023 18:27:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30GIRfIL078528; Mon, 16 Jan 2023 18:27:41 GMT (envelope-from git) Date: Mon, 16 Jan 2023 18:27:41 GMT Message-Id: <202301161827.30GIRfIL078528@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: =?utf-8?Q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Subject: git: cf8f392260bf - main - linuxkpi: Add `memalloc_noreclaim_save()` and `memalloc_noreclaim_restore()` 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: dumbbell X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cf8f392260bf8e9b4e088f26f81ddb96bd97e91c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dumbbell (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=cf8f392260bf8e9b4e088f26f81ddb96bd97e91c commit cf8f392260bf8e9b4e088f26f81ddb96bd97e91c Author: Jean-Sébastien Pédron AuthorDate: 2023-01-02 20:59:17 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2023-01-16 18:27:16 +0000 linuxkpi: Add `memalloc_noreclaim_save()` and `memalloc_noreclaim_restore()` They are no-ops. Reviewed by: emaste, manu Approved by: emaste, manu Differential Revision: https://reviews.freebsd.org/D37933 --- sys/compat/linuxkpi/common/include/linux/sched/mm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/sched/mm.h b/sys/compat/linuxkpi/common/include/linux/sched/mm.h index 613473e142a9..c26d99378974 100644 --- a/sys/compat/linuxkpi/common/include/linux/sched/mm.h +++ b/sys/compat/linuxkpi/common/include/linux/sched/mm.h @@ -36,5 +36,8 @@ #define memalloc_nofs_save(x) 0 #define memalloc_nofs_restore(x) do { \ } while (0) +#define memalloc_noreclaim_save(x) 0 +#define memalloc_noreclaim_restore(x) do { \ + } while (0) #endif /* _BSD_LKPI_LINUX_SCHED_MM_H_ */