]> git.baikalelectronics.ru Git - kernel.git/commit
mm: kmemleak: slightly reduce the size of some structures on 64-bit architectures
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 6 Jul 2017 22:40:16 +0000 (15:40 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 6 Jul 2017 23:24:34 +0000 (16:24 -0700)
commit7b7877b7c88229c59e3d3cf0b55fc44bbe7ea98a
treed131975c236d728b580ee29c663bc60e8e49147d
parent847222c6c8bb5282e15c03e70443c5b6a2c02c9f
mm: kmemleak: slightly reduce the size of some structures on 64-bit architectures

Change the kmemleak_object.flags type to unsigned int and moves the
early_log.min_count (int) near early_log.op_type (int) to slightly
reduce the size of these structures on 64-bit architectures.

Link: http://lkml.kernel.org/r/1495726937-23557-2-git-send-email-catalin.marinas@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: "Luis R. Rodriguez" <mcgrof@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/kmemleak.c