mm, arch: remove empty_bad_page*
authorMichal Hocko <mhocko@suse.com>
Thu, 16 Nov 2017 01:34:22 +0000 (17:34 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Nov 2017 02:21:03 +0000 (18:21 -0800)
commit8745808fda84c638e45cc860c8fb600bf4b0a2a6
tree4cc0a5ff3ccf76e73b2fa4bd535e40f261e79e0b
parenta2e16731728a285bcfcece0feaaa8cf478d24022
mm, arch: remove empty_bad_page*

empty_bad_page() and empty_bad_pte_table() seem to be relics from old
days which is not used by any code for a long time.  I have tried to
find when exactly but this is not really all that straightforward due to
many code movements - traces disappear around 2.4 times.

Anyway no code really references neither empty_bad_page nor
empty_bad_pte_table.  We only allocate the storage which is not used by
anybody so remove them.

Link: http://lkml.kernel.org/r/20171004150045.30755-1-mhocko@kernel.org
Signed-off-by: Michal Hocko <mhocko@suse.com>
Acked-by: Ralf Baechle <ralf@linus-mips.org>
Acked-by: Ingo Molnar <mingo@kernel.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: David Howells <dhowells@redhat.com>
Cc: Rich Felker <dalias@libc.org>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Richard Weinberger <richard@nod.at>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/frv/mm/init.c
arch/h8300/mm/init.c
arch/mips/include/asm/pgtable-64.h
arch/mn10300/kernel/head.S
arch/sh/kernel/head_64.S
arch/um/kernel/mem.c
include/linux/page-flags.h