Re: [PATCH] rss_stat: Add support to detect RSS updates of external mm

From: Steven Rostedt
Date: Thu Nov 14 2019 - 12:20:39 EST


On Thu, 14 Nov 2019 11:46:22 -0500
Joel Fernandes <joel@xxxxxxxxxxxxxxxxx> wrote:

> > Can we make a __ptr_to_hashval() static inline, and have
> > ptr_to_hashval() call that, but use the static inline here, where the
> > static_branch gets called directly here?
>
> Sure, like this?

Yep.

-- Steve