On 07/04/2018 10:47 PM, Bin Yang wrote:
> When changing a 4K page attr inside 1G/2M large page range,
> __change_page_attr() will call try_preserve_large_page() to decide
> to split the big page or not. And try_preserve_large_page() will
> call static_protections() to check all 4K pages inside the
On Thu, 5 Jul 2018, Bin Yang wrote:
> static inline pgprot_t static_protections(pgprot_t prot, unsigned long
> address,
> -unsigned long pfn)
> +unsigned long pfn, unsigned long *page_num)
> {
> pgprot_t forbidden = __pgprot(0
When changing a 4K page attr inside 1G/2M large page range,
__change_page_attr() will call try_preserve_large_page() to decide
to split the big page or not. And try_preserve_large_page() will
call static_protections() to check all 4K pages inside the large page
range one by one. The check loop is v
3 matches
Mail list logo