libkvm - Fix minidump page table processing
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 6 Jan 2020 23:33:27 +0000 (15:33 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 6 Jan 2020 23:33:27 +0000 (15:33 -0800)
commit2a4134c73e58da04b1e95ef1e885ec453f90c3c3
tree81fecbd0a79796312b4544e0ceef78a705011387
parent4d18c287145cf3b904a392590e2cedce35bf5b56
libkvm - Fix minidump page table processing

* libkvm was not properly handling 1GB and 2MB page table entries.
  These entries need to be masked against PG_PS_FRAME, not PG_FRAME.

* Fixes vmstat -m -N kernel -M vmcore output, and probably other
  output too.
lib/libkvm/kvm_minidump_x86_64.c