From nobody Thu Feb 16 11:55:33 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 4PHYKy2j6Gz3q5bx; Thu, 16 Feb 2023 11:55:34 +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 4PHYKy0jxpz46qV; Thu, 16 Feb 2023 11:55:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676548534; 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=UGBr9Io2ecTJyavs7/PSHjBFTYdBY8iGu3zBP6TzZmQ=; b=WaLM8UtTJaaKb9t7T4smQOtmcGUvb83yuBy+XCfkII02Rlbuw5GOBGW94aX2mP8ZayDf9x yPWZ7u2SoAHQIWv1QP0fFQTBfAEmKR6R+ZxHaAIndPgTirfTO6Q35NSgBzjGSGpNkPh6lu J6k2KnfWlkN+7Nu+aa8R1pXkGPytLlK3DUbn4Qwjgv2zxhQiBZG1J1VAhK/2Z27s55zs+Q ixznKu4TrJPY614oAgKjjSJ55ichEdyXLMh/tf2sf9qHIeewYj0VXzPm2Nqic5oOsjWkJC hj9fdT3Dgf0Dh5JjOi8DwPVnLX7Tie6QGGLPQkys6786GHRr9hbgSEeOKYi4ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676548534; 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=UGBr9Io2ecTJyavs7/PSHjBFTYdBY8iGu3zBP6TzZmQ=; b=gTa+TiTjcpRa0u6gmnTZ0f32mzaXSp3ykf6DM1qlZHrzlO8rSNCCb6oSycNnMb5hsgvelQ VsY5a1BDat3B0Bu2Rm/1jwkU4xd5OfRuvNLad8JoWFg3CzjYaPQUBuSlU+AXbnjz0Y/oi7 13L+GkyL86XnZ+JNrPm9rhJKJ6DZ3zd9Q58ntOGLJagsnp0awOeRxn0/n0t+Huxf6/uR5I Ml3GxrYJPc2TjSOmi1DVUH5pPSVIHtJo0a2F7x+uM8T9lZYsYHCXxH9L9HDEomcnoL2i2o FTAgsmQOdGR1Ses5US5iZn2aY7hgsLEY7S7ctMh+SmGwux7VagWPt7ect4GskQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676548534; a=rsa-sha256; cv=none; b=pSz4VbInuEmeDhYjc3t4VOneZ//TNKzvfbIRSoj9zWbpWEgPKg6StH3KzzwfvP/a95f9aG +2EVdYzJYUDGLseAXQ3CYpezZ9PUtpiUaInwb2HU1UbrewmfH3/4UBBPQFV+drUyPYjlXK UyuxHZ3Kz1UZmYdX81fVEQUw6TOZa/tDhdxB8sRDf8La+ik6/O9g0QDTwtmqy2KIu/V+74 3wrkdz8+78ADAn7irRXiVCeEJ6325buwROcBwXDETrbx+r8b0kQ3Syv9igVqiohHo0R0e9 p1TBTTb2CAQpxDnt4zZLdpsJ9RjuBoTVV6oLmQXcnuD937j3Q35mOkR2gnB78A== 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 4PHYKx6gRWz12tf; Thu, 16 Feb 2023 11:55:33 +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 31GBtXXR054719; Thu, 16 Feb 2023 11:55:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31GBtXLX054718; Thu, 16 Feb 2023 11:55:33 GMT (envelope-from git) Date: Thu, 16 Feb 2023 11:55:33 GMT Message-Id: <202302161155.31GBtXLX054718@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: =?utf-8?Q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Subject: git: ced06aa51626 - stable/13 - linuxkpi: Add `gfp_mask` field to `struct shrink_control` 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: dumbbell X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: ced06aa51626fe98c4a44108123e014d2f6bb598 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dumbbell (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=ced06aa51626fe98c4a44108123e014d2f6bb598 commit ced06aa51626fe98c4a44108123e014d2f6bb598 Author: Jean-Sébastien Pédron AuthorDate: 2022-12-30 09:56:46 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2023-02-16 11:55:10 +0000 linuxkpi: Add `gfp_mask` field to `struct shrink_control` bz@ asked if the KBI breakage is a concern here. My answer was that this is the first time in the DRM drivers in Linux 5.13 (the version I'm working on) that this structure is initialized (as a variable local to the function in this case), so it shouldn't be a problem for the DRM drivers. However, I can't speak for other drivers maintained outside of the src tree. Reviewed by: emaste, manu Approved by: emaste, manu Differential Revision: https://reviews.freebsd.org/D37913 (cherry picked from commit 3aa335d00ac860565d106eb47e931206641cd653) --- sys/compat/linuxkpi/common/include/linux/shrinker.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/shrinker.h b/sys/compat/linuxkpi/common/include/linux/shrinker.h index 05f702e62fd5..39ea35f0a862 100644 --- a/sys/compat/linuxkpi/common/include/linux/shrinker.h +++ b/sys/compat/linuxkpi/common/include/linux/shrinker.h @@ -29,8 +29,10 @@ #define _LINUXKPI_LINUX_SHRINKER_H_ #include +#include struct shrink_control { + gfp_t gfp_mask; unsigned long nr_to_scan; unsigned long nr_scanned; };