From nobody Mon Jan 16 18:27:38 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 4NwgVg1SL4z2t2QS; Mon, 16 Jan 2023 18:27: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 4NwgVg1074z3hRZ; Mon, 16 Jan 2023 18:27:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673893659; 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=xQFK6AyiWfvlvbowweLwqwzouwRJA+QiFO0v3gCRSsY=; b=JB0pXpNcqif+iPOYo7bN5E8Uzh1IGRsC1a7W/Rtazjt4DAhJdqZlNMb7dmFYcyqwpLtXeb MgSArvSzCWfVG9grr3Dezu2kCNwQlZkM84EP45Wk7AyKo3v8k0tXo9HrvlzeGCvqydxzNh eutp3zHdTmfITeHloi3ybA4q2yqsqkda/2SQPqi/aZrCrTOs/8i8SBa3u0J/WU+GMdvn/L EipiTGC+fs/i1gRApSFXQAUDdENkTsTdk4IkjD1g/q4Xkj9pjbO2cEWwW5NUa9xo/ClqXE oan467HLn41e+t7FNUrKlCcCuLhJmTcM/EtjMF6gNAvQihLxh922/JjHkC3WmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673893659; 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=xQFK6AyiWfvlvbowweLwqwzouwRJA+QiFO0v3gCRSsY=; b=s3yx6GU7Txt08wjEPiXYg1H3LkF05VyI8bEfnYUVFQG8Zpj2THyORFu7RoO13hwWUW0u9+ Cq3lUJKvpotx4XT+CofYIXnybakFmkh9wAwoNNJTTCENjHaC1xha7zYUa6ojIBtn4krpEt m5PiMyAP3wFz5WFcB/cYbNIItAvEpfCI3K9qxmyjqnW+qLbxxpGMivPv7lM/0e0o7jyNft TkHC8JOzb0R4KuRjrcmelz6F29beHByaOOCC49X4BbHuOmA62I6KOyOdzi07S5ZX66CPaZ R85fCedDVV4DVpISX9u/ESv69yYmdo4JuoVskbZojkRzJNyU6U1IUZ0L+lmnCQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673893659; a=rsa-sha256; cv=none; b=b9U9m3qORw6mC7gPKPzw9krDZ6k+3670nWNZZgGPEhEle4tx2EgHMl1X18D0YExfp+YNSF dBHAZDM6ruq0rlmU11FyUv2QuysGXg8qIlHFokfB050qFfqExw/4CXSYEF6OUg841dkpkC kVm58zrDsuk8+3nj1AToj/RTJR0EuRqgqbY6PoaGQjPPGUKjjhyLL1gxjFZzhtLvTOltug BKjgnR++IOwok+T40OZ+LRbv7bBNXMpG4IdVbOkf6ARnPPeVETBOpacr6hzxOsUhrENplB umynMYomYv46E/bXSUGnnCyf8zzTkCkd3Wcv3Ouu/KMFWqSepEMR2Uind3g4MA== 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 4NwgVf6qDxz1G9x; Mon, 16 Jan 2023 18:27:38 +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 30GIRcYV078468; Mon, 16 Jan 2023 18:27:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30GIRc69078467; Mon, 16 Jan 2023 18:27:38 GMT (envelope-from git) Date: Mon, 16 Jan 2023 18:27:38 GMT Message-Id: <202301161827.30GIRc69078467@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: 3aa335d00ac8 - main - linuxkpi: Add `gfp_mask` field to `struct shrink_control` 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: 3aa335d00ac860565d106eb47e931206641cd653 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=3aa335d00ac860565d106eb47e931206641cd653 commit 3aa335d00ac860565d106eb47e931206641cd653 Author: Jean-Sébastien Pédron AuthorDate: 2022-12-30 09:56:46 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2023-01-16 18:11:58 +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 --- 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; };