From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Down Subject: Re: [PATCH 1/2] mm: Rename ambiguously named memory.stat counters and functions Date: Wed, 23 Jan 2019 20:06:38 -0500 Message-ID: <20190124010638.GB9055@chrisdown.name> References: <20190123223049.GA9149@chrisdown.name> <20190123235940.GA21563@castle.DHCP.thefacebook.com> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chrisdown.name; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=0AkmJA1QYcuNJ5TIP/Rznolsmj53RzAhmVndjUnRVJg=; b=r5uoAxGebrDBWOF9OJn2bE4s7TsgVYb4fgBaOXGxU4FWKr/zdeuE2H7v6JA02b/R2x d0GEE7UMADZLceRGSNsQP6t6zul1wJHInN4LWH4qXhrhcekXHT0yIPVHQMOPPdaIuCoU ng38WFvux3gqwU9dkRgxFHoC2QSaj+/ueAQFc= Content-Disposition: inline In-Reply-To: <20190123235940.GA21563@castle.DHCP.thefacebook.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit To: Roman Gushchin Cc: Andrew Morton , Johannes Weiner , Michal Hocko , Tejun Heo , Dennis Zhou , "linux-kernel@vger.kernel.org" , "cgroups@vger.kernel.org" , "linux-mm@kvack.org" , Kernel Team Roman Gushchin writes: >I'd personally go with memcg_vmstat_percpu. Not insisting, >but you end up using both vmstat and vmstats, which isn't very >consistent. Yeah, we also have similar naming in accumulated_vmstats. Hmm, let me think about this a bit and get back to you tomorrow. The main bit I was concerned about was memory_events vs. events -- I don't really have strong opinions on the percpu struct's exact naming/plurality. >Other than that looks good to me. Please, feel free to add >Acked-by: Roman Gushchin Thanks!