Messages in this thread |  | | From | Kanoj Sarcar <> | Subject | Re: [PATCH] 2.4.0-test10-pre6 TLB flush race in establish_pte | Date | Mon, 30 Oct 2000 13:39:31 -0800 (PST) |
| |
> > So while there may be a more elegant solution down the road, I would like > to see the simple fix put back into 2.4. Here is the patch to essential > put the code back to the way it was before the S/390 merge. Patch is > against 2.4.0-test10pre6. > > --- linux/mm/memory.c Fri Oct 27 15:26:14 2000 > +++ linux-2.4.0-test10patch/mm/memory.c Fri Oct 27 15:45:54 2000 > @@ -781,8 +781,8 @@ > */ > static inline void establish_pte(struct vm_area_struct * vma, unsigned long address, pte_t *page_table, pte_t entry) > { > - flush_tlb_page(vma, address); > set_pte(page_table, entry); > + flush_tlb_page(vma, address); > update_mmu_cache(vma, address, entry); > } >
Great, lets do it. Definitely solves one race.
Kanoj - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |