linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pankaj Suryawanshi <pankaj.suryawanshi@einfochips.com>
To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Cc: "minchan@kernel.org" <minchan@kernel.org>
Subject: vmscan: Reclaim unevictable pages
Date: Thu, 14 Mar 2019 07:53:53 +0000	[thread overview]
Message-ID: <SG2PR02MB309806967AE91179CAFEC34BE84B0@SG2PR02MB3098.apcprd02.prod.outlook.com> (raw)
In-Reply-To: <SG2PR02MB3098A05E09B0D3F3CB1C3B9BE84B0@SG2PR02MB3098.apcprd02.prod.outlook.com>


Hello ,

shrink_page_list() returns , number of pages reclaimed, when pages is unevictable it returns VM_BUG_ON_PAGE(PageLRU(page) || PageUnevicatble(page),page);

We can add the unevictable pages in reclaim list in shrink_page_list(), return total number of reclaim pages including unevictable pages, let the caller handle unevictable pages.

Regards,
Pankaj
************************************************************************************************************************************************************* eInfochips Business Disclaimer: This e-mail message and all attachments transmitted with it are intended solely for the use of the addressee and may contain legally privileged and confidential information. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to this message and please delete it from your computer. Any views expressed in this message are those of the individual sender unless otherwise stated. Company has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email. *************************************************************************************************************************************************************

       reply	other threads:[~2019-03-14  7:54 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <SG2PR02MB3098A05E09B0D3F3CB1C3B9BE84B0@SG2PR02MB3098.apcprd02.prod.outlook.com>
2019-03-14  7:53 ` Pankaj Suryawanshi [this message]
2019-03-14  8:23   ` vmscan: Reclaim unevictable pages Pankaj Suryawanshi
2019-03-14  8:41     ` Michal Hocko
2019-03-14  8:52       ` [External] " Pankaj Suryawanshi
2019-03-14  9:25         ` Kirill Tkhai
2019-03-14 11:09           ` Pankaj Suryawanshi
2019-03-14 13:44             ` Pankaj Suryawanshi
2019-03-15  6:05               ` Pankaj Suryawanshi
2019-03-15 10:11                 ` Pankaj Suryawanshi
2019-03-18  7:45                   ` Pankaj Suryawanshi
2019-03-18  8:56                     ` Pankaj Suryawanshi
2019-03-18  8:42                   ` [External] " Vlastimil Babka
2019-03-18  9:09                     ` Pankaj Suryawanshi
2019-03-18  9:33                       ` Kirill Tkhai
2019-03-18  9:43                         ` Pankaj Suryawanshi
2019-03-18  9:47                           ` Kirill Tkhai
2019-03-18  9:59                             ` Pankaj Suryawanshi
2019-03-18 10:38                               ` Kirill Tkhai
2019-03-20  6:48                                 ` Pankaj Suryawanshi
2019-03-26  7:53                                   ` Pankaj Suryawanshi
2019-03-26  9:01                                     ` Michal Hocko
2019-03-26  9:12                                       ` Pankaj Suryawanshi
2019-03-26  9:16                                       ` Pankaj Suryawanshi
2019-03-26  9:36                                         ` Michal Hocko
2019-03-29  5:29                                           ` Pankaj Suryawanshi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SG2PR02MB309806967AE91179CAFEC34BE84B0@SG2PR02MB3098.apcprd02.prod.outlook.com \
    --to=pankaj.suryawanshi@einfochips.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=minchan@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).