1
linux/arch
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
..
alpha arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
arm arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
avr32 arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
blackfin perf: Do the big rename: Performance Counters -> Performance Events 2009-09-21 14:28:04 +02:00
cris arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
frv perf: Do the big rename: Performance Counters -> Performance Events 2009-09-21 14:28:04 +02:00
h8300 Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2009-09-16 07:49:54 -07:00
ia64 arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
m32r arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
m68k arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
m68knommu perf: Do the big rename: Performance Counters -> Performance Events 2009-09-21 14:28:04 +02:00
microblaze arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
mips mm: ZERO_PAGE without PTE_SPECIAL 2009-09-22 07:17:41 -07:00
mn10300 arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
parisc arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
powerpc arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
s390 arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
score score: add TIF_NOTIFY_RESUME define in asm/thread_info.h 2009-09-17 12:05:56 +08:00
sh arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
sparc arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
um arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
x86 mm: don't use alloc_bootmem_low() where not strictly needed 2009-09-22 07:17:38 -07:00
xtensa arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
.gitignore
Kconfig oprofile: fix oprofile regression: select RING_BUFFER_ALLOW_SWAP 2009-09-17 15:53:42 -04:00