qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 for-6.0 1/2] tcg: Do not set guard pages on the rx portion


From: Richard Henderson
Subject: Re: [PATCH v3 for-6.0 1/2] tcg: Do not set guard pages on the rx portion of code_gen_buffer
Date: Mon, 22 Mar 2021 09:13:40 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 3/22/21 7:56 AM, Roman Bolshakov wrote:
  - What does mean that rx might be covered by huge pages? (perhaps I'm
    missing some context)

Huge pages are where a single level (n-1) page table entry covers the entire span that would be covered by m * level n page table entries.

On x86, this is a 2MB hugepage, vs 512 4kB pages. Most modern cpus support something similar.

See qemu_madvise(..., QEMU_MADV_HUGEPAGE).


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]