]> git.baikalelectronics.ru Git - kernel.git/commit
mm/slub.c: page is always non-NULL in node_match()
authorWei Yang <richard.weiyang@gmail.com>
Fri, 28 Dec 2018 08:33:09 +0000 (00:33 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 28 Dec 2018 20:11:46 +0000 (12:11 -0800)
commit65e31d0d35e12b84c2cb28475a1ff657c41abfae
treec500a80950592a2f1bd65f50d521d4aac11d57da
parent8b96539e1f4a23357111b61b5addb5c672a0fbae
mm/slub.c: page is always non-NULL in node_match()

node_match() is a static function and is only invoked in slub.c.

In all three places, `page' is ensured to be valid.

Link: http://lkml.kernel.org/r/20181106150245.1668-1-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Acked-by: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slub.c