diff options
| author | 2018-01-12 13:45:33 +0100 | |
|---|---|---|
| committer | 2018-01-16 23:47:15 +1100 | |
| commit | 4f94b2c7462d9720b2afa7e8e8d4c19446bb31ce (patch) | |
| tree | 1ae3d8ccd4182022f85041802d199b1294699639 /scripts/patch-kernel | |
| parent | powerpc/8xx: Remove _PAGE_USER and handle user access at PMD level (diff) | |
powerpc/8xx: Use L1 entry APG to handle _PAGE_ACCESSED for CONFIG_SWAP
When CONFIG_SWAP is set, the TLB miss handlers have to also take
into account _PAGE_ACCESSED flag. At the moment it is done by
anding _PAGE_ACCESSED into _PAGE_PRESENT using 3 instructions.
This patch uses APG for handling _PAGE_ACCESSED, allowing to
just copy _PAGE_ACCESSED bit into APG field, hence reducing the
action to a single instruction.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
