diff options
author | David Howells <dhowells@redhat.com> | 2008-04-10 16:10:45 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-10 13:41:28 -0700 |
commit | a31b9dd8edc6e4e75b5299fee6093b3c54548446 (patch) | |
tree | f1f8fe2c4e98e80c505e869cd1c98caef259a079 /kernel/rtmutex.h | |
parent | 5d69a029ab13ddef5bdad69174fabafada4a87fd (diff) |
FRV: Handle update_mmu_cache() being called when current->mm is NULL [try #2]
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>
Diffstat (limited to 'kernel/rtmutex.h')
0 files changed, 0 insertions, 0 deletions