On Mon, Nov 20, 2023 at 03:47:32AM +0800, Kairui Song wrote: > page = swapin_readahead(entry, GFP_HIGHUSER_MOVABLE, > vmf, &cache_result); > - if (page) { > + if (PTR_ERR(page) == -EBUSY) { if (page == ERR_PTR(-EBUSY)) {
On Mon, Nov 20, 2023 at 03:47:32AM +0800, Kairui Song wrote: > page = swapin_readahead(entry, GFP_HIGHUSER_MOVABLE, > vmf, &cache_result); > - if (page) { > + if (PTR_ERR(page) == -EBUSY) { if (page == ERR_PTR(-EBUSY)) {