Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3614394imc; Thu, 14 Mar 2019 00:54:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqxraU/t4LalagDwUwPex6Delvk/CrlE9adGejzn3ZyOxjue5d099FwMkse6iVEsnyrFTcz3 X-Received: by 2002:a17:902:7203:: with SMTP id ba3mr44764223plb.168.1552550090213; Thu, 14 Mar 2019 00:54:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552550090; cv=none; d=google.com; s=arc-20160816; b=aI42PbspODz9yxTNGP2ROcPEW1OjjDKuuK/eQyzbLf8ubxr/ir5SzuNUZGqy1WkdQ7 G+E1cH8bgsdXqibO3K+Yhoo/5w0TDuWOBKBdJvf0hO4qCOl309TdwEW6Q7tDLFNqwc21 RmqnIgWLLfcM61JZbE9Nn6D3Vaom2vZI433QEfHlRRplZgcoWvNDKYCfBatCfs2Qgxp2 17brVsmOwlitNcelsgsuqfWXyr37BbMEHQ9f2jGO2Ugsji0n+1gbem8hKrkuua91K8el bGlxA+NDYE0zwrVRB9lAfYZeCi0XQdhtvVtwil+xcqVb+yWAyO6Dikp8mpluSxaloTvb 2tQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=VjkPIyRpxO47YJiDGxE0Y57nvDP18sPirYTwH9P2wco=; b=I4M0al6FZ/GsEXe7dp+2UtC3dx3O1ns8FbL+3qZ2zv1NkDJVYM0E4Pw3p9hBAnRpC1 LB8c6zStH48nfm3VH98DiRbSNbapv8m17ET47XDl3ct8rfALfbXIJhZ6ibwi8Df/Gz9e /QzL1xoH6MdaIuX0/WO8cMCxSU7CHQyLIgYUklXvdAkiUWT44hPXh8ic27UV1z/9H5rb PKkE2whq9hj59kWbLntFo7wy2A1fXnDvaoLCui4JCWBImMJ/fwwFpA17uk0kLP+zpcqZ On9cR7sxqe1zzLRCkqIdXGrD2vQy06ppsN+m4BSXWDbvJGM7ZvsJO2jggFTABqgijTxg dMjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@eInfochipsIndia.onmicrosoft.com header.s=selector1-einfochips-com header.b=5OuFZtt4; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e10si11556235pgo.404.2019.03.14.00.54.34; Thu, 14 Mar 2019 00:54:50 -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; dkim=pass header.i=@eInfochipsIndia.onmicrosoft.com header.s=selector1-einfochips-com header.b=5OuFZtt4; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726814AbfCNHx7 (ORCPT + 99 others); Thu, 14 Mar 2019 03:53:59 -0400 Received: from mail-eopbgr1300089.outbound.protection.outlook.com ([40.107.130.89]:30160 "EHLO APC01-HK2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726624AbfCNHx6 (ORCPT ); Thu, 14 Mar 2019 03:53:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eInfochipsIndia.onmicrosoft.com; s=selector1-einfochips-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VjkPIyRpxO47YJiDGxE0Y57nvDP18sPirYTwH9P2wco=; b=5OuFZtt4nfhLOUVXIt7lyZNBCMNKcj5CKGt4tOz5tE+xVj/tk6OtvK43x/v/pPWzTebgYrJRx9FHGV0642MNeML4Z7tehiV+JFJEcAsFwAC+4779KS5zYZQnaX6IVlGnKf0IY/v5ZELGYwsOIM8hgQ4uHqA2ks+mTUzkI/wQtgM= Received: from SG2PR02MB3098.apcprd02.prod.outlook.com (20.177.88.78) by SG2PR02MB3847.apcprd02.prod.outlook.com (20.178.134.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.13; Thu, 14 Mar 2019 07:53:54 +0000 Received: from SG2PR02MB3098.apcprd02.prod.outlook.com ([fe80::3180:828f:84bc:ea3]) by SG2PR02MB3098.apcprd02.prod.outlook.com ([fe80::3180:828f:84bc:ea3%4]) with mapi id 15.20.1686.021; Thu, 14 Mar 2019 07:53:54 +0000 From: Pankaj Suryawanshi To: "linux-kernel@vger.kernel.org" CC: "minchan@kernel.org" Subject: vmscan: Reclaim unevictable pages Thread-Topic: vmscan: Reclaim unevictable pages Thread-Index: AQHU2jnLyCfGly2dbEuVu40O8aA4saYKwYIO Date: Thu, 14 Mar 2019 07:53:53 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=pankaj.suryawanshi@einfochips.com; x-originating-ip: [14.98.130.2] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 552fcc4e-74a7-4dff-ebd5-08d6a852347a x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020);SRVR:SG2PR02MB3847; x-ms-traffictypediagnostic: SG2PR02MB3847:|SG2PR02MB3847: x-microsoft-antispam-prvs: x-forefront-prvs: 09760A0505 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(39840400004)(396003)(366004)(376002)(136003)(189003)(199004)(476003)(81156014)(305945005)(105586002)(5660300002)(44832011)(71190400001)(93156006)(71200400001)(7736002)(66066001)(316002)(6916009)(5024004)(2501003)(8676002)(52536014)(74316002)(4326008)(25786009)(186003)(2940100002)(33656002)(81166006)(14444005)(11346002)(256004)(5640700003)(6116002)(76176011)(478600001)(446003)(86362001)(68736007)(99286004)(6436002)(3846002)(486006)(55236004)(53936002)(6506007)(102836004)(8936002)(66574012)(26005)(97736004)(9686003)(55016002)(2351001)(106356001)(14454004)(7696005)(2906002)(78486014);DIR:OUT;SFP:1101;SCL:1;SRVR:SG2PR02MB3847;H:SG2PR02MB3098.apcprd02.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: einfochips.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: jlMeBtb54R/pbjRpM7/QdACDk0dNCE7dQDDqTuRd+L9MXiYzLDtNifUprctvk+qLDqzMckSrxrjTB/XA97RBAYYDqwiiG1uWfx7qfRvrMdJj5giz+bOlDz4rtOEytONirY2hiQPi0X8OK3yd5l8GjLy7IpeLPAo5dbR8MuTwg7DUg8w+G/cjQBX++LYvm9ZxhGtOhMri9o265uHZ9OsFWTjo0HZUTRfLl0ETapFXGr42LBN/mZBYvKmkVYzSLmIi7wdNulkwDqTwwDpC4TEHdJzYpbMaRvafeoclOWzPjdA4m4BoXRHp2/13Magb362MBdqhYay+r1eKhg1JznMTG66AK9fYFHhkPoYL/b9g8b3QWllClxko2NMYEyPljeK4ktSNt0wGWfqoIt151ZTGWvjq9sXwWypsSz9Al7iTAfw= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: einfochips.com X-MS-Exchange-CrossTenant-Network-Message-Id: 552fcc4e-74a7-4dff-ebd5-08d6a852347a X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Mar 2019 07:53:53.9218 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0adb040b-ca22-4ca6-9447-ab7b049a22ff X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR02MB3847 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello , shrink_page_list() returns , number of pages reclaimed, when pages is unevi= ctable it returns VM_BUG_ON_PAGE(PageLRU(page) || PageUnevicatble(page),pag= e); We can add the unevictable pages in reclaim list in shrink_page_list(), ret= urn total number of reclaim pages including unevictable pages, let the call= er handle unevictable pages. Regards, Pankaj ***************************************************************************= ***************************************************************************= ******* eInfochips Business Disclaimer: This e-mail message and all attachm= ents transmitted with it are intended solely for the use of the addressee a= nd may contain legally privileged and confidential information. If the read= er of this message is not the intended recipient, or an employee or agent r= esponsible for delivering this message to the intended recipient, you are h= ereby notified that any dissemination, distribution, copying, or other use = of this message or its attachments is strictly prohibited. If you have rece= ived this message in error, please notify the sender immediately by replyin= g to this message and please delete it from your computer. Any views expres= sed in this message are those of the individual sender unless otherwise sta= ted. Company has taken enough precautions to prevent the spread of viruses.= However the company accepts no liability for any damage caused by any viru= s transmitted by this email. **********************************************= ***************************************************************************= ************************************