Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2164560ybi; Sun, 9 Jun 2019 05:23:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzhczkdDoDWQMBvW1NZBIwAlfchIGWqnj9+ZTV9kOvhYsKvU18UfYbpJa946vonKF/dpXxE X-Received: by 2002:a17:902:bb8f:: with SMTP id m15mr51425pls.84.1560083013097; Sun, 09 Jun 2019 05:23:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560083013; cv=none; d=google.com; s=arc-20160816; b=pqTvfwxaq3NjbLEZQ29Wl/xD1PVCmXFS5UH7EQQrlbvjbku4XJPozInL7PJh8ZbOFc buBuOO8h4AT1FX9xmbmdJMTHkW3Hlvi8ZyZpu+dIMNouZ8eSt5aoXAPIn2ZfiRJmZBIU 8im0qLB6kKgDiVGQ0UmqCnXSMHvpzAYpwecI3myHjFx9kl5/tzrsAIQSMFcZUEHr9CQ4 C216elaUxnuAhPs+QWcVcZ+agAs4d9glo+knLhKZUpVDO6/5akVc1wFoQTFsUZvi6UG4 zJNT8fVvfnxOT2b0FRCfLMxgWsqYHuhkxjqBnl90BpXaqRi6vEIXWWUTRFLrfRcEjjMe gBQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=dSKWqv48YjvTpHMzJ6cEr/B8IpdYkbZ87Fgmm26rJBw=; b=sG4lTwnQs8m+eSQSvgq59IsFbXNKfBaYpvaiQ0+LEb013JfNMAT/ZOhSWfcunDcmro V3DwodSeaNFhqCO6iNSHaU0PN4rCW49VFLoyDG/BcjPaSqEYUGd4uRr7YOIS5jmxguXC Zrd48cAfD0j0SQYk/p1UdtTeiZc/9x613AQTTqM5WRLeD4P068RenXyOOWHeqTWxjIWI nCm+IILjT3HiwTQvxxyd6pkQf1YuiSMcEUbFXtZcK7FQiCSkKa4J9SGn+d3bklU7Xlj+ CmEfKG34IZDSp+bi+JoQFy3FpzOLEQfBsZB/l+OdNsR18xJo+RDtbOdrPAz6y7zFA70O VONw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pMj0t7O5; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y138si6859357pfb.3.2019.06.09.05.23.17; Sun, 09 Jun 2019 05:23:33 -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=@gmail.com header.s=20161025 header.b=pMj0t7O5; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728484AbfFIMNd (ORCPT + 99 others); Sun, 9 Jun 2019 08:13:33 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:39186 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728189AbfFIMNd (ORCPT ); Sun, 9 Jun 2019 08:13:33 -0400 Received: by mail-lj1-f194.google.com with SMTP id v18so5455753ljh.6 for ; Sun, 09 Jun 2019 05:13:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=dSKWqv48YjvTpHMzJ6cEr/B8IpdYkbZ87Fgmm26rJBw=; b=pMj0t7O5EHRJlyEPeUXPVlEG+b9z/hIeBC5taQwe/qsd6JhvdJUyNGAyqEywm28mwV FSyOR5XxKyOL9TfhhQgPIXUu0xpjNy41S0bda15ykJzaAbBRAobLofPaf3yti3xoi8ih DIbHxtN4r85xSSPukC+eEDm7hzuauH7nnxUP57Ujcta5b+Ha1u/7saPIJroEdVJtxKqq h2Ry9LQ6OcBuTv+XdrUpYPdi+LGB5MgSvOhMkuudsx/c4qQGQ6L7wu/6ZJQOmHNmiWgF KqkvkML11VzMonJCNns7Xu2wp9XkhQCK3/crnjdKAtvXyEXOTZcI4oD2wVlifWZ/FnQq YtIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=dSKWqv48YjvTpHMzJ6cEr/B8IpdYkbZ87Fgmm26rJBw=; b=J93CPnejXF7pn2wbPFvsgA8Id03EEIfdOzQ+dLDAZMgsO+N2th5zDRi+xRrxwYvZcI qTGgQzjYdK+zQdLOQaX1GZfAsDDIFEFJfY15CopQvTmenR5PtLxuLyqHWYHrd1bgxjgI W3nrbTDJzcUTb5BRK111p5LBnZjDw/kA84QP5lh7Ev/3QwZcYqX45+4y/62ar3QztG7m 1JwlCL7Ud319NGL+zlXLR5icCiC+DjsCmlXofjvK2uZXkJdTCQsMHMH9ARd9XF15E7BE GTzRnzFeW9Q+hgB4EbIclhn1BzNWh0DKT4OOjUZg9d0Y+wTQ9qMdaiT+v4wp0hxiNULX Y7/Q== X-Gm-Message-State: APjAAAVtooy7bfyPhOeEcmwOwFi6IJqxw6ex9DYNSTXGi5umJedQCUZG sdhjTdMxNjpSPSvTwFBV8A0= X-Received: by 2002:a2e:2411:: with SMTP id k17mr4072256ljk.136.1560082411340; Sun, 09 Jun 2019 05:13:31 -0700 (PDT) Received: from esperanza ([176.120.239.149]) by smtp.gmail.com with ESMTPSA id p15sm1359619lji.80.2019.06.09.05.13.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 09 Jun 2019 05:13:30 -0700 (PDT) Date: Sun, 9 Jun 2019 15:13:28 +0300 From: Vladimir Davydov To: Roman Gushchin Cc: Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-team@fb.com, Johannes Weiner , Shakeel Butt , Waiman Long Subject: Re: [PATCH v6 03/10] mm: rename slab delayed deactivation functions and fields Message-ID: <20190609121328.xaumeyhu7an6qpru@esperanza> References: <20190605024454.1393507-1-guro@fb.com> <20190605024454.1393507-4-guro@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190605024454.1393507-4-guro@fb.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 04, 2019 at 07:44:47PM -0700, Roman Gushchin wrote: > The delayed work/rcu deactivation infrastructure of non-root > kmem_caches can be also used for asynchronous release of these > objects. Let's get rid of the word "deactivation" in corresponding > names to make the code look better after generalization. > > It's easier to make the renaming first, so that the generalized > code will look consistent from scratch. > > Let's rename struct memcg_cache_params fields: > deact_fn -> work_fn > deact_rcu_head -> rcu_head > deact_work -> work > > And RCU/delayed work callbacks in slab common code: > kmemcg_deactivate_rcufn -> kmemcg_rcufn > kmemcg_deactivate_workfn -> kmemcg_workfn > > This patch contains no functional changes, only renamings. > > Signed-off-by: Roman Gushchin Acked-by: Vladimir Davydov