X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/34f6af4f61e0eec9c96113e07f140b609b4113c8..d15268ba6eadf89a38087995ff407f50418485fb:/lunaix-os/arch/x86/mm/vmutils.c diff --git a/lunaix-os/arch/x86/mm/vmutils.c b/lunaix-os/arch/x86/mm/vmutils.c index 5f4d3df..8c99710 100644 --- a/lunaix-os/arch/x86/mm/vmutils.c +++ b/lunaix-os/arch/x86/mm/vmutils.c @@ -10,8 +10,9 @@ dup_leaflet(struct leaflet* leaflet) new_leaflet = alloc_leaflet(leaflet_order(leaflet)); - src_va = leaflet_mount(leaflet); + // TODO need a proper long term fix for the contention of page mount point dest_va = vmap(new_leaflet, KERNEL_DATA); + src_va = leaflet_mount(leaflet); size_t cnt_wordsz = leaflet_size(new_leaflet) / sizeof(ptr_t);