[PATCH V4 00/31] powerpc/mm: Update page table format for book3s 64

Denis Kirjanov kda at linux-powerpc.org
Tue Nov 10 19:28:57 AEDT 2015


On 11/3/15, Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com> wrote:
> Denis Kirjanov <kda at linux-powerpc.org> writes:
>
>> On 10/23/15, Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com> wrote:
>>> Denis Kirjanov <kda at linux-powerpc.org> writes:
>>>
>>>> On 10/17/15, Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com> wrote:
>>>>> Hi All,
>>>>>
>>>>> This patch series attempt to update book3s 64 linux page table format
>>>>> to
>>>>> make it more flexible. Our current pte format is very restrictive and
>>>>> we
>>>>> overload multiple pte bits. This is due to the non-availability of free
>>>>> bits
>>>>> in pte_t. We use pte_t to track the validity of 4K subpages. This patch
>>>>> series free up pte_t of 11 bits by moving 4K subpage tracking to the
>>>>> lower half of PTE page. The pte format is updated such that we have a
>>>>> better method for identifying a pte entry at pmd level. This will also
>>>>> enable
>>>>> us to implement hugetlb migration(not yet done in this series).
>>>>
>>>> Hi, what tree does this apply to?
>>>>
>>>
>>> linux-powerpc tree -next branch
>>>
>>> https://git.kernel.org/cgit/linux/kernel/git/powerpc/linux.git/
>>
>> Ok, but I'm getting the following error after applying the first patch
>> from your series:
>>
>> error: patch failed: arch/powerpc/include/asm/pgalloc-64.h:166
>> error: arch/powerpc/include/asm/pgalloc-64.h: patch does not apply
>> error: arch/powerpc/mm/hash64_64k.c: No such file or directory
>>
>> kda at hydra ~/devel/linux $ git branch
>>   master
>> * next
>> kda at hydra ~/devel/linux $ git remote show origin
>> * remote origin
>>   Fetch URL:
>> git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git
>>   Push  URL:
>> git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git
>>
>> Or am I missing something?
>
>
> Why not use
>
> The patch series can also be found at
> https://github.com/kvaneesh/linux.git book3s-pte-format
> https://github.com/kvaneesh/linux/commits/book3s-pte-format

I've started playing with your changes.
Also I want to run Mel Gorman's mm tests[0] but it needs some
work to adapt them to run.

Thanks!

[0] https://lwn.net/Articles/454121/
>
>
> -aneesh
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev


More information about the Linuxppc-dev mailing list