From nobody Mon Sep 07 18:37:24 2026 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 4hdwm548gcz6rr45 for ; Mon, 07 Sep 2026 18:37:25 +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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hdwm46bKtz3xkX for ; Mon, 07 Sep 2026 18:37:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788806244; 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=jz7U0jsCpZ/xAJkBoIP7yZPwpwyZJW/5RNau/bKiOEw=; b=ITdTCRtBmhCtWzJjUxcY1KGAykgYPBVPnmhSiHg8onjfRqBj7ObGfkBCsH7IvSain6ugRr pWu1O23QpHV/L8QufjV2pjESndrUluaIXWG+QKUpJpNt2TgdYGo2h10XK+8jrN5NZqvkXz hIH0DDeS+MDZKC285Fas/hSj8z1hVSnMecF5+4f4toKHR1Uxz2oIU1cMZ1KObV4F5As+JP 1WnV0SNCLwZ/VDo87CsLAlzNdCILJM7BTHIR5z1XWGZWUK/KDWT8DBhW/0UuPbZLmg2Qwx AGD3WX03tUNqEih4aqolj8Pay1YJZzLCWEs4Pzykk1Iw6aq9GYSN4D2zPMReyg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1788806244; a=rsa-sha256; cv=none; b=CkQ0QMgysEPWxne9GtsExtCX4eA5IB8GjauS+p7A0FKnqQKqifNPte3AUTgV1AGWbXDwDo LOsWfLKIxpD927owq61SbDt3e0amUZ6VLpyVF+2yOGaxO8TppjyA+0KE8patT4wIXDIXzM vQgHixPkCYtmoR2QvNThQmV1LiAF5sjqbRMr6oIgq65g5+UnOD7QU8CurdNdzNcZS3Jh61 gRUhW93xvF1s0zYe0YocwjvvRQ1aIfUfyaWIlo7Weangid5zgrKpmQCpoho/aOsXJZv21F VKFfZbJzw9nK+JsrE9xw64oRtr5bkXqfQ05LGoQsy8l+62lJvtuASGii6iBLaQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788806244; 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=jz7U0jsCpZ/xAJkBoIP7yZPwpwyZJW/5RNau/bKiOEw=; b=eR2CY47PlPh2sQtYPMgqtpcVEW4eO8C/Ne+ZX+nWF2PIzQa0iuc2Q3oPy5k8umhvd4vy0g AZ2ogg8/nMmEK2BSyMxT2MaIdN4727SbDmEbG+mAFFjOU6+rUzHIk9ggnlmNtd/6pXPXpU YkSlVuZqTK02mOT6vvH0gu0XS6zHh/csD0r3vTiew40S7+PWSxaCXJNQK2z4wV5+x6NKw9 ESnLoamPMxgLdPanCsdeloAYmu0Dtj7qW41Sg7w3volqg0uaJU9xz8SjC9py75SZR7z0GQ azdZ6IIYAXEpikFQdhvE4CrKXlhIInlyiIXmmPNYZnsFlNKv8LfvEJt2nmhFMQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hdwm43X9hzTkN for ; Mon, 07 Sep 2026 18:37:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 36339 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 07 Sep 2026 18:37:24 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jean-=?utf-8?Q?S=C3=A9bast?==?utf-8?Q?ien P=C3=A9?=dron Subject: git: 153446ecd740 - main - linuxkpi: Add `split_page()` 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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: 153446ecd740702af00cf9b09d8cd39f6d397dd3 Auto-Submitted: auto-generated Date: Mon, 07 Sep 2026 18:37:24 +0000 Message-Id: <6a9f0464.36339.61ffa66c@gitrepo.freebsd.org> The branch main has been updated by dumbbell: URL: https://cgit.FreeBSD.org/src/commit/?id=153446ecd740702af00cf9b09d8cd39f6d397dd3 commit 153446ecd740702af00cf9b09d8cd39f6d397dd3 Author: Jean-Sébastien Pédron AuthorDate: 2026-08-15 18:31:46 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2026-09-07 18:27:30 +0000 linuxkpi: Add `split_page()` This function is supposed to split large pages into an array of `PAGE_SIZE`-sized pages, with correct refcounting. This is apparently used to allow some drivers to free a part of a large page only. I don't think we use large pages in linuxkpi. Therefore, this new function is curently a no-op. The DRM drivers TTM memory manager started to use it in Linux 6.15. Reviewed by: bz Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D58762 --- sys/compat/linuxkpi/common/include/linux/mm.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/mm.h b/sys/compat/linuxkpi/common/include/linux/mm.h index 0f5cb4552710..1732e21de5cf 100644 --- a/sys/compat/linuxkpi/common/include/linux/mm.h +++ b/sys/compat/linuxkpi/common/include/linux/mm.h @@ -418,6 +418,12 @@ unlock_page(struct page *page) vm_page_xunbusy(page); } +static inline void +split_page(struct page *page, unsigned int order) +{ + pr_debug("%s: TODO\n", __func__); +} + extern int is_vmalloc_addr(const void *addr); void si_meminfo(struct sysinfo *si);