Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1328289ybl; Fri, 10 Jan 2020 16:26:19 -0800 (PST) X-Google-Smtp-Source: APXvYqw9lPbYYa7E6LVARdRFr3bjZ5C4fJf7oGNGUm5GJy2JOipvjtDqC3/+vpqXBz1KqerDFcqX X-Received: by 2002:aca:dc45:: with SMTP id t66mr4735819oig.39.1578702379696; Fri, 10 Jan 2020 16:26:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578702379; cv=none; d=google.com; s=arc-20160816; b=B1nXbCGDWQJJRuuMlklZ72r1GxEYn9sjOpbAJoqObOuO0WTKqwdndLmGJG3LKSOwn4 luZHNKIKfUVd3Rve8Ek/kBcEgip4XLOOZQfZXJq9r1234FEM+UoJN+VJpkSCboUg9U9d uHImIaVoSQXD+s0uBwDIzGwHaDCpKJ343X7Uo/CLsZ6XhFo4fjoV2h+zlvmeQ67YxipN HLtBipVagyrz2eG4JLu7wOY+Plj9Gh94WQ2C9f8aZbR/9FJyLGFvuv55AThxS+wIBUEX JUWU7vQQhIecupFRwz8ewIXJKcA9XWd7P0RjQjTeiFjmkc/4JREjML9S//RNkXo+N/0U 62Cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=G+JPdmbTt0+yq7xgA9xx/1MNE9mXhCi0WakjpzpM0nc=; b=IGXkyYmK7RyeHfpWQ/n8lD8dlw0QPwkGISzG8ungN3UKEglrmLrK1oYfilAOvOUXys p92KzUrZev1Pa42uqHC4erKbQfcJxBQyv2E7NpvAhswXKnFWTnLofjf3PCUEF1qtauKd azqe8Z2xUMW7zgTV/lbaJzVOT0dCld50I1WmuMuSrdJP5FntzEhRWDY5ReHA8UVXhlfh piIt7UqIyIR+MNX/Vu1+pNrvhLbosrzRz1icNnp7Jerbm3aQqRFgotqYASCz3qB0CCBN pUCj8YEUWI3dKATn42XluTZdpZEA86XeSxMkKqQTrHg+efNl2vYbGQRmYfPQBjNengbu 1QpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=SmX5zYon; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j18si2555727otq.275.2020.01.10.16.26.08; Fri, 10 Jan 2020 16:26:19 -0800 (PST) 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=@google.com header.s=20161025 header.b=SmX5zYon; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727762AbgAKAYF (ORCPT + 99 others); Fri, 10 Jan 2020 19:24:05 -0500 Received: from mail-ot1-f65.google.com ([209.85.210.65]:44854 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727560AbgAKAYF (ORCPT ); Fri, 10 Jan 2020 19:24:05 -0500 Received: by mail-ot1-f65.google.com with SMTP id h9so3678781otj.11 for ; Fri, 10 Jan 2020 16:24:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=G+JPdmbTt0+yq7xgA9xx/1MNE9mXhCi0WakjpzpM0nc=; b=SmX5zYon81AqjnJHQ1JB7Z6jxf/3WEnK/r/U/nn1ND9UafXh5g0ELEG7BdenRw2RY3 Pjd1GOb7XIg6KX8hTpQTR/go8DHP2oNuTpTp0IbxUiZgxUi6B/lPi0ThzHyYCggkO792 wNr1u+U5ynqq4lvRN+tbjH267PhKt1cpSTkBxrVkoAhNUORfZK+2kotsa9ahK9UXx+Yo XmWZfaFoZCpJHWkFGhjwLandR+StNjAYlUF449qiEt/hAdLs55rNyd0Phr18YhLEj+ar WCEOPcC+s0MHKE95JAxH6t3UMch0u3nv+vGU2cpuNM308mK6t94yQl4jAEi1ocqmeMhb Thqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=G+JPdmbTt0+yq7xgA9xx/1MNE9mXhCi0WakjpzpM0nc=; b=WHMPIzjGwyP4gPyBQMZx9QWqAT/CCDR8xc1HB7trL7iaR3tnQyzP8rzFUjh8dGqrjs F5/KmY971sEG2Sv2ZbOA+7SctRCOf41Z6v1c6/72NK46KyL2tU3U8+TKdR3YASHvdkqN NNF+mhoBSVwDU17mTsEEN0iWUIhNPcjt9SpMdS9XW9e4XgvUTOpfWo2512YQAO+UAhK7 whBf1Pi5rzILJ4M0XuvQqVK5+bhOjpM+/3+cDThM7AeXXT5z0j3hv+hMXhnRW4qVeFPA M06+vF0iSfMCPnclCrf7TAzOoQce0t2uZ1QdXjmX660I9xK/uyyxww3lqnd9W+Pl8Nr9 UKnQ== X-Gm-Message-State: APjAAAXLkCFq01wdt91NXvxCOeB2+fXleKPUX8StbkqjZTnLGYTYZW+y Gvimm4pvCV++rAOg2/EllDq2Q73RqaAnFY7aHvIRZjPTIiA= X-Received: by 2002:a9d:7c90:: with SMTP id q16mr5014707otn.191.1578702243840; Fri, 10 Jan 2020 16:24:03 -0800 (PST) MIME-Version: 1.0 References: <20200109202659.752357-1-guro@fb.com> <20200109202659.752357-3-guro@fb.com> In-Reply-To: <20200109202659.752357-3-guro@fb.com> From: Shakeel Butt Date: Fri, 10 Jan 2020 16:23:52 -0800 Message-ID: Subject: Re: [PATCH v2 2/6] mm: kmem: cleanup memcg_kmem_uncharge_memcg() arguments To: Roman Gushchin Cc: Linux MM , Andrew Morton , Michal Hocko , Johannes Weiner , Vladimir Davydov , LKML , Kernel Team Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 9, 2020 at 12:27 PM Roman Gushchin wrote: > > Drop the unused page argument and put the memcg pointer at the first > place. This make the function consistent with its peers: > __memcg_kmem_uncharge_memcg(), memcg_kmem_charge_memcg(), etc. > > Signed-off-by: Roman Gushchin Why not squash this patch in the previous one? Reviewed-by: Shakeel Butt