Skip to content

x86_64: Fix page_offset for randomized base enabled

Pratyush Anand kexec 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 11 repliesIn review
  2. v14 patches 19 repliesSuperseded

Changes in v2 from the cover letter

* A bug in patch 1/4 fixed
* Patch log of 2/4 improved to include more number of trials

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86_64: Calculate page_offset from pt_loadarch/x86_64.c+20 -40 replies
2/4x86_64: translate all VA to PA using page table valuesarch/x86_64.c makedumpfile.h+10 -369 replies
3/4x86_64: kill is_vmalloc_addr_x86_64()arch/x86_64.c makedumpfile.h+2 -150 replies
4/4x86_64: kill some unused initializationarch/x86_64.c makedumpfile.h+0 -60 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [Makedumpfile PATCH V2 0/4] x86_64: Fix page_offset for randomized base enabled

Patch 1/4 fixes page_offset calculation, so that it is correctly calculated on KASLR enabled kernel as well.
Patch 2/4 simplifies VA to PA translation. New code has been benchmarked against old code on a 4T system.
Patch 3/4 and 4/4 is removal of (now) unnecessary code.

I think, we should find a way to kill find_vememmap() as well, so that VMEMMAP_START can be removed. I have very limited idea about x86, so unable to do that as of now.

Changes since V1:
* A bug in patch 1/4 fixed
* Patch log of 2/4 improved to include more number of trials

Pratyush Anand (4):
x86_64: Calculate page_offset from pt_load
x86_64: translate all VA to PA using page table values
x86_64: kill is_vmalloc_addr_x86_64()
x86_64: kill some unused initialization

 arch/x86_64.c  | 84 ++++++++++++++++++++--------------------------------------
 makedumpfile.h |  9 +++----
 2 files changed, 32 insertions(+), 61 deletions(-)
Signature · 7 lines
2.7.4


_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec