Message ID | 20250402210612.2444135-3-willy@infradead.org (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5DD3FC36018 for <linux-mm@archiver.kernel.org>; Wed, 2 Apr 2025 21:06:38 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id DB78B28000B; Wed, 2 Apr 2025 17:06:34 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D42D8280003; Wed, 2 Apr 2025 17:06:34 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BE20A28000B; Wed, 2 Apr 2025 17:06:34 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 9CBD2280003 for <linux-mm@kvack.org>; Wed, 2 Apr 2025 17:06:34 -0400 (EDT) Received: from smtpin30.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id F2E141C7D7D for <linux-mm@kvack.org>; Wed, 2 Apr 2025 21:06:35 +0000 (UTC) X-FDA: 83290337550.30.C562A61 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf26.hostedemail.com (Postfix) with ESMTP id 54A3314000B for <linux-mm@kvack.org>; Wed, 2 Apr 2025 21:06:34 +0000 (UTC) Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=p++baYfz; dmarc=none; spf=none (imf26.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1743627994; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=UL11Ny1HswpINtl0BZS325Krjlkrbh6vmj2yMHlUsgw=; b=GrYvN9CTpQsuJoyNhvqQS9btoIS5/r/6TnX5KRwLSjB5b5ouZsxs3fUnp+nCVyH5NlNjXV 1OUhSk8y7IV3CYSqsXHy0AS2Wtc2LdGnE9dsw1crKPww0s0zdSIC60bbiZLpRYq+WYiWXO Uf7FCnji+/98WdwrFkJMui8VOVPArmc= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1743627994; a=rsa-sha256; cv=none; b=MPukS5PLsESsE5tZ2n+0OXnMDObvtZQme+PEubt6QhkECLN2mJl+HgH6OV6sqprjHgZwuj ehYL/fhcR66yZZJCs8yCX3y9expik4JggTz45ftxT4FntVcCgEF0fxzOvph6sk6Q+c97UK oTjjvbAyEKwKWBBN73vpqKOfzLjVSS0= ARC-Authentication-Results: i=1; imf26.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=p++baYfz; dmarc=none; spf=none (imf26.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=UL11Ny1HswpINtl0BZS325Krjlkrbh6vmj2yMHlUsgw=; b=p++baYfz9Bv+Q0RIgPo9kTFmHb 8vrNlEwLKYQangSwCJlWtjtfrT1AIDQf00Uyzf9pPhrb0e5O7++HaAWwxv1fK0zt1lHqU1RQEFGJA /AUB3y9q2bqukF63UezfCw6z5Ivhy59ckoIG0x/Qc3LfAygilO8eY5UUQLJ4a5R1iDxNfuHtD0H9n 49KmZbJDtJIdItnVZ8DDkloo4xQflOb3CQ+kprxRgHLu/KX0i7HJHSWoodsdaIC+dzWJBEgJADkas NkDjlalVz6SL4ZdkDApyZCcTu16hay92qCkAJsVFTQpRpaAIM4xDITdyePk53cOFydxBIMfcw6+Lr MAu7tkUg==; Received: from willy by casper.infradead.org with local (Exim 4.98.1 #2 (Red Hat Linux)) id 1u05Hq-0000000AFqO-3dXI; Wed, 02 Apr 2025 21:06:14 +0000 From: "Matthew Wilcox (Oracle)" <willy@infradead.org> To: Andrew Morton <akpm@linux-foundation.org> Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org Subject: [PATCH 2/8] mm: Remove offset_in_thp() Date: Wed, 2 Apr 2025 22:06:04 +0100 Message-ID: <20250402210612.2444135-3-willy@infradead.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250402210612.2444135-1-willy@infradead.org> References: <20250402210612.2444135-1-willy@infradead.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 54A3314000B X-Stat-Signature: wo8uiw3wxw7e9hjrugwojzde7yxug481 X-Rspam-User: X-HE-Tag: 1743627994-579315 X-HE-Meta: U2FsdGVkX18XsI2Lp6e3ZigZvywAUOkrhIEnAoIAGm3kcnqQIDymS9Mqno0dNqo3XF4ZpdrkLIPfeham0SPylmCuepDAkaIrE+EXvhsExzeSqKdLSQNqc7LtIfXZGd8Vs1+RoNlIEcxpqPoDqV02VidabYCayh+C1HKQsCGZ9gifChejHecnEsG6JUinyirukKTnf2rujGqPHfQ6W2A9zuw3wC07SdjhjDBskQEcWKMQRMOzSiGHMZbgUwyKCXDEPbk/3Bok2K5BAxdPVIjXeZBPXUKFFIntmQXF/YuVEpcRc+oLxMydU1GF6M/LlmAt3YA/EbGTPVHFlrvk6P9wRaZzc16xvMMzeoOIhz39wOjaiH4EwW1hLCXVkCTowb10L+dT3m1FxzrjgpeFBgw7Coa+B/vPJkf0NfL1YwYEpfnxsi7JW/CtW80iuNvqKKB8tx+SX/nGt3oF0P0YuAQ1ecBcQa8PnVUDb5wHTeKq9ECO+qCoLUH9dgkmKPNAgLVm14i3lmz7jJiQVRMkO4/ITfOSOAOiiAQWTlWiy5y+GiZ+5ptbJlMTwLcrIBy2XoFWNCxhC6SeJmftv0mpP1c3XkbHK+GfzYop8FUDH6TcD08Iv46J2jcHNrdjYZ1PMpldQGNdoYsapZmDKgoT3DEJRRAYVgkBXSHwNlKxgYvkfgMpZwVBqJIfSvTmjtK0HvbXkISBnnz5HpFnob+zdpSkJkqn/2gC7tmngsd5pxDJ//orq/RqLIFYG4J1i+MBqjwIQzirJ9wqQONcIZ9GMfk1dn7ND+j8Uhq81LatrlXfvRtd2EUeTdWDqsrHsL5mgXzNCSWRdYmWSGt12XNbKoCMlW5HTdFxfdy+5tf38K1oKIe5J9Uh8sQgzDMIwxRxHyTh0tFCrcjjgTp2JaaJm1lI+bcapceeOJNCLAxe/0B0GqrjJPfTDne+CQXEV/NDF28tpaZTEK1Hfo33WM/sSRP 0A/YUjao PBxduJBOoH8TzrHRGy9XN3a8e16kiHa5cthFAUOV1EeoOnjSF6bjqV/sDb+UNLmoXsc43DkZdxjvzikJsD0fhhQ1FhKurnJ+j7eBpUmcj4uPuRRhxlvQ1gC26Y3hl6YcQU0WxpkDavZMJP/ISbV9odzBXSXKNJ56XWV/nFKorcU6EXtYv1IqEz6xBV6Dud+OJDXzc95E2KltuWEh0lH/BuIfVnJ8lxLreW6N8UcQywR/2J1hMC40I322LYm9KPLhS4fF5GARoQR5RsFXU/wfTAXGAnr7JGrQ211Id X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
Misc folio patches for 6.16
|
expand
|
diff --git a/include/linux/mm.h b/include/linux/mm.h index d910b6ffcbed..99e9addec5cf 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -2428,7 +2428,6 @@ static inline void clear_page_pfmemalloc(struct page *page) extern void pagefault_out_of_memory(void); #define offset_in_page(p) ((unsigned long)(p) & ~PAGE_MASK) -#define offset_in_thp(page, p) ((unsigned long)(p) & (thp_size(page) - 1)) #define offset_in_folio(folio, p) ((unsigned long)(p) & (folio_size(folio) - 1)) /*
All callers have been converted to call offset_in_folio(). Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> --- include/linux/mm.h | 1 - 1 file changed, 1 deletion(-)