]> git.baikalelectronics.ru Git - kernel.git/commit
memcg: mark memcg1_events static const
authorGreg Thelen <gthelen@google.com>
Fri, 8 Jun 2018 00:07:23 +0000 (17:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 Jun 2018 00:34:36 +0000 (17:34 -0700)
commit52fc2f512edf41d0136952fc7ac4e37a5cb85b90
treeec7edc658d5343c7321b6f2a17ea5ecc41a86750
parentf539d4389910fbd118f385f364f24b2f11d8e1bb
memcg: mark memcg1_events static const

Mark memcg1_events static: it's only used by memcontrol.c.  And mark it
const: it's not modified.

Link: http://lkml.kernel.org/r/20180503192940.94971-1-gthelen@google.com
Signed-off-by: Greg Thelen <gthelen@google.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c