kernel-ark/include/asm-sparc64
Hugh Dickins fc2acab31b [PATCH] mm: tlb_finish_mmu forget rss
zap_pte_range has been counting the pages it frees in tlb->freed, then
tlb_finish_mmu has used that to update the mm's rss.  That got stranger when I
added anon_rss, yet updated it by a different route; and stranger when rss and
anon_rss became mm_counters with special access macros.  And it would no
longer be viable if we're relying on page_table_lock to stabilize the
mm_counter, but calling tlb_finish_mmu outside that lock.

Remove the mmu_gather's freed field, let tlb_finish_mmu stick to its own
business, just decrement the rss mm_counter in zap_pte_range (yes, there was
some point to batching the update, and a subsequent patch restores that).  And
forget the anal paranoia of first reading the counter to avoid going negative
- if rss does go negative, just fix that bug.

Remove the mmu_gather's flushes and avoided_flushes from arm and arm26: no use
was being made of them.  But arm26 alone was actually using the freed, in the
way some others use need_flush: give it a need_flush.  arm26 seems to prefer
spaces to tabs here: respect that.

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:37 -07:00
..
a.out.h
agp.h
apb.h
asi.h
atomic.h [SPARC64]: More fully work around Spitfire Errata 51. 2005-08-29 12:46:22 -07:00
audioio.h
auxio.h
auxvec.h [PATCH] auxiliary vector cleanups 2005-09-07 16:57:21 -07:00
bbc.h
bitops.h [SPARC64]: More fully work around Spitfire Errata 51. 2005-08-29 12:46:22 -07:00
bpp.h
bsderrno.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h [SPARC64]: Add CONFIG_DEBUG_PAGEALLOC support. 2005-09-25 16:46:57 -07:00
chafsr.h
checksum.h
chmctrl.h
cmt.h
compat.h [PATCH] compat: be more consistent about [ug]id_t 2005-09-07 16:57:19 -07:00
const.h
cpudata.h [SPARC64]: Probe D/I/E-cache config and use. 2005-09-26 00:32:17 -07:00
cputime.h
current.h
dcr.h
dcu.h
delay.h
display7seg.h
div64.h
dma-mapping.h [PATCH] gfp_t: dma-mapping (simple cases) 2005-10-28 08:16:49 -07:00
dma.h
ebus.h
elf.h
emergency-restart.h [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
envctrl.h
errno.h
estate.h
fbio.h
fcntl.h [PATCH] Clean up struct flock definitions 2005-09-07 16:57:38 -07:00
fhc.h
floppy.h
fpumacro.h
futex.h [PATCH] Remove unused var from asm/futex.h 2005-09-21 16:16:29 -07:00
hardirq.h [SPARC64]: Eliminate irq_cpustat_t. 2005-08-29 22:46:43 -07:00
head.h [SPARC64]: Add missing IDs for newer cpus. 2005-09-27 22:50:06 -07:00
hw_irq.h
ide.h [SPARC64]: Move DCACHE_ALIASING_POSSIBLE define to asm/page.h 2005-09-19 20:11:57 -07:00
idprom.h
io.h [SPARC64]: Use 'unsigned long' for port argument to I/O string ops. 2005-08-31 15:01:33 -07:00
ioctl.h
ioctls.h
iommu.h
ipc.h
ipcbuf.h
irq.h [SPARC64]: Add support for IRQ pre-handlers. 2005-07-04 13:24:38 -07:00
isa.h
kbio.h
kdebug.h
kmap_types.h
kprobes.h
linkage.h
local.h
lsu.h
mc146818rtc.h
mman.h
mmu_context.h
mmu.h
module.h
mostek.h
msgbuf.h
namei.h
ns87303.h
openprom.h [SPARC64]: Rewrite convoluted physical memory probing. 2005-09-29 17:58:26 -07:00
openpromio.h
oplib.h [SPARC64]: Kill arch/sparc64/prom/memory.c 2005-09-29 18:05:28 -07:00
page.h [SPARC64]: Kill all external references to sp_banks[] 2005-09-28 21:46:43 -07:00
param.h [SPARC64]: Support CONFIG_HZ 2005-07-08 15:21:51 -07:00
parport.h [SPARC64]: Fix enable_dma() in asm-sparc64/parport.h 2005-07-06 15:41:54 -07:00
pbm.h [SPARC64]: Eliminate PCI IOMMU dma mapping size limit. 2005-10-13 22:15:24 -07:00
pci.h [PATCH] Make sparc64 use setup-res.c 2005-09-08 14:57:25 -07:00
pconf.h
percpu.h
perfctr.h
pgalloc.h [SPARC64]: Move DCACHE_ALIASING_POSSIBLE define to asm/page.h 2005-09-19 20:11:57 -07:00
pgtable.h [SPARC64]: Kill all external references to sp_banks[] 2005-09-28 21:46:43 -07:00
pil.h
poll.h
posix_types.h
processor.h [SPARC64]: remove use of asm/segment.h 2005-08-29 12:45:30 -07:00
psrcompat.h
pstate.h
ptrace.h [SPARC64]: Move syscall success and newchild state out of thread flags. 2005-07-24 19:36:26 -07:00
reg.h
resource.h
rtc.h
rwsem-const.h
rwsem.h [PATCH] add sem_is_read/write_locked() 2005-10-29 21:40:35 -07:00
sbus.h
scatterlist.h
seccomp.h [SPARC64]: Add missing asm-sparc64/seccomp.h file. 2005-07-11 13:44:56 -07:00
sections.h
semaphore.h
sembuf.h
setup.h
sfafsr.h [SPARC64]: Revamp Spitfire error trap handling. 2005-08-29 12:45:11 -07:00
sfp-machine.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h [SPARC64]: Add support for IRQ pre-handlers. 2005-07-04 13:24:38 -07:00
smp.h
socket.h [NET]: Introduce SO_{SND,RCV}BUFFORCE socket options 2005-08-29 15:31:35 -07:00
sockios.h
solerrno.h
spinlock_types.h [PATCH] spinlock consolidation 2005-09-10 10:06:21 -07:00
spinlock.h [PATCH] spinlock consolidation 2005-09-10 10:06:21 -07:00
spitfire.h [SPARC64]: Kill totally unused inline functions from asm/spitfire.h 2005-07-24 19:35:56 -07:00
starfire.h
stat.h
statfs.h
string.h
sunbpp.h
svr4.h
system.h [SPARC64]: Inline membar()'s again. 2005-09-08 14:37:53 -07:00
termbits.h
termios.h
thread_info.h [SPARC64]: Move kernel unaligned trap handlers into assembler file. 2005-08-19 15:55:33 -07:00
timer.h [SPARC64]: Privatize sun5_timer. 2005-07-24 19:36:13 -07:00
timex.h
tlb.h [PATCH] mm: tlb_finish_mmu forget rss 2005-10-29 21:40:37 -07:00
tlbflush.h
topology.h
ttable.h
types.h [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
uaccess.h [SPARC64]: Simplify user fault fixup handling. 2005-09-28 21:06:47 -07:00
uctx.h
unaligned.h
unistd.h [SPARC]: Add inotify syscall entries. 2005-07-27 14:14:39 -07:00
upa.h
user.h
utrap.h
vga.h
visasm.h
vuid_event.h
watchdog.h
xor.h