From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 06E5CC25B08 for ; Wed, 17 Aug 2022 16:13:27 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 83CCF8D0003; Wed, 17 Aug 2022 12:13:27 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7EBF78D0002; Wed, 17 Aug 2022 12:13:27 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6DB3E8D0003; Wed, 17 Aug 2022 12:13:27 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 5E1A88D0002 for ; Wed, 17 Aug 2022 12:13:27 -0400 (EDT) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 2C531140A06 for ; Wed, 17 Aug 2022 16:13:27 +0000 (UTC) X-FDA: 79809579654.27.6C511EB Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf06.hostedemail.com (Postfix) with ESMTP id 69CC518004A for ; Wed, 17 Aug 2022 16:13:26 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A325B615BC; Wed, 17 Aug 2022 16:13:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26E96C433C1; Wed, 17 Aug 2022 16:13:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1660752805; bh=UO87XP+ReSVdtQ6h8DT0P8BuiG4W3/3FE7FMrL/Zy+Q=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=IdqD6Qz8QH3d2NEbROstkxmEr4nGM4RAHuIsbVgLlZdNX5n015TUD2yOBaHycElf3 4gb8E3lbfmJDdLObaeAQnEa2aP+kIJk9Ck9wmUt0ZlUJbeJ5JEdTahjMFXYESc7Qlm 2STO6uywM50nmhw0zkfxm04rH8717OintFdKxfOk= Date: Wed, 17 Aug 2022 09:13:24 -0700 From: Andrew Morton To: Kassey Li Cc: vbabka@kernel.org, minchan@kernel.org, vbabka@suse.cz, iamjoonsoo.kim@lge.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH v8] mm/page_owner.c: add llseek for page_owner Message-Id: <20220817091324.59afdb143b6330974f4e9e4c@linux-foundation.org> In-Reply-To: <20220816020748.18040-1-quic_yingangl@quicinc.com> References: <20220816020748.18040-1-quic_yingangl@quicinc.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1660752806; a=rsa-sha256; cv=none; b=JF4wIPBT/Bm6OmS/qStLkihfpRY3mB2reuulDwOAf+EU9y3s5lpsRboQlLM5ONbE0BfSW0 42lZFux2P8rQRRpxCH1qsuy5SeM9pXwvH5MP0CwaNAc1ueq9IfLmeWyKI3IofoDhDeX3O2 F8DBjXqsQWSfW4U0Jy8Jzr+cQYan6TY= ARC-Authentication-Results: i=1; imf06.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=IdqD6Qz8; dmarc=none; spf=pass (imf06.hostedemail.com: domain of akpm@linux-foundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1660752806; 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-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=5pA9V5v3miYzh3NVPR+jRbewK+96tMg6rLivrTN6heg=; b=1UzgHAOtZ3m0ju0X6R52S6qzzgLwO/fZHhKDrZDIluouMAyvPv/RoYq3bbH0aEVeX3Kxfc 11F7W0qQDOmqZXfqSWKI4fJAsHzPsOmdtcDHQcLtyKYr0sOv30PSpqTPcvfkCt2CJIMc9a qwDOklYlDerJZHHmxPAw6tzvDg8qE2o= X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 69CC518004A X-Rspam-User: Authentication-Results: imf06.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=IdqD6Qz8; dmarc=none; spf=pass (imf06.hostedemail.com: domain of akpm@linux-foundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org X-Stat-Signature: k13o3yku4n4bhnqkrzjwxr7wwt3txfy9 X-HE-Tag: 1660752806-216587 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: On Tue, 16 Aug 2022 10:07:48 +0800 Kassey Li wrote: > There is usage to dump a given cma region page_owner > instead of all page's. So... dump all the pages and then parse out the ones you're interested in? Presumably this is too slow and presumably you have a use case in which this operation needs speeding up? If so, please fully describe all of this in the changelog. If not then please fully still describe the reasons for making this change.