Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3666893imc; Thu, 14 Mar 2019 02:26:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqwvtQZtqiUBNyBlGDYxdGzc47LHsluESmSuyjrPo9kdxpdZ/D3OkNOrQtk0mqV47PHCjEPB X-Received: by 2002:a65:614a:: with SMTP id o10mr44106066pgv.51.1552555595602; Thu, 14 Mar 2019 02:26:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552555595; cv=none; d=google.com; s=arc-20160816; b=hQGz9snlCVWzR5twVXREV45hNcAgDpSrbbUF1t9p1NesMYscaPYKL1GmUe5sTM69XA rrfYfCLn8SAgvqAbGJy9/BgU7So5zGjcpOeRv9IgJ2zSFoyNIHZT+9Hh9T7FMQc2q4Lz fvTh/wZiROKyZIUvT9+ApwrqrUcPC9A07r6kvP1MLGNi0/LbMNWJPmhmU1F0D07GgwAu kCQ4HCVeNBFTM+50zqfkO4Eb1TZbk8Xnqpmqd1FM44LPr+1vOsN/ThuNBdQbgaW66SKW MSRY33jAqAJ7DlLAuExDZmQSAdksax6KnD1RGcgmaflhNq00DzRwHXP+Nbi75tsuscYy inCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=oG8rogOtavholQCx/pDC90nUKuWq+q6juem+jPcpzPI=; b=xfbKpPfVMUhHwscYkPnth9Fh8tFrZsoiMGmPEM7eWMKqNJ5oD8bzmfTGA7zsEC+zEx rC/z9tHcZE9puo4zB+ZIhbrVHRSTs47V85/mChSzSXPL3JvMVwF3JF8an5ypmWeGBQEL ocIMZYxCYH81VHjiQwI6x98WnjrTVheuUbJ28doawDs06svQ6HHCi3sBadLwV+mxmElz rWoh0qbzQZ+60mRPH1xkf/OpEFC2IJ/E5xZYuDL0PFP/zXa7Qtl4nr/iKU3iBdf7kXLx 5rvJ5Cx63sl/1RYjP+PjBWPWaLgGy7ODLD0+nJ/wQGi+O/i+QBpSgtD/Uu9ddVKmC/4d Q+6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33si13853508plg.3.2019.03.14.02.26.20; Thu, 14 Mar 2019 02:26:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726822AbfCNJZi (ORCPT + 99 others); Thu, 14 Mar 2019 05:25:38 -0400 Received: from relay.sw.ru ([185.231.240.75]:47630 "EHLO relay.sw.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726689AbfCNJZi (ORCPT ); Thu, 14 Mar 2019 05:25:38 -0400 Received: from [172.16.25.169] by relay.sw.ru with esmtp (Exim 4.91) (envelope-from ) id 1h4McI-00021J-PM; Thu, 14 Mar 2019 12:25:34 +0300 Subject: Re: Re: [External] Re: vmscan: Reclaim unevictable pages To: Pankaj Suryawanshi , Michal Hocko Cc: "linux-kernel@vger.kernel.org" , "minchan@kernel.org" References: <20190314084120.GF7473@dhcp22.suse.cz> From: Kirill Tkhai Message-ID: <226a92b9-94c5-b859-c54b-3aacad3089cc@virtuozzo.com> Date: Thu, 14 Mar 2019 12:25:34 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14.03.2019 11:52, Pankaj Suryawanshi wrote: > > I am using kernel version 4.14.65 (on Android pie [ARM]). > > No additional patches applied on top of vanilla.(Core MM). > > If  I change in the vmscan.c as below patch, it will work. Sorry, but 4.14.65 does not have braces around trylock_page(), like in your patch below. See https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/mm/vmscan.c?h=v4.14.65 [...] >> diff --git a/mm/vmscan.c b/mm/vmscan.c >> index be56e2e..2e51edc 100644 >> --- a/mm/vmscan.c >> +++ b/mm/vmscan.c >> @@ -990,15 +990,17 @@ static unsigned long shrink_page_list(struct list_head *page_list, >>                  page = lru_to_page(page_list); >>                  list_del(&page->lru); >> >>                 if (!trylock_page(page)) { >>                          goto keep; >>                 }