Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2062683imm; Thu, 24 May 2018 05:16:24 -0700 (PDT) X-Google-Smtp-Source: AB8JxZou7tSgL3Dtv32RHO3s32ULkKWhM53qynvqr8EkRDzPNrS7q/zXgKsKYFyob0ruXfaGDUAA X-Received: by 2002:a17:902:b94a:: with SMTP id h10-v6mr7316699pls.321.1527164184388; Thu, 24 May 2018 05:16:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527164184; cv=none; d=google.com; s=arc-20160816; b=aBh0V99x3UQNSKNDeySMZVzx9+Ty8Addi5ay711PGu3ByiXBlUE38bLni1tZOwt5JH 43UI6atSAmaDfn/fUbEX31QAu3TOdbnXxgKsF/lvk61h95MNiHdk8h57ZxRednNQMvkF sEJnY8ILE7ri1FDHBg9V+P+LkQbvH/lPJQSZH95xHrUI6mYTDNSeO79zoGGlO7zhlOJ6 G98M78ft2sfgOVlaLtqFLtlLxsjaXWn5FatIJhSg/OFcyGa46QS9aXRwINd8NafWCcmz 5Mu5lFqpGV2TlBwyL7mY7InGnNF54zPOYxooumZHXRQYMy1OyXubAJ1gTWglSLyYOr5p LC3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature:arc-authentication-results; bh=6XuE4nVVzPUh8a3jQD0vstgKpci9p9YNaE31DKgQscY=; b=EuZH7zvDX9iCvKuo0yhDoMQ17J8SqG/mgIHKKT817w1PluYuBX17PA2/t6ANr8LxMZ B1AYJEh4UN9vx2f6A+SI3PaZ2vCTgej80KT7AAO4+1QO1x+zrS6yEOpH7vuiijGGXZwL evtpC1z3Cf6fVAb3UlDgtDxo/yM1byF/nJCZPBNKil0jkk3NMPP+rmR0+mm/Cds3Z2Mp 0UEVEY0M2Ma0donD82u9sVa8MzXTKxJ4xsZiw49zNlcokrW+lJRHZrefWxWkNTI49Nny rrCVVtd/H+cmOBEKjKd+w35Thit41eAzOl3GeUChaEJN4RAFsc2OcTeDbbvsiNPsZumB lbUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=LBIAs/Th; dkim=fail header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=ikAoM6Eo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o16-v6si14399773pgc.603.2018.05.24.05.16.08; Thu, 24 May 2018 05:16:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=LBIAs/Th; dkim=fail header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=ikAoM6Eo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S969829AbeEXMOh (ORCPT + 99 others); Thu, 24 May 2018 08:14:37 -0400 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:50802 "EHLO mx0b-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965900AbeEXMO2 (ORCPT ); Thu, 24 May 2018 08:14:28 -0400 Received: from pps.filterd (m0109331.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w4OCCZDX000659; Thu, 24 May 2018 05:14:09 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=facebook; bh=6XuE4nVVzPUh8a3jQD0vstgKpci9p9YNaE31DKgQscY=; b=LBIAs/ThQvHN1lmqkpz/5ufQbPMtcWBfUHjB33BTIHOuS8+k2DG+PSnX/Pow6fE5RLAm Ll6Dm+X3lGRpHU1UXcMcBnkrdDrTOswgNS0O4Ez8dTAY5VuVMQL3jmHAmyfDUNG0Vo93 R9DGD2Apw0qDFDELu5YZ1ftej9hqPyb3ArI= Received: from maileast.thefacebook.com ([199.201.65.23]) by mx0a-00082601.pphosted.com with ESMTP id 2j5qmqrr96-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 24 May 2018 05:14:09 -0700 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (192.168.183.28) by o365-in.thefacebook.com (192.168.177.33) with Microsoft SMTP Server (TLS) id 14.3.361.1; Thu, 24 May 2018 08:14:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6XuE4nVVzPUh8a3jQD0vstgKpci9p9YNaE31DKgQscY=; b=ikAoM6EoMUM+IQA8syteN9p0+83Ha/b1cChIwl32CofMACOTQ0x+VYOzfCENnC70Eo0Ndttaktr21EkwI0IbEVjgmCGZXcyu6OfKCN0eFpGGQ52QD61lAiB/rffb9PZ+DsFw3azZXKv4h21kO6p+koXXrs+rhK9Xer6eMIM6o0g= Received: from castle.DHCP.thefacebook.com (2620:10d:c092:200::1:f33c) by BL2PR15MB1073.namprd15.prod.outlook.com (2603:10b6:201:17::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.797.11; Thu, 24 May 2018 12:14:01 +0000 Date: Thu, 24 May 2018 13:13:52 +0100 From: Roman Gushchin To: Vlastimil Babka CC: , Michal Hocko , Johannes Weiner , , , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Mel Gorman , Vijayanand Jitta Subject: Re: [RFC PATCH 0/5] kmalloc-reclaimable caches Message-ID: <20180524121347.GA10763@castle.DHCP.thefacebook.com> References: <20180524110011.1940-1-vbabka@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20180524110011.1940-1-vbabka@suse.cz> User-Agent: Mutt/1.9.2 (2017-12-15) X-Originating-IP: [2620:10d:c092:200::1:f33c] X-ClientProxiedBy: AM6PR0502CA0020.eurprd05.prod.outlook.com (2603:10a6:209:1::33) To BL2PR15MB1073.namprd15.prod.outlook.com (2603:10b6:201:17::7) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:BL2PR15MB1073; X-Microsoft-Exchange-Diagnostics: 1;BL2PR15MB1073;3:I9Yq3FZr5Oj5Z+CImMXU7d4oUPsG5rjmZmAZPlFYAygoc4rIKcMpE6knzlAhMMJxlYEBcpNXQN+MuvSJcD8aOCPBs5JWp7yq8QWXKIxb+Sf7LLNcG/g8oll/aEZG1qjDOoeTvygR++0720oXK/JcCiwCHFHqP4k0A/Tst29+2K2Egiban3Fzr0mEmVp9W3dTzBz+h3CqodJptQImRPxxYiOj+nsLeo+QgRI6f/9gjgPFZjoiJYb2i2Tqojhn58ZL;25:cXF5zdB3lNM++EZctqB++GNRfJZz+CRU5EfXozm30tTMmOsIYXa1jAAq7GmUajA91Qb7I5eeoyGUJn58mWv86aEKMZFvOsSk4e6yr974OhWret7EPbp2FtUcyYK6jdE3zp4fmoSmVfnLX665QayYgqdWVR3zrpiQzCnZ2keXv5d5FhiEV9rVqR+om2Kra8lnh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5ka+4aiT4JhEIKBKCTIEHRBMTXKylPuYixUuiRaxM0kpS4v+RM5+3nQY9E9q5OxXcHd5m0UiYKXaEiRv2GXoNYEQ1XGKh3ya1WveH55EFhopam1WJ9yYwfGNdKqjoPXW8oY8LNGc63KR8PBtIthPJjqlfQ+w== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(3231254)(11241501184)(944501410)(52105095)(10201501046)(93006095)(93001095)(149027)(150027)(6041310)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(6072148)(201708071742011)(7699016);SRVR:BL2PR15MB1073;BCL:0;PCL:0;RULEID:;SRVR:BL2PR15MB1073; X-Forefront-PRVS: 0682FC00E8 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(366004)(396003)(346002)(39860400002)(376002)(39380400002)(189003)(199004)(6306002)(9686003)(2906002)(4326008)(86362001)(47776003)(52396003)(53936002)(478600001)(25786009)(7696005)(476003)(58126008)(76176011)(55016002)(52116002)(316002)(486006)(97736004)(11346002)(16586007)(229853002)(6246003)(50466002)(966005)(54906003)(33656002)(305945005)(6506007)(386003)(5660300001)(106356001)(68736007)(8676002)(16526019)(186003)(7736002)(46003)(446003)(6666003)(6916009)(8936002)(1076002)(105586002)(81166006)(81156014)(23726003)(7416002)(6116002)(18370500001)(42262002)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:BL2PR15MB1073;H:castle.DHCP.thefacebook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: fb.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BL2PR15MB1073;23:b0RRW96aIvTyoasvAlVhPug+BK8Q0ZcsircA/n0gb?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PO1X22YmzDCaPD2xGPpR+vYpkpUJ846eQbNF?= =?us-ascii?Q?SRYz2tuoOPRiJBYhX+sviHzGeHFW3yU6Os24B4w90pi1EVcOBkWT8pXVOkU1?= =?us-ascii?Q?yW4/Z/E/BZ1pSNwnoFOxiR/erhmIguqkPgoGjkyuUMm3Gieq1XJRvqfF4Jrt?= =?us-ascii?Q?9I7dFbmz6SIncXUY3LZbqFjWvDhBjz68m7Ea9S18JIPxGk3+p97FHIwKkI0Z?= =?us-ascii?Q?w3k9VwPpevaFueWj5TIuMcCNB6orHQhTL6wOpnvI2clVN+90vwvcp8zyVG6G?= =?us-ascii?Q?d+FhqXKZEGefUroHMbCgmivpYMtUUXVKBwujp/Afu8RGYre/Aazn38DMely1?= =?us-ascii?Q?BvmWjt4VBFA0AthSURPeBUwWYwTNg+RtKPWkppgwpuul8q/p2WdWirCD2dJe?= =?us-ascii?Q?dxS6IVwAmUt5A0rsMRkbQwin7gVnrylAhQDya5VhYoq?= X-Microsoft-Antispam-Message-Info: WyH5s3SfWFthyqVmi/Mj6dF9hyf0eG7DCA1AzceFNxcGANE5EB8envpOjGYVdhz9m4j/Gds60vn0EQ2Cy7BbNAbNfCdLmhG2bfjCwsa/da03xQNIXdTD07IVFqqqznqyd220KLjTNw51iumoA+wF+gcSj61AmCKSUqkxdAr+aOWAOjjU6oa5tpvRQmoPVYBx X-Microsoft-Exchange-Diagnostics: 1;BL2PR15MB1073;6:OR5RVhDZb+aN+fcq8sTi89edEwSKDpp9MaojMfddmrDNf3VUg3GsOTuym2EgzBFztFeeP33HeLeGvEDFv4W41TGefY2P6YIMhVgfXbTGUV/qBIEwcswkYF9a1xHPdneK1olbj5LeVtcCf0KCKtp/bu6OnbDLgkR9QP6X06clZdS3XbP6bez1kiHuOlJZiG81xYUC+9e9VeW3KCdBx41Ka27n2gEepyA+jwQqhIks39TLlaYT7z2ZOcGYQ/sYo/nEMulDL6AbX+Yp6/PAfTSsEU2yFkDV+7aeqZa0ZYv+VmKX6i9TBByZRm6DEIk+TW5UbbZOvRTX8FjXeMMxDGMMYsnpGEHmg8RzbG8ng4Eau2jpxH8AzE7OVwfQ3EHMIKBIBHHaVE7UEDJxPT9bSEUzk1Glpm/aNAu4Wrnfm6S04fatuQ0V5iw24CnXU04ccA1T/ZzaqGimqiLskSnoNrAiiw==;5:O2Bdj25x1y4PEF8DmhGOLwpQr+iKnpdZRIivOL9ZzCnsWj4dbK+la+W9Xln4OOcGgy6rC/SWq1JNpiAPMKl2vXFxI3Hu1ubJIlGH4gpsPTB8Rc1i2HSi8jQzdT15WxW9zYXEAlSfPYaa/sA3JabzvbERHyDqoJuRm9A1l6Ohrjc=;24:ugoZqTDdPxIJk7w81IA69+NEcr0ztBPae2A2TlcLej3A8oNJiiqDx54TvPaUVqj9bxSfpT8uYE0fm3k2jdQK9cTQW8RvsQxt4mkxf/KqhPY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BL2PR15MB1073;7:QGShq4IaD160Itw172IpFVNYzOI8qXl7X/7ittrlN/jTaIR4qFcLYrXExceP4zbLOFC9qZt3GZ7eQYQOkNTwF07nAhCLIS5m7m2AEb0jQrgtNJhTVKB+5ieX7ITkHlAIzkk5tH2R43kQmDYrnTnlAjM3kx00NTIrUMozHz8gFgVu/HM3iUNHs2lpcxsLyXbSGRqkEoU1usAcyieC7iFDerGo2d46CPGCPUs9nFgX069RBmsKDSV0GC2YYBoTB3fL;20:qnlsMxdyWzZlnwAkUkQXhA+KoulOzTSz36sBhicWWhZiT4Ou1J9pYcSOMqTA+a9pBwhKv4hl7oioB9EGUdVBvK3BIXDpuCOyTsSPJtzT6ALZmmrkmPbe4BCdnXIyo6tH2x9oibgPlVXHKQZ7d92pk5SOtCPm2fDTplSrxw5EExQ= X-MS-Office365-Filtering-Correlation-Id: 2c72d5f7-4ae8-4bad-5aec-08d5c16fd71b X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 May 2018 12:14:01.9343 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2c72d5f7-4ae8-4bad-5aec-08d5c16fd71b X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR15MB1073 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-24_03:,, signatures=0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 24, 2018 at 01:00:06PM +0200, Vlastimil Babka wrote: > Hi, > > as discussed at LSF/MM [1] here's a RFC patchset that introduces > kmalloc-reclaimable caches (more details in the first patch) and uses them > for SLAB freelists and dcache external names. The latter allows us to > repurpose the NR_INDIRECTLY_RECLAIMABLE_BYTES counter later in the series. > > This is how /proc/slabinfo looks like after booting in virtme: > > ... > kmalloc-reclaimable-4194304 0 0 4194304 1 1024 : tunables 1 1 0 : slabdata 0 0 0 > ... > kmalloc-reclaimable-96 17 64 128 32 1 : tunables 120 60 8 : slabdata 2 2 0 > kmalloc-reclaimable-64 50 128 64 64 1 : tunables 120 60 8 : slabdata 2 2 6 > kmalloc-reclaimable-32 0 0 32 124 1 : tunables 120 60 8 : slabdata 0 0 0 > kmalloc-4194304 0 0 4194304 1 1024 : tunables 1 1 0 : slabdata 0 0 0 > ... > kmalloc-64 2888 2944 64 64 1 : tunables 120 60 8 : slabdata 46 46 454 > kmalloc-32 4325 4712 32 124 1 : tunables 120 60 8 : slabdata 38 38 563 > kmalloc-128 1178 1216 128 32 1 : tunables 120 60 8 : slabdata 38 38 114 > ... > > /proc/vmstat with new/renamed nr_reclaimable counter (patch 4): > > ... > nr_slab_reclaimable 2817 > nr_slab_unreclaimable 1781 > ... > nr_reclaimable 2817 > ... > > /proc/meminfo with exposed nr_reclaimable counter (patch 5): > > ... > AnonPages: 8624 kB > Mapped: 3340 kB > Shmem: 564 kB > Reclaimable: 11272 kB > Slab: 18368 kB > SReclaimable: 11272 kB > SUnreclaim: 7096 kB > KernelStack: 1168 kB > PageTables: 448 kB > ... > > Now for the issues a.k.a. why RFC: > > - I haven't find any other obvious users for reclaimable kmalloc (yet) As I remember, ION memory allocator was discussed related to this theme: https://lkml.org/lkml/2018/4/24/1288 > I did a superset as IIRC somebody suggested that in the older threads or at LSF. This looks nice to me! Thanks!