Skip to content

PTE formats changes

Leonid Yegoshin linux-mips 1 version In review

Get series with b4
b4 am 20140905010124.15448.53707.stgit@linux-yegoshin

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3MIPS: rearrange PTE bits into fixed positionsarch/mips/include/asm/pgtable-bits.h+102 -00 replies
2/3MIPS: PTE bit positions slightly changed to prepare a more simple swap/file presentationarch/mips/include/asm/pgtable-bits.h+37 -370 replies
3/3MIPS: bugfix of PTE formats for swap and file entriesarch/mips/include/asm/pgtable-32.h arch/mips/include/asm/pgtable-64.h arch/mips/include/asm/pgtable-bits.h+110 -690 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] PTE formats changes

The following series implements bugfix of PTE formats for swap and file entries and changes PTE bit position to fixed, which is more better for analysing of tracer and HW debugger logs.

Hardcoded bits positions and offsets in PTE effectively causes a miss of relationship between PTE format for TLB and PTE formats for swap and file entries. This patch series introduces a symbolic relation between both and also fixes a current mismatch of formats. It can crash kernel or application in heavy paging environment.

Fixed bit positions helps much in analysing of tracer and HW debugger logs and improves performance and code size a little due to absence of variable masks in kernel.

---

Leonid Yegoshin (3):
MIPS: rearrange PTE bits into fixed positions
MIPS: PTE bit positions slightly changed to prepare a more simple swap/file presentation
MIPS: bugfix of PTE formats for swap and file entries

 arch/mips/include/asm/pgtable-32.h   |  107 ++++++++-----------
 arch/mips/include/asm/pgtable-64.h   |   25 +++-
 arch/mips/include/asm/pgtable-bits.h |  189 ++++++++++++++++++++++++++++++----
 3 files changed, 232 insertions(+), 89 deletions(-)
Signature · 1 line
Signature