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 X-Spam-Level: X-Spam-Status: No, score=-2.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EE7CAC38A30 for ; Sun, 19 Apr 2020 12:05:29 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 4F1E121744 for ; Sun, 19 Apr 2020 12:05:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=oneplus.com header.i=@oneplus.com header.b="IR+o/9wt" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4F1E121744 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=oneplus.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id B8B0C8E0005; Sun, 19 Apr 2020 08:05:28 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B13318E0003; Sun, 19 Apr 2020 08:05:28 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A02368E0005; Sun, 19 Apr 2020 08:05:28 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0003.hostedemail.com [216.40.44.3]) by kanga.kvack.org (Postfix) with ESMTP id 85B3D8E0003 for ; Sun, 19 Apr 2020 08:05:28 -0400 (EDT) Received: from smtpin13.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 3CB9B181AEF32 for ; Sun, 19 Apr 2020 12:05:28 +0000 (UTC) X-FDA: 76724474736.13.care27_86ee3eaf24f14 X-HE-Tag: care27_86ee3eaf24f14 X-Filterd-Recvd-Size: 6879 Received: from APC01-HK2-obe.outbound.protection.outlook.com (mail-eopbgr1300131.outbound.protection.outlook.com [40.107.130.131]) by imf24.hostedemail.com (Postfix) with ESMTP for ; Sun, 19 Apr 2020 12:05:27 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Dm4tI5HtJXT1joA5fThfcy54FkVSpw04CEAfNsARdB4KS0/lPtOdFiUIRmhULCoPtNfjAF6goq1g+hruroezsYy4ISImY7I6OCXISPDHv47h4DUWZ3Xkyc0LCnI4mGK8BJ+CeVfwjxe8aqg9S6ihQ8XQshcsVAQSPG8YwUVVKu+qml36FLRDVMoymiWCT7TgeTWGvx9yWgsZ37/JT5M4eOV0FKXI1D07e3HWtI37Wck8GInvvEtLN8wfRJzL6p2GiSRFPC7VchdsF3PcC5mJSBSEpxsyZuv9zo/bMo3EusKeMY2WGzC6969WWn5BaehoMHiJ+85xJy/AI2SygzMGaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/iBVwBttxemWiO65b02bZ1wNNlKnVicA7/Jkbs0lmE0=; b=cO+26dhVimpXWWByCUswDUM8HfZ2e/CYUAGwFql0zObvrCf1vw3tZj7FFJNhPfbbu1Bj0Z7DigR9oFguCgy8OSqNmA/ZQ2mAhsExKNFIHj0vfhII45okDafLoAQz+GHAgW8ycFrywVnLmeM/40FeODIQATUJdgrbdR+jeMhFriBHQP04ZDDgUAqKt7nlf2ZzOz4JdC4jlmGLLg14TRS4uKP7cm8JuIgMZnm+0SheDG1gbFzCmidchx0xuhdGpygcHiSclsnuhzB3wxOkj0mK/DHgObVQP8NzxtWevZxCR8hYdwDNOayA9RWDus/pFujz7bPC3DpGSZXQkQkh0OXh2g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oneplus.com; dmarc=pass action=none header.from=oneplus.com; dkim=pass header.d=oneplus.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oneplus.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/iBVwBttxemWiO65b02bZ1wNNlKnVicA7/Jkbs0lmE0=; b=IR+o/9wt75JCSOcbZj66LA+yHCIioG3GZG7jaqbUgND95I7Ax+WlAgFA+3pHX1qioKYu0/uMJtzVb+cwqz0s73Sk97CmR5Y4jLQ24z9U9UDjAbEEQLMzFTPsvvrWs721+ouLBenUofr0FnP+YyCsKPqFmfkKY9zsZdRhYgxOJ6A= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=prathu.baronia@oneplus.com; Received: from SG2PR04MB3093.apcprd04.prod.outlook.com (2603:1096:4:6d::11) by SG2PR04MB4107.apcprd04.prod.outlook.com (2603:1096:0:3::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.26; Sun, 19 Apr 2020 12:05:22 +0000 Received: from SG2PR04MB3093.apcprd04.prod.outlook.com ([fe80::140:687e:956d:8070]) by SG2PR04MB3093.apcprd04.prod.outlook.com ([fe80::140:687e:956d:8070%6]) with mapi id 15.20.2921.027; Sun, 19 Apr 2020 12:05:22 +0000 Date: Sun, 19 Apr 2020 17:35:17 +0530 From: Prathu Baronia To: Alexander Duyck Cc: Michal Hocko , Chintan Pandya , "Huang, Ying" , akpm@linux-foundation.org, linux-mm , gregkh@linuxfoundation.com, Greg Thelen , jack@suse.cz, Ken Lin , Gasine Xu Subject: Re: [PATCH v2] mm: Optimized hugepage zeroing & copying from user Message-ID: <20200419120516.pt2ff5sclyybjxat@oneplus.com> References: <20200414153829.GA15230@oneplus.com> <20200414170312.GR4629@dhcp22.suse.cz> <20200414184743.GB2097@oneplus.com> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 X-ClientProxiedBy: BMXPR01CA0064.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:2c::28) To SG2PR04MB3093.apcprd04.prod.outlook.com (2603:1096:4:6d::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from oneplus.com (183.83.136.195) by BMXPR01CA0064.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:2c::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.25 via Frontend Transport; Sun, 19 Apr 2020 12:05:20 +0000 X-Originating-IP: [183.83.136.195] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6caa275e-4627-4a3f-72dd-08d7e459ef51 X-MS-TrafficTypeDiagnostic: SG2PR04MB4107:|SG2PR04MB4107: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-Forefront-PRVS: 0378F1E47A X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SG2PR04MB3093.apcprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(10019020)(4636009)(346002)(396003)(376002)(39860400002)(366004)(136003)(1076003)(2906002)(8886007)(4744005)(36756003)(478600001)(8936002)(107886003)(2616005)(86362001)(66556008)(44832011)(66476007)(52116002)(956004)(66946007)(8676002)(54906003)(6916009)(55016002)(6666004)(316002)(81156014)(186003)(5660300002)(26005)(16526019)(4326008)(7696005);DIR:OUT;SFP:1102; Received-SPF: None (protection.outlook.com: oneplus.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Nk0PtUYgPxUiPLl+nLAGw4L5zSfrViZXVlzoZJFxfwwJmoYVML2AWWr/FYUWyT9N5blhSlOv3Z2VZkhc/Jby3FD5OS1/Rc7xt4CCllY9dSZ/xN0FrGUfQe1mneIJQDj5UFAF5HtyGkGoFfzAqJi6zLGoNpdkiVAUmI9HWb31ZMXau9megOBAIOMuXzlBO1Iw1eHJVIL08FYAMzHhseHdkvF5crgEvv1nKOYVRtb0x6zXS7CbqTCUBEByGHBN9YIuLOn5pScceCsD5NET6zeAOoM6qLebU1XuikN7inujVSlVGEPPfs2GR8TEqjSq6MQV4SYFRLGOQBU6cwIz01guE+WbpSgQyT4gGaL8vKXa1+3wbzQ/F+KI0s0jP4UO8yRE6yVheuvJYLiGyYCelu209I8dwOH3WAa79QF0FT+3A3buqDRwiYlzpZWrFiFGp0jh X-MS-Exchange-AntiSpam-MessageData: yrH/POVcBd7fe5ekTIO7gXXNjd//4+odQLkt5aaxNT7HXjrjnKWZ1VDOURfyumv+zA4mOMfB1/2rxRvP2GmVLPerNAeNEO7oqhDXXLWdq8bs91vYMM2mpJ8+tyEXPofd0gm58FNGClzXrcKpsI4NyA== X-OriginatorOrg: oneplus.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6caa275e-4627-4a3f-72dd-08d7e459ef51 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2020 12:05:21.7327 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0423909d-296c-463e-ab5c-e5853a518df8 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: vvG4IFL0cctFVNSrzQBt+ZksEO2B5My8ESqbzeNFMU0Y7F8tjjR9MB4j6NbtA2OOJkk3fijqT2POyIldc+FTqBZF2HqpRWeCveiyyygTDv4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR04MB4107 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: The 04/14/2020 12:32, Alexander Duyck wrote: > > I think the point that Michal is getting at is that there are other > tests that need to be run. You are running the test on just one core. > What happens as we start fanning this out and having multiple > instances running per socket? We would be flooding the LLC in addition > to overwriting all the other caches. > Can you suggest a way to measure the LLC flooding which could help us understand the impact of this patch on the caches? -- Prathu Baronia OnePlus RnD