Updated from Linux LTS 3.10.25 to 3.10.26
This commit is contained in:
@@ -206,6 +206,7 @@ static unsigned long change_protection_range(struct vm_area_struct *vma,
|
||||
BUG_ON(addr >= end);
|
||||
pgd = pgd_offset(mm, addr);
|
||||
flush_cache_range(vma, addr, end);
|
||||
set_tlb_flush_pending(mm);
|
||||
do {
|
||||
next = pgd_addr_end(addr, end);
|
||||
if (pgd_none_or_clear_bad(pgd))
|
||||
@@ -217,6 +218,7 @@ static unsigned long change_protection_range(struct vm_area_struct *vma,
|
||||
/* Only flush the TLB if we actually modified any entries: */
|
||||
if (pages)
|
||||
flush_tlb_range(vma, start, end);
|
||||
clear_tlb_flush_pending(mm);
|
||||
|
||||
return pages;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user