Hillf Danton writes:
> On Friday, October 28, 2016 1:56 PM Huang, Ying wrote:
>> @@ -2016,10 +2021,12 @@ int page_trans_huge_mapcount(struct page *page, int
>> *total_mapcount)
>> /* Racy check whether the huge page can be split */
>> bool can_split_huge_page(struct page *page)
>> {
>> -
On Friday, October 28, 2016 1:56 PM Huang, Ying wrote:
> @@ -2016,10 +2021,12 @@ int page_trans_huge_mapcount(struct page *page, int
> *total_mapcount)
> /* Racy check whether the huge page can be split */
> bool can_split_huge_page(struct page *page)
> {
> - int extra_pins = 0;
> + in
From: Huang Ying
This patch enhanced the split_huge_page_to_list() to work properly for
the THP (Transparent Huge Page) in the swap cache during swapping out.
This is used for delaying splitting the THP during swapping out. Where
for a THP to be swapped out, we will allocate a swap cluster, add
3 matches
Mail list logo