Re: a question of split_huge_page

From: Kirill A. Shutemov
Date: Fri Jul 10 2020 - 06:33:22 EST


On Fri, Jul 10, 2020 at 12:51:58PM +0800, Alex Shi wrote:
>
>
> å 2020/7/10 äå12:07, Kirill A. Shutemov åé:
> > Right, and it's never got removed from LRU during the split. The tail
> > pages have to be added to LRU because they now separate from the tail
> > page.
> >
> According to the explaination, looks like we could remove the code path,
> since it's never got into. (base on my v15 patchset). Any comments?

Yes. But why? It's reasonable failsafe that gives chance to recover if
something goes wrong.

--
Kirill A. Shutemov