Hugh Dickins 62eede62da mm: ZERO_PAGE without PTE_SPECIAL
Reinstate anonymous use of ZERO_PAGE to all architectures, not just to
those which __HAVE_ARCH_PTE_SPECIAL: as suggested by Nick Piggin.

Contrary to how I'd imagined it, there's nothing ugly about this, just a
zero_pfn test built into one or another block of vm_normal_page().

But the MIPS ZERO_PAGE-of-many-colours case demands is_zero_pfn() and
my_zero_pfn() inlines.  Reinstate its mremap move_pte() shuffling of
ZERO_PAGEs we did from 2.6.17 to 2.6.19?  Not unless someone shouts for
that: it would have to take vm_flags to weed out some cases.

Signed-off-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Cc: Rik van Riel <riel@redhat.com>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Nick Piggin <npiggin@suse.de>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Minchan Kim <minchan.kim@gmail.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-09-22 07:17:41 -07:00
..
2009-09-17 20:07:42 +02:00
2009-09-16 16:44:33 +02:00
2009-06-17 11:06:27 +01:00
2009-07-03 15:45:26 +01:00
2008-12-12 18:12:23 +00:00
2009-07-03 15:45:29 +01:00
2009-07-03 15:45:27 +01:00
2009-06-07 05:01:00 -07:00
2009-08-03 17:52:40 +01:00
2009-05-14 13:50:29 +01:00
2009-06-17 11:06:28 +01:00
2008-10-20 08:52:41 -07:00
2009-06-17 11:06:30 +01:00
2009-09-09 13:29:18 -07:00
2009-09-22 07:17:41 -07:00
2009-07-03 15:45:27 +01:00
2009-06-24 18:34:40 +01:00
2009-06-24 18:34:40 +01:00
2009-06-17 11:06:31 +01:00