Re: [patch NOT added to the 3.12 stable tree] mm: add !pte_present() check on existing hugetlb_entry callbacks

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

 



On 06/20/2014 04:57 PM, Naoya Horiguchi wrote:
> Hi Jiri,
> 
> On Fri, Jun 20, 2014 at 09:13:32AM +0200, Jiri Slaby wrote:
>> From: Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx>
>>
>> This patch does NOT apply to the 3.12 stable tree. If you still want
>> it applied, please provide a backport.
> 
> At kernel 3.12 queue_pages_hugetlb_pmd_range() used vma->vm_mm->page_table_lock
> for page table lock, which was introduced at commit e2d8cf40552 "migrate: add
> hugepage migration code to migrate_pages()".
> After 3.12 in mainline kernel we had the lock conversion into split pmd lock
> at commit cb900f4121544 "mm, hugetlb: convert hugetlbfs to use split pmd lock".
> 
> Stable-3.12 doesn't have split pmd lock, so just adding pte_present check
> with keeping vma->vm_mm->page_table_lock should be correct.
> 
> Here is the diff:

Now applied, thanks.

-- 
js
suse labs
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]