Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2995829imm; Fri, 24 Aug 2018 08:47:17 -0700 (PDT) X-Google-Smtp-Source: ANB0VdblfSxMo/cwDUNAJpueQQ+pMn3JUCN7VPYJ2FX66mekPeGeLsV8nBb4Bkk4tweDEZvGCJnP X-Received: by 2002:a62:4083:: with SMTP id f3-v6mr2584529pfd.229.1535125637770; Fri, 24 Aug 2018 08:47:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535125637; cv=none; d=google.com; s=arc-20160816; b=XcvL30UZDA6wk0Szu0m9rVoGDk9RvcCtAzHb/l0D44bwNlteADpkbD8ikW/ym0Ppm7 /GY6fqQ2bkEySCdQO8igHDsDrmgAI2AZnIxPBs5tNtUvbkikdDFBvhT13xj0yOhstvQB oZV/XKDGk+3fAp3RHWw6k4qBc7hHV+7J05arl7h/rSWSuyl0sUX0SeZkXciSQhfIElFk WuIUTq5JnjbyGNXv4xczPEomkguyMTYEpgBWq6V7Ggv89+s3IrwFq71sD4Pqxukx68SE WBbcAFpJZjk0tKQKdydr+TKZvkxVVcNZkryOxt7+eIqh417/0s8DmAVk0tcpX8jkL9WO h0EQ== 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=3ZDju+LZCNDEHSHjs4ge6yjoHlhfyOOnzc3JANTxGXA=; b=rUcV0ZSuLDsAA+cDsKHrdGzZVxdAShw5PoX4ah1eHB3FFI0CRBlPYsEkSNRJsKghEx lQ8Dojwnp1tBKJgcowe+TtUtw044cd91sK6wIsZL0qJMB5O87o6PPkPtl3iATC5KopA0 GkrV4/A7JEkwdxkAn6r0qPojD6YjwsAm+kiFXZgOxMKM1pSlaIrM/w/EX6ZzBOqJAHLY ajtMu24dYiKBrnlAf3yPWl30xutCsjBFwsNMvQO7yNki7OU59vvIyjjqXVVgKsdi0BTX +oAXFaR9rf39R5QNkNbwwUCO6aZXWvmWWAt6QueLUvzNI8C5ft5enPVWF9o1l505YdAW LI0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=kmbPwfYJ; dkim=fail header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=N6wSejXB; 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 s3-v6si6152138pgm.51.2018.08.24.08.46.38; Fri, 24 Aug 2018 08:47:17 -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=kmbPwfYJ; dkim=fail header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=N6wSejXB; 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 S1727435AbeHXTRk (ORCPT + 99 others); Fri, 24 Aug 2018 15:17:40 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:58032 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726279AbeHXTRk (ORCPT ); Fri, 24 Aug 2018 15:17:40 -0400 Received: from pps.filterd (m0148461.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w7OFcDgF021930; Fri, 24 Aug 2018 08:42:23 -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=3ZDju+LZCNDEHSHjs4ge6yjoHlhfyOOnzc3JANTxGXA=; b=kmbPwfYJSjPOMR/4Qv7408JaCbgDztloMbyTkJNcKlfX6yfUc5JaNpwh64+r9whq69TU A/4vhyhCEhLams6vlkyZXvSPTUldeNuH1D0lcTYaH+vh472lf/HfMjzBW28gi8MizYPQ Wanoq0tXWVc+OkBmMOh0KPR8vHsAQlS/vno= Received: from mail.thefacebook.com ([199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2m2j4a8fp9-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 24 Aug 2018 08:42:23 -0700 Received: from NAM04-CO1-obe.outbound.protection.outlook.com (192.168.54.28) by o365-in.thefacebook.com (192.168.16.19) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 24 Aug 2018 08:42:21 -0700 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=3ZDju+LZCNDEHSHjs4ge6yjoHlhfyOOnzc3JANTxGXA=; b=N6wSejXB0l27u8kFA5GI+fxReCbhgVPTrtqUg8XOk3iVHan6aVzjtjVI45jxrsOmbuQgpk+MvdPNQN+aqDfMFDMDxP1KG9qG61UB5PHS0j6twufVItus19F2lVu98SmrT+esY2Gt3ehIG3HAFlF0MuNhQ42mr3DyFPkE2bxigGs= Received: from tower.DHCP.thefacebook.com (2620:10d:c090:200::5:71c5) by BLUPR15MB0164.namprd15.prod.outlook.com (2a01:111:e400:5249::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1080.14; Fri, 24 Aug 2018 15:42:18 +0000 Date: Fri, 24 Aug 2018 08:42:11 -0700 From: Roman Gushchin To: Johannes Weiner CC: Michal Hocko , , , , Andy Lutomirski , Konstantin Khlebnikov , Tejun Heo , Shakeel Butt Subject: Re: [PATCH v2 1/3] mm: rework memcg kernel stack accounting Message-ID: <20180824154208.GA23633@tower.DHCP.thefacebook.com> References: <20180821213559.14694-1-guro@fb.com> <20180822141213.GO29735@dhcp22.suse.cz> <20180823162347.GA22650@tower.DHCP.thefacebook.com> <20180824125052.GA13774@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20180824125052.GA13774@cmpxchg.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Originating-IP: [2620:10d:c090:200::5:71c5] X-ClientProxiedBy: MWHPR17CA0091.namprd17.prod.outlook.com (2603:10b6:300:c2::29) To BLUPR15MB0164.namprd15.prod.outlook.com (2a01:111:e400:5249::14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c3f4a2c2-0ffb-4457-c5cf-08d609d82d14 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:BLUPR15MB0164; X-Microsoft-Exchange-Diagnostics: 1;BLUPR15MB0164;3:q7mU8oE3vb/T2hbal4SAnxS84KQXNeetHePqbEV1f6PkwR3neyhqN60RPjB5Y7YC2eQYbmXP+BfnBQiDtrdKLoKIFtgZ4OP8NWUjyCfOJ+YXvQ0DQGD+ozA48Z1ASGo99rJY0+VB+JBAyz2fr8nhgttA5XP3/aviHam/ZH17WwUsem3c60w0M9btiwK2rcf41hISKOZoCB+Tb5nGfjUTWJrmkSi+mvZDodDTcCC7/RhumJh9ozHXK/L1gf7NgLI4;25:Tn+BhayM1T9PLuvroFZBQfIkhkqVsnDZWvoMjWjzJMFZGRSDkdRCjlPP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H6npaOU2G3m1kNUg5M2v3xoVJ8taBFBme6ZCXXr/RKrwtt0;4:7GM1JxQ61K8z4urUC+sxQW7Yx+vNiwjwT/dhGmkJnhGo8uwAEcCH0w+Zlh1MWdgJp2f+wORrGln62XuWeJvOdJmGsxzUHpFQ1ZQ+XGk+UCGjmivim9pm+ahtB+D05CzqicVtwT0BG7WkVC1gLxDPhCUbGkSbj2iHaLYgFwkEN7uBvOft17vhTZsGQ5W+lttuQ1r10lp+v8HHgYHDkuHZuy3c+C8XUHQLcPq7ArqV3N8dajrIStlU3TqWRiHRaE38V8JF79/dSmy5dKfMMmw88A== 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)(823301075)(93006095)(93001095)(3231311)(11241501184)(944501410)(52105095)(10201501046)(3002001)(149027)(150027)(6041310)(20161123562045)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699016);SRVR:BLUPR15MB0164;BCL:0;PCL:0;RULEID:;SRVR:BLUPR15MB0164; X-Forefront-PRVS: 07749F8C42 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(136003)(376002)(396003)(346002)(366004)(39860400002)(199004)(189003)(58126008)(478600001)(8936002)(7736002)(486006)(316002)(25786009)(4326008)(6246003)(52396003)(386003)(52116002)(47776003)(6506007)(7696005)(76176011)(39060400002)(54906003)(2906002)(97736004)(16586007)(476003)(305945005)(6116002)(105586002)(106356001)(11346002)(23726003)(446003)(55016002)(1076002)(33656002)(16526019)(186003)(5660300001)(50466002)(68736007)(86362001)(53936002)(6666003)(6916009)(81166006)(46003)(229853002)(81156014)(14444005)(8676002)(9686003)(93886005)(18370500001)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:BLUPR15MB0164;H:tower.DHCP.thefacebook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: fb.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BLUPR15MB0164;23:Llv9tlH4AWPHmyhLOD3SFPTxf7zILmvbUG1L0EHvs?= =?us-ascii?Q?O602OiiJI/5ozZ2+GckAOnlpUET6+PFxm370+P6eIveby39J0N8MjODMZTje?= =?us-ascii?Q?3Kal7zoM8wlw1t7PxBbjjkaTQ1fOvruBjBx7y7pprXmjM1DA8ElSioZRP+so?= =?us-ascii?Q?8yYwF14oqq87gvG078IrINeymFEVxps3vh74NSpWmuqQeab3SZoHK1fVZmTx?= =?us-ascii?Q?GiqgRnbrJeve+aj3j93gZCeKbhwzACccf4fy5bKQAfMvsa8c5FeyDJCY8RWi?= =?us-ascii?Q?6q1qfvkdy30ihqdAjporx/RxBEnSp5worweGjcESUEPCX2MYOzKnJJ4DNBLB?= =?us-ascii?Q?62LMcp1FJOVRBHMR9o3l/YQQufIegWdA4K5HyiGx4p9c9BVTzeZshNKBK3Ex?= =?us-ascii?Q?1yHMCEHfFuVmsiMNV5XBWz+YQhRERjeOjcoiijJT7xomwA/nqLCIXLSCFCwc?= =?us-ascii?Q?Ez0H79J00iSS+7uIW59NSKDSFeXJkep1XqPYnz+4GRHtb/SCiNjaVVxCVCRX?= =?us-ascii?Q?L2lyWsSS1cb27tI0a61vgvdXCvvt7oBjyQ26ACdjv/lfw9f8SEP5PnbL1S4m?= =?us-ascii?Q?shfi0bGRmUdLGRRUFPtA8xtN7N5Nno8JstiYiVAvxfYjHOfae6SZqfyVamXY?= =?us-ascii?Q?ngztdGzUF0FIq3pae2Fo1zPRaVAQQiAgQcPNkpd3pLikMt5VEtoY9raKapz6?= =?us-ascii?Q?QmthPL6BeTxqq5ZLZdvhZpT/7IdAE9XygGJPJvQgLfPq92sYLrWZpUImo37v?= =?us-ascii?Q?zC+I9YAFS0hlbRJwTmLstWfjjvDvAn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Hkir2IzMxXfjjnmzU0Mb+S+R+qLcbtAEDS9hRM86xBnE5uhdtjl29rWJvexTXSKaKFetYV5MsXzZT+CjmFcDN6IIv5LM= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Aug 2018 15:42:18.2019 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c3f4a2c2-0ffb-4457-c5cf-08d609d82d14 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR15MB0164 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-08-24_07:,, 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 Fri, Aug 24, 2018 at 08:50:52AM -0400, Johannes Weiner wrote: > On Thu, Aug 23, 2018 at 09:23:50AM -0700, Roman Gushchin wrote: > > On Wed, Aug 22, 2018 at 04:12:13PM +0200, Michal Hocko wrote: > > > On Tue 21-08-18 14:35:57, Roman Gushchin wrote: > > > > @@ -248,9 +253,20 @@ static unsigned long *alloc_thread_stack_node(struct task_struct *tsk, int node) > > > > static inline void free_thread_stack(struct task_struct *tsk) > > > > { > > > > #ifdef CONFIG_VMAP_STACK > > > > - if (task_stack_vm_area(tsk)) { > > > > + struct vm_struct *vm = task_stack_vm_area(tsk); > > > > + > > > > + if (vm) { > > > > int i; > > > > > > > > + for (i = 0; i < THREAD_SIZE / PAGE_SIZE; i++) { > > > > + mod_memcg_page_state(vm->pages[i], > > > > + MEMCG_KERNEL_STACK_KB, > > > > + -(int)(PAGE_SIZE / 1024)); > > > > + > > > > + memcg_kmem_uncharge(vm->pages[i], > > > > + compound_order(vm->pages[i])); > > > > > > when do we have order > 0 here? > > > > I guess, it's not possible, but hard-coded 1 looked a bit crappy. > > Do you think it's better? > > Yes, specifying the known value (order 0) is much better. I asked > myself the same question as Michal: we're walking through THREAD_SIZE > in PAGE_SIZE steps, how could it possibly be a higher order page? > > It adds an unnecessary branch to the code and the reader's brain. Fair enough. Will switch over hard-coded order 0 in v3. Thanks!