https://github.com/torvalds/linux
Revision a31b9dd8edc6e4e75b5299fee6093b3c54548446 authored by David Howells on 10 April 2008, 15:10:45 UTC, committed by Linus Torvalds on 10 April 2008, 20:41:28 UTC
Handle update_mmu_cache() being called when current->mm is NULL.

We cache static TLB mappings for the current page table in DAMPR4 and DAMPR5
on the theory that the next data lookup is likely to be in the same general
region, and thus is likely to be mapped by the same page table.  However, we
can't get this information if we can't access the appropriate mm_struct.

If current->mm is NULL, we just clear the cache in the knowledge that the TLB
miss handlers will load it.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 5d69a02
History
Tip revision: a31b9dd8edc6e4e75b5299fee6093b3c54548446 authored by David Howells on 10 April 2008, 15:10:45 UTC
FRV: Handle update_mmu_cache() being called when current->mm is NULL [try #2]
Tip revision: a31b9dd
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 644 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.4 KB
Kbuild -rw-r--r-- 1.6 KB
MAINTAINERS -rw-r--r-- 94.9 KB
Makefile -rw-r--r-- 52.8 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top