[linux-yocto] [PATCH 0/23] Refresh hugetlb kernel code

Bruce Ashfield bruce.ashfield at windriver.com
Thu Jul 31 13:18:08 PDT 2014


On 14-07-31 04:15 PM, Yang Shi wrote:
> On 7/31/2014 12:45 PM, Bruce Ashfield wrote:
>> On 14-07-30 10:16 PM, Yang Shi wrote:
>>>
>>> Refresh kernel hugetlb up to 3.16. Brought in 23 commits.
>>>
>>> 6915d46 fs/hugetlbfs/inode.c: remove null test before kfree
>>> 1b337c3 fs/hugetlbfs/inode.c: use static const for dentry_operations
>>> 38d1f0c fs/hugetlbfs/inode.c: add static to hugetlbfs_i_mmap_mutex_key
>>> 28f1100 fs/hugetlbfs/inode.c: complete conversion to pr_foo()
>>> be6a6a7 mm: hugetlb: fix copy_hugetlb_page_range()
>>> 57e40e2 hugetlb: fix copy_hugetlb_page_range() to handle
>>> migration/hwpoisoned entry
>>> e5b6bc0 hugetlb: rename hugepage_migration_support() to ..._supported()
>>> fb6b8d8 mm, hugetlb: move the error handle logic out of normal code path
>>> f5818e5 hugetlb: add support for gigantic page allocation at runtime
>>> 26e8523 hugetlb: move helpers up in the file
>>> 24a3191 hugetlb: update_and_free_page(): don't clear PG_reserved bit
>>> ee1899c hugetlb: add hstate_is_gigantic()
>>> e813421 hugetlb: prep_compound_gigantic_page(): drop __init marker
>>> 4ce92bf hugetlb: restrict hugepage_migration_support() to x86_64
>>
>>
>> Applying: hugetlb: restrict hugepage_migration_support() to x86_64
>> error: patch failed: arch/arm/mm/hugetlbpage.c:56
>> error: arch/arm/mm/hugetlbpage.c: patch does not apply
>> error: patch failed: arch/arm64/mm/hugetlbpage.c:54
>> error: arch/arm64/mm/hugetlbpage.c: patch does not apply
>> error: patch failed: arch/ia64/mm/hugetlbpage.c:114
>> error: arch/ia64/mm/hugetlbpage.c: patch does not apply
>> error: patch failed: arch/metag/mm/hugetlbpage.c:110
>> error: arch/metag/mm/hugetlbpage.c: patch does not apply
>> error: patch failed: arch/mips/mm/hugetlbpage.c:84
>> error: arch/mips/mm/hugetlbpage.c: patch does not apply
>> error: patch failed: arch/powerpc/mm/hugetlbpage.c:86
>> error: arch/powerpc/mm/hugetlbpage.c: patch does not apply
>> error: patch failed: arch/s390/mm/hugetlbpage.c:223
>> error: arch/s390/mm/hugetlbpage.c: patch does not apply
>> error: patch failed: arch/sh/mm/hugetlbpage.c:83
>> error: arch/sh/mm/hugetlbpage.c: patch does not apply
>> error: patch failed: arch/sparc/mm/hugetlbpage.c:231
>> error: arch/sparc/mm/hugetlbpage.c: patch does not apply
>> error: patch failed: arch/tile/mm/hugetlbpage.c:166
>> error: arch/tile/mm/hugetlbpage.c: patch does not apply
>> error: patch failed: arch/x86/Kconfig:1908
>> error: arch/x86/Kconfig: patch does not apply
>> error: patch failed: arch/x86/mm/hugetlbpage.c:58
>> error: arch/x86/mm/hugetlbpage.c: patch does not apply
>> error: patch failed: include/linux/hugetlb.h:392
>> error: include/linux/hugetlb.h: patch does not apply
>> error: patch failed: include/linux/mempolicy.h:176
>> error: include/linux/mempolicy.h: patch does not apply
>> error: patch failed: mm/Kconfig:263
>> error: mm/Kconfig: patch does not apply
>> Patch failed at 0010 hugetlb: restrict hugepage_migration_support() to
>> x86_64
>>
>> Can you check this against the latest standard/base on linux-yocto-3.14 ?
>
> Checked the latest linux-yocto-3.14 tree. The commit has been merged to
> 3.14 stable tree since 3.14.10.
>
> So, we could just skip it.

Same for:

Applying: hugetlb: fix copy_hugetlb_page_range() to handle 
migration/hwpoisoned entry
error: patch failed: mm/hugetlb.c:2519
error: mm/hugetlb.c: patch does not apply
Patch failed at 0018 hugetlb: fix copy_hugetlb_page_range() to handle 
migration/hwpoisoned entry

.. I'm building with the rest now.

Bruce


>
> Yang
>
>>
>> Bruce
>>
>>
>>> 53fb2c2 hugetlb: ensure hugepage access is denied if hugepages are
>>> not supported
>>> 59e576a mm/hugetlb.c: add NULL check of return value of huge_pte_offset
>>> 17928d4 mm, hugetlb: mark some bootstrap functions as __init
>>> d14b723 mm, hugetlb: improve page-fault scalability
>>> cae5e16 mm, hugetlb: use vma_resv_map() map types
>>> 48e92eb mm, hugetlb: remove resv_map_put
>>> 1e9fbf7 mm, hugetlb: fix race in region tracking
>>> 28181e5 mm, hugetlb: improve, cleanup resv_map parameters
>>> 0795081 mm, hugetlb: unify region structure handling
>>>
>>> Only x86 could enable hugetlb, so just run the libhugetlb fs test on
>>> qemux86-64 and qemux86.
>>>
>>> ARM depends on ARM_LPAE
>>> MIPS depends on 64BIT
>>> PPC depends on BOOK_3S or BOOK_3E with PHYS_64BIT
>>>
>>> So, the runtime test can not be run on qemu BSPs.
>>>
>>> Run build and boot test on them.
>>>
>>
>>
>>
>



More information about the linux-yocto mailing list