[Crash-utility] [Patch V2 2/2] sparc64 changes

David Miller davem at davemloft.net
Thu Mar 24 19:22:52 UTC 2016


From: Dave Kleikamp <dave.kleikamp at oracle.com>
Date: Wed, 23 Mar 2016 17:41:08 -0500

> +	/* Check for a huge/THP page */
> +	paddr = pmd_is_huge(pte, vaddr, verbose);
> +	if (paddr)
> +		goto out;
 ...
> +	paddr = pte_to_pa(pte);
> +	paddr = paddr | (vaddr & ~PAGE_MASK);

This handles transparent huge pages installed at the PMD level, but I don't
see that it handles huge PTEs properly, which are encoded at the PTE level.




More information about the Crash-utility mailing list