On 2024/12/9 21:35, Matthew Wilcox wrote: > On Mon, Dec 09, 2024 at 09:25:49PM +0800, Jinjie Ruan wrote: >> Check the anon_vma of pvma inline so we can avoid the function call >> overhead if the anon_vma is NULL. > > This really gets you 1% perf improvement? On what hardware? Yes,the total improvement of this two patches is about 1% on our last-generation arm64 server platform. During the test of Unixbench single-core process creation, the trace result shows that the two functions are frequently invoked, and a large number of check NULL and returned. > >