]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/mmap: Rework brk() to take interval tree locks when necessary
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 26 Nov 2020 20:43:25 +0000 (15:43 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 5 Jan 2021 17:33:29 +0000 (12:33 -0500)
commiteca626637758474f47295550cafa6e4a75083ef7
treedd30553da3690d997bba5a704c901708d5e35edf
parent53cde8d0c78e07525b244fedb4817f61b68931f9
mm/mmap: Rework brk() to take interval tree locks when necessary

interval tree locks are necessary for expand/contract of VMAs so use them.
This path is also rather slow and cannot be taken if the anon_vma_chain is
not a singular list

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
mm/mmap.c