commit 4b471e8898c3 ("mm, thp: remove infrastructure for handling splitting PMDs") didn't remove all details about the THP split requirements for RCU GUP-fast. IPI broeadcasts on THP split are no longer required. Cc: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> Cc: Sasha Levin <sasha.levin@xxxxxxxxxx> Cc: Aneesh Kumar K.V <aneesh.kumar@xxxxxxxxxxxxxxxxxx> Cc: Vlastimil Babka <vbabka@xxxxxxx> Cc: Jerome Marchand <jmarchan@xxxxxxxxxx> Cc: Andrea Arcangeli <aarcange@xxxxxxxxxx> Cc: Hugh Dickins <hughd@xxxxxxxxxx> Cc: Jason Gunthorpe <jgg@xxxxxxxxxx> Cc: John Hubbard <jhubbard@xxxxxxxxxx> Cc: Peter Xu <peterx@xxxxxxxxxx> Cc: Yang Shi <shy828301@xxxxxxxxx> Signed-off-by: David Hildenbrand <david@xxxxxxxxxx> --- mm/gup.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mm/gup.c b/mm/gup.c index 5abdaf487460..cfe71f422787 100644 --- a/mm/gup.c +++ b/mm/gup.c @@ -2309,9 +2309,8 @@ EXPORT_SYMBOL(get_user_pages_unlocked); * * Another way to achieve this is to batch up page table containing pages * belonging to more than one mm_user, then rcu_sched a callback to free those - * pages. Disabling interrupts will allow the fast_gup walker to both block - * the rcu_sched callback, and an IPI that we broadcast for splitting THPs - * (which is a relatively rare event). The code below adopts this strategy. + * pages. Disabling interrupts will allow the fast_gup walker to block the + * rcu_sched callback. * * Before activating this code, please be aware that the following assumptions * are currently made: -- 2.37.1