android_kernel_samsung_msm8976/include
Hugh Dickins deceb6cd17 [PATCH] mm: follow_page with inner ptlock
Final step in pushing down common core's page_table_lock.  follow_page no
longer wants caller to hold page_table_lock, uses pte_offset_map_lock itself;
and so no page_table_lock is taken in get_user_pages itself.

But get_user_pages (and get_futex_key) do then need follow_page to pin the
page for them: take Daniel's suggestion of bitflags to follow_page.

Need one for WRITE, another for TOUCH (it was the accessed flag before:
vanished along with check_user_page_readable, but surely get_numa_maps is
wrong to mark every page it finds as accessed), another for GET.

And another, ANON to dispose of untouched_anonymous_page: it seems silly for
that to descend a second time, let follow_page observe if there was no page
table and return ZERO_PAGE if so.  Fix minor bug in that: check VM_LOCKED -
make_pages_present ought to make readonly anonymous present.

Give get_numa_maps a cond_resched while we're there.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-29 21:40:41 -07:00
..
acpi
asm-alpha [PATCH] add sem_is_read/write_locked() 2005-10-29 21:40:35 -07:00
asm-arm [PATCH] mm: tlb_finish_mmu forget rss 2005-10-29 21:40:37 -07:00
asm-arm26 [PATCH] mm: tlb_finish_mmu forget rss 2005-10-29 21:40:37 -07:00
asm-cris [PATCH] gfp_t: dma-mapping (cris) 2005-10-28 08:16:48 -07:00
asm-frv [PATCH] gfp_t: dma-mapping (frv) 2005-10-28 08:16:48 -07:00
asm-generic [PATCH] mm: ptd_alloc inline and out 2005-10-29 21:40:40 -07:00
asm-h8300
asm-i386 [PATCH] mm: pte_offset_map_lock loops 2005-10-29 21:40:40 -07:00
asm-ia64 [PATCH] mm: tlb_finish_mmu forget rss 2005-10-29 21:40:37 -07:00
asm-m32r [PATCH] gfp_t: dma-mapping (simple cases) 2005-10-28 08:16:49 -07:00
asm-m68k
asm-m68knommu
asm-mips BCM1480 HT support 2005-10-29 19:32:49 +01:00
asm-parisc [PATCH] mm: flush_tlb_range outside ptlock 2005-10-29 21:40:40 -07:00
asm-powerpc
asm-ppc [PATCH] add sem_is_read/write_locked() 2005-10-29 21:40:35 -07:00
asm-ppc64 [PATCH] mm: page fault handlers tidyup 2005-10-29 21:40:37 -07:00
asm-s390 [PATCH] add sem_is_read/write_locked() 2005-10-29 21:40:35 -07:00
asm-sh [PATCH] add sem_is_read/write_locked() 2005-10-29 21:40:35 -07:00
asm-sh64 [PATCH] gfp_t: dma-mapping (simple cases) 2005-10-28 08:16:49 -07:00
asm-sparc [PATCH] gfp_t: dma-mapping (simple cases) 2005-10-28 08:16:49 -07:00
asm-sparc64 [PATCH] mm: tlb_finish_mmu forget rss 2005-10-29 21:40:37 -07:00
asm-um [PATCH] mm: pte_offset_map_lock loops 2005-10-29 21:40:40 -07:00
asm-v850
asm-x86_64 [PATCH] add sem_is_read/write_locked() 2005-10-29 21:40:35 -07:00
asm-xtensa [PATCH] gfp_t: dma-mapping (xtensa) 2005-10-28 08:16:49 -07:00
linux [PATCH] mm: follow_page with inner ptlock 2005-10-29 21:40:41 -07:00
math-emu
media [PATCH] i2c: ID redefinition cleanups 2005-10-28 14:02:13 -07:00
mtd
net Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 2005-10-29 11:25:16 -07:00
pcmcia
rdma
rxrpc
scsi Merge branch 'master' 2005-10-28 12:31:34 -04:00
sound [PATCH] gfp_t: sound 2005-10-28 08:16:50 -07:00
video