diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2013-03-12 00:31:29 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-03-22 15:28:50 +0100 |
commit | a1ff751abda89006f167b14fa4bfc5b59e4980f0 (patch) | |
tree | 17411b8c99eff38aa4185a3ac633b6391f953c33 /async.c | |
parent | aea390e4be652d5b5457771d25eded0dba14fe37 (diff) |
mmu-hash*: Make find_pte{32, 64} do more of the job of finding ptes
find_pte{32,64}() are not particularly well named. They only "find" a PTE
within a given PTE group, and they also do permissions checking and other
things.
This patch makes it somewhat close to matching the name, by folding the
search of both primary and secondary hash bucket into it, along with the
various address bit shuffling to determine the right hash buckets.
In the 32-bit case we also remove the code for splitting large pages into
4k pieces for the qemu tlb, since no 32-bit hash MMUs support multiple page
sizes.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'async.c')
0 files changed, 0 insertions, 0 deletions