Hello Zhaoyang, On Tue, Aug 13, 2024 at 09:58:32AM +0000, 黄朝阳 (Zhaoyang Huang) wrote: > >I've been discussing this with colleagues and we're speculating that the high > >contention might be linked to the fact that CMA regions are now being skipped. > >This could potentially extend the duration of the > >isolate_lru_folios() 'while' loop, resulting in increased pressure on the lock. > >However, I want to emphasize that I'm not an expert in this area and I am > >simply sharing the data I collected. > Could you please try below patch which could be helpful > > https://lore.kernel.org/linux-mm/CAOUHufa7OBtNHKMhfu8wOOE4f0w3b0_2KzzV7-hrc9rVL8e=iw@xxxxxxxxxxxxxx/ Yes, my colleague Usama have tried it, and it solved the problem. Thanks for the heads-up, it was very useful. --breno