Thread (59 messages) 59 messages, 5 authors, 2021-07-09

Re: [PATCH v3 10/18] mm/memcg: Convert mem_cgroup_uncharge() to take a folio

From: Matthew Wilcox <hidden>
Date: 2021-07-07 12:09:27
Also in: linux-mm

On Thu, Jul 01, 2021 at 08:17:48AM +0100, Christoph Hellwig wrote:
On Wed, Jun 30, 2021 at 05:00:26AM +0100, Matthew Wilcox (Oracle) wrote:
quoted
-void mem_cgroup_uncharge(struct page *page);
+void mem_cgroup_uncharge(struct folio *);
why do you drop the parameter name?
I usually do where it's 'struct foo *foo' or 'foo_t foo'.  If the best
you can do is say "it's a page", well, yes, I knew that from the type.
But since you've complained, I've added the pointless 'folio' to it.
Otherwise looks good:

Reviewed-by: Christoph Hellwig <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help