* We return true automatically if this allocation is not to be accounted to
* any memcg.
*/
-static __always_inline bool
+static inline bool
memcg_kmem_newpage_charge(gfp_t gfp, struct mem_cgroup **memcg, int order)
{
if (!memcg_kmem_enabled())
*
* there is no need to specify memcg here, since it is embedded in page_cgroup
*/
-static __always_inline void
+static inline void
memcg_kmem_uncharge_pages(struct page *page, int order)
{
if (memcg_kmem_enabled())
* charges. Otherwise, it will commit the memcg given by @memcg to the
* corresponding page_cgroup.
*/
-static __always_inline void
+static inline void
memcg_kmem_commit_charge(struct page *page, struct mem_cgroup *memcg, int order)
{
if (memcg_kmem_enabled() && memcg)