]> git.baikalelectronics.ru Git - kernel.git/commit
include/linux/mm.h: clean up obsolete check on space in page->flags
authorYu Zhao <yuzhao@google.com>
Fri, 31 Jan 2020 06:15:10 +0000 (22:15 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 31 Jan 2020 18:30:39 +0000 (10:30 -0800)
commit622aa5ae34fb499cb52ffb77876efccae7c984ba
treeda2d6e69ef6f2a3eda0a6d9e05421df734040666
parent7e0cdf8a54c728ef0042b26227a5f44ecfe8ad39
include/linux/mm.h: clean up obsolete check on space in page->flags

The check was intended to make sure we don't overrun page flags.  But
it's obsolete because it doesn't include LAST_CPUPID_WIDTH nor
KASAN_TAG_WIDTH.

Just remove check since we already have it covered in
linux/page-flags-layout.h (near the end of the file).

Link: http://lkml.kernel.org/r/20191208183508.89177-1-yuzhao@google.com
Signed-off-by: Yu Zhao <yuzhao@google.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm.h