From: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
To: <linux-mips@linux-mips.org>, <hauke@hauke-m.de>,
<yanh@lemote.com>, <zajec5@gmail.com>, <ralf@linux-mips.org>,
<alex.smith@imgtec.com>, <taohl@lemote.com>, <chenhc@lemote.com>
Subject: [PATCH 0/3] PTE formats changes
Date: Thu, 4 Sep 2014 18:03:39 -0700 [thread overview]
Message-ID: <20140905010124.15448.53707.stgit@linux-yegoshin> (raw)
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
WARNING: multiple messages have this Message-ID (diff)
From: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
To: linux-mips@linux-mips.org, hauke@hauke-m.de, yanh@lemote.com,
zajec5@gmail.com, ralf@linux-mips.org, alex.smith@imgtec.com,
taohl@lemote.com, chenhc@lemote.com
Subject: [PATCH 0/3] PTE formats changes
Date: Thu, 4 Sep 2014 18:03:39 -0700 [thread overview]
Message-ID: <20140905010124.15448.53707.stgit@linux-yegoshin> (raw)
Message-ID: <20140905010339.ymYTDccbKXznH8158Hg0O65Luy2JzM485onEyGz4Fsw@z> (raw)
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
next reply other threads:[~2014-09-05 1:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-05 1:03 Leonid Yegoshin [this message]
2014-09-05 1:03 ` [PATCH 0/3] PTE formats changes Leonid Yegoshin
2014-09-05 1:03 ` [PATCH 1/3] MIPS: rearrange PTE bits into fixed positions Leonid Yegoshin
2014-09-05 1:03 ` Leonid Yegoshin
2014-09-05 1:03 ` [PATCH 2/3] MIPS: PTE bit positions slightly changed to prepare a more simple swap/file presentation Leonid Yegoshin
2014-09-05 1:03 ` Leonid Yegoshin
2014-09-05 1:04 ` [PATCH 3/3] MIPS: bugfix of PTE formats for swap and file entries Leonid Yegoshin
2014-09-05 1:04 ` Leonid Yegoshin
2014-09-05 7:20 ` [PATCH 0/3] PTE formats changes Rafał Miłecki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140905010124.15448.53707.stgit@linux-yegoshin \
--to=leonid.yegoshin@imgtec.com \
--cc=alex.smith@imgtec.com \
--cc=chenhc@lemote.com \
--cc=hauke@hauke-m.de \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
--cc=taohl@lemote.com \
--cc=yanh@lemote.com \
--cc=zajec5@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox