Skip to content
Commit 471d6955 authored by Rik van Riel's avatar Rik van Riel Committed by Andrew Morton
Browse files

hugetlbfs: replace hugetlb_vma_lock with invalidate_lock

Replace the custom hugetlbfs VMA locking code with the recently introduced
invalidate_lock.  This greatly simplifies things.

However, this is a large enough change that it should probably go in
separately from the other changes.

Another question is whether this simplification hurts scalability for
certain workloads.

Link: https://lkml.kernel.org/r/20231006040020.3677377-5-riel@surriel.com


Signed-off-by: default avatarRik van Riel <riel@surriel.com>
Suggested-by: default avatarMatthew Wilcox <willy@infradead.org>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Muchun Song <muchun.song@linux.dev>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 9614fe4b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment