[PATCH 00/16] Remove hash page table slot tracking from linux PTE

Michael Ellerman mpe at ellerman.id.au
Wed Nov 1 15:46:39 AEDT 2017


Ram Pai <linuxram at us.ibm.com> writes:

> On Mon, Oct 30, 2017 at 09:04:17AM +1100, Paul Mackerras wrote:
>> On Sat, Oct 28, 2017 at 03:35:32PM -0700, Ram Pai wrote:
>> > 
>> > I like the idea of not tracking the slots at all. It is something the
>> > guest should not be knowing or tracking.
>> 
>> Why do you say that?
>
> 'slot' is a internal mechanism used by the hash table to accelerate
> mapping an address to a hash-page.  If the hash-table implementation
> choose to use a different mechanism to accelerate the mapping, it can't
> because that mechanism is baked into the logic of all the consumers.

The slots are defined in the architecture, so it's entirely fine for
guests to track them.

cheers


More information about the Linuxppc-dev mailing list