summaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/path-lookup.txt
diff options
context:
space:
mode:
authorAneesh Kumar K.V2014-03-15 11:47:58 +0100
committerBenjamin Herrenschmidt2014-03-23 23:48:34 +0100
commit346519a1606e196bd5f11b9f5eacaf60f70477a1 (patch)
tree97b5861188bb1dd0cdb79efcd0866228aa75fb2f /Documentation/filesystems/path-lookup.txt
parentpowerpc: Rate-limit users spamming kernel log buffer (diff)
downloadkernel-qcow2-linux-346519a1606e196bd5f11b9f5eacaf60f70477a1.tar.gz
kernel-qcow2-linux-346519a1606e196bd5f11b9f5eacaf60f70477a1.tar.xz
kernel-qcow2-linux-346519a1606e196bd5f11b9f5eacaf60f70477a1.zip
powerpc/mm: Make sure a local_irq_disable prevent a parallel THP split
We have generic code like the one in get_futex_key that assume that a local_irq_disable prevents a parallel THP split. Support that by adding a dummy smp call function after setting _PAGE_SPLITTING. Code paths like get_user_pages_fast still need to check for _PAGE_SPLITTING after disabling IRQ which indicate that a parallel THP splitting is ongoing. Now if they don't find _PAGE_SPLITTING set, then we can be sure that parallel split will now block in pmdp_splitting flush until we enables IRQ Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Acked-by: Rik van Riel <riel@redhat.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'Documentation/filesystems/path-lookup.txt')
0 files changed, 0 insertions, 0 deletions