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 CD5CAC00140 for ; Thu, 18 Aug 2022 04:17:10 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D1ED66B0073; Thu, 18 Aug 2022 00:17:09 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id CCE3A6B0074; Thu, 18 Aug 2022 00:17:09 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B96138D0002; Thu, 18 Aug 2022 00:17:09 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id A9F716B0073 for ; Thu, 18 Aug 2022 00:17:09 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 73CA341792 for ; Thu, 18 Aug 2022 04:17:09 +0000 (UTC) X-FDA: 79811403378.14.594A3A5 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by imf22.hostedemail.com (Postfix) with ESMTP id 02724C019D for ; Thu, 18 Aug 2022 04:17:08 +0000 (UTC) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27HMpFUM028738; Thu, 18 Aug 2022 04:17:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=zNLZYmX2p5iSZQSeBnGn7bq7FBQS1XMrv0gSv1lLN0c=; b=I0GS9YNC3ORADBJW1M5JoO4ub4UJvuMRGtGFkrN7OEuXEgSv9gP9U3q/tFtEj3yx/bI8 xDPvx9WjuPpG83g3E4ro92Ji2sMdQ9Si3qnWf6iAPGk1oJ7xDX5tDd9Sf78Gtj14xl8V lut/8jU8Ei4BEgFY6nUwdRcL+TZfxJvdugHgUBmu4ELuIAxl65i3CLSUe5cRXywUOUeY zb6012LTR5ocjblSxJwZj12haHhb8UTbl/ayHKUcaGe9f3TuLZbnK8BRogdhAkXKkxGm jSZpl4zZ8HePJdUmvjAjvs1fE6+ECvO83DW3C5Q61HW0gUoKeiSg8ucBJozTtyKOcAt3 Bw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3j181xhcnm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Aug 2022 04:17:04 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 27I4H2Og017942 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Aug 2022 04:17:03 GMT Received: from [10.232.65.248] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 17 Aug 2022 19:25:27 -0700 Message-ID: <4f90ea32-4d18-dcf7-0ca1-586f7e6c8043@quicinc.com> Date: Thu, 18 Aug 2022 10:25:25 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.0.3 Subject: Re: [PATCH v8] mm/page_owner.c: add llseek for page_owner To: Andrew Morton CC: , , , , , References: <20220816020748.18040-1-quic_yingangl@quicinc.com> <20220817091324.59afdb143b6330974f4e9e4c@linux-foundation.org> Content-Language: en-US From: Kassey Li In-Reply-To: <20220817091324.59afdb143b6330974f4e9e4c@linux-foundation.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: REoGvHdDLkWb0kwcqqLzvZg1W8l0x6AA X-Proofpoint-ORIG-GUID: REoGvHdDLkWb0kwcqqLzvZg1W8l0x6AA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-18_02,2022-08-16_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 bulkscore=0 clxscore=1015 impostorscore=0 mlxlogscore=679 spamscore=0 lowpriorityscore=0 adultscore=0 phishscore=0 suspectscore=0 malwarescore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208180014 ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=pass header.d=quicinc.com header.s=qcppdkim1 header.b=I0GS9YNC; spf=pass (imf22.hostedemail.com: domain of quic_yingangl@quicinc.com designates 205.220.180.131 as permitted sender) smtp.mailfrom=quic_yingangl@quicinc.com; dmarc=pass (policy=none) header.from=quicinc.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1660796227; a=rsa-sha256; cv=none; b=XLifygcdaBcQfm4I9qzpEsuhOUvcCqUEPUIJXcsAp0NK7VLCcap73X1mcKyQDtmDW3nBdE tbOgV1tbOONCy8ZUPELFm76nloGGJIakR/bcM/Bk2dGal1PCpF3aEcGwu0M75ApAez3r/s XWQzbT2iYtw7MPVke1IivbO13/uBW6k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1660796227; 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=zNLZYmX2p5iSZQSeBnGn7bq7FBQS1XMrv0gSv1lLN0c=; b=H1ki4kemTq8DwVGONFg2Gnt+8OcFRJzJvyVjw7H8om3MnTUC+CwG4AKZn8vefsLSupuCBr a6ntbJRWgp0wnf1zmLprn5JHzSnE2hfM8qdLkZOa/kgTuT8fcPDDbHom459vqo3PQPNKET e6wyVu4tX/1ElYSdGeyN+6S7UlVUQ34= X-Stat-Signature: itz8wkyo4b563aqdbjfsi3hkgb3t77c8 Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=quicinc.com header.s=qcppdkim1 header.b=I0GS9YNC; spf=pass (imf22.hostedemail.com: domain of quic_yingangl@quicinc.com designates 205.220.180.131 as permitted sender) smtp.mailfrom=quic_yingangl@quicinc.com; dmarc=pass (policy=none) header.from=quicinc.com X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: 02724C019D X-Rspam-User: X-HE-Tag: 1660796228-266716 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 8/18/2022 12:13 AM, Andrew Morton wrote: > 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. > that is correct, I will update the change log for detail make it easy to know why we need this change.