Messages in this thread | | | From | Shakeel Butt <> | Date | Mon, 12 Apr 2021 12:22:35 -0700 | Subject | Re: [PATCH 1/5] mm/memcg: Pass both memcg and lruvec to mod_memcg_lruvec_state() |
| |
On Fri, Apr 9, 2021 at 4:19 PM Waiman Long <longman@redhat.com> wrote: > > The caller of mod_memcg_lruvec_state() has both memcg and lruvec readily > available. So both of them are now passed to mod_memcg_lruvec_state() > and __mod_memcg_lruvec_state(). The __mod_memcg_lruvec_state() is > updated to allow either of the two parameters to be set to null. This > makes mod_memcg_lruvec_state() equivalent to mod_memcg_state() if lruvec > is null. > > Signed-off-by: Waiman Long <longman@redhat.com>
Similar to Roman's suggestion: instead of what this patch is doing the 'why' would be better in the changelog.
Reviewed-by: Shakeel Butt <shakeelb@google.com>
| |