diff for duplicates of <1455512997.16012.24.camel@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 3bf17fb..e42feae 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -8,14 +8,21 @@ Can be racy as a CPU moves from non-idle to idle In -> + pmd_hugepage_update(vma->vm_mm, address, pmdp, ~0UL, 0); -> + /* -> + * This ensures that generic code that rely on IRQ disabling -> + * to prevent a parallel THP split work as expected. -> + */ -> + kick_all_cpus_sync(); +> +A A A A A pmd_hugepage_update(vma->vm_mm, address, pmdp, ~0UL, 0); +> +A A A A A /* +> +A A A A A A * This ensures that generic code that rely on IRQ disabling +> +A A A A A A * to prevent a parallel THP split work as expected. +> +A A A A A A */ +> +A A A A A kick_all_cpus_sync(); -pmdp_invalidate()->pmd_hugepage_update() can still run in parallel with +pmdp_invalidate()->pmd_hugepage_update() can still run in parallel withA find_linux_pte_or_hugepte() and race.. Am I missing something? Balbir Singh + + +-- +To unsubscribe, send a message with 'unsubscribe linux-mm' in +the body to majordomo@kvack.org. For more info on Linux MM, +see: http://www.linux-mm.org/ . +Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> diff --git a/a/content_digest b/N1/content_digest index ad5b164..76c9d7b 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -26,16 +26,23 @@ "\n" "In\n" "\n" - "> +\302\240\302\240\302\240\302\240\302\240pmd_hugepage_update(vma->vm_mm, address, pmdp, ~0UL, 0);\n" - "> +\302\240\302\240\302\240\302\240\302\240/*\n" - "> +\302\240\302\240\302\240\302\240\302\240\302\240* This ensures that generic code that rely on IRQ disabling\n" - "> +\302\240\302\240\302\240\302\240\302\240\302\240* to prevent a parallel THP split work as expected.\n" - "> +\302\240\302\240\302\240\302\240\302\240\302\240*/\n" - "> +\302\240\302\240\302\240\302\240\302\240kick_all_cpus_sync();\n" + "> +A A A A A pmd_hugepage_update(vma->vm_mm, address, pmdp, ~0UL, 0);\n" + "> +A A A A A /*\n" + "> +A A A A A A * This ensures that generic code that rely on IRQ disabling\n" + "> +A A A A A A * to prevent a parallel THP split work as expected.\n" + "> +A A A A A A */\n" + "> +A A A A A kick_all_cpus_sync();\n" "\n" - "pmdp_invalidate()->pmd_hugepage_update() can still run in parallel with\302\240\n" + "pmdp_invalidate()->pmd_hugepage_update() can still run in parallel withA \n" "find_linux_pte_or_hugepte() and race.. Am I missing something?\n" "\n" - Balbir Singh + "Balbir Singh\n" + "\n" + "\n" + "--\n" + "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n" + "the body to majordomo@kvack.org. For more info on Linux MM,\n" + "see: http://www.linux-mm.org/ .\n" + "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>" -ba924b3641718ad0752ce42c9cf786a956e8cfb1616f16d3b303743a8498ef19 +30f8e48a8a87d59eb4638f360ab1e9c78ccfa46a3acc78e29fe4f4015075bc7d
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.