Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-28 Thread Pankaj Suryawanshi
] Re: vmscan: Reclaim unevictable pages On Tue 26-03-19 09:16:11, Pankaj Suryawanshi wrote: > > > From: Michal Hocko > Sent: 26 March 2019 14:31 > To: Pankaj Suryawanshi > Cc: Kirill Tkhai; Vlastimil Babka; aneesh.ku...@linux.ibm.co

Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-26 Thread Michal Hocko
...@kernel.org; linux...@kvack.org; > khand...@linux.vnet.ibm.com > Subject: Re: [External] Re: vmscan: Reclaim unevictable pages > > [You were asked to use a reasonable quoting several times. This is > really annoying because it turns the email thread into a complete mess] > &g

Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-26 Thread Pankaj Suryawanshi
] Re: vmscan: Reclaim unevictable pages [You were asked to use a reasonable quoting several times. This is really annoying because it turns the email thread into a complete mess] [Already fix the email client, but dont know the reason for quoting Maybe account issue.] On Tue 26-03-19 07:53:14

Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-26 Thread Pankaj Suryawanshi
] Re: vmscan: Reclaim unevictable pages [You were asked to use a reasonable quoting several times. This is really annoying because it turns the email thread into a complete mess] I already fix the email client, dont know the reason for quoting. On Tue 26-03-19 07:53:14, Pankaj Suryawanshi wrote

Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-26 Thread Michal Hocko
[You were asked to use a reasonable quoting several times. This is really annoying because it turns the email thread into a complete mess] On Tue 26-03-19 07:53:14, Pankaj Suryawanshi wrote: > Is there anyone who is familiar with this? Please Comment. Not really. You are observing an unexpected

Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-26 Thread Pankaj Suryawanshi
] Re: vmscan: Reclaim unevictable pages From: Kirill Tkhai Sent: 18 March 2019 16:08 To: Pankaj Suryawanshi; Vlastimil Babka; Michal Hocko; aneesh.ku...@linux.ibm.com Cc: linux-kernel@vger.kernel.org; minc...@kernel.org; linux...@kvack.org; khand

Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-19 Thread Pankaj Suryawanshi
] Re: vmscan: Reclaim unevictable pages On 18.03.2019 12:59, Pankaj Suryawanshi wrote: > > From: Kirill Tkhai > Sent: 18 March 2019 15:17:56 > To: Pankaj Suryawanshi; Vlastimil Babka; Michal Hocko; > aneesh.ku...@linux.ibm.com > Cc: linux-kernel@vger.kernel.org; minc...

Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-18 Thread Kirill Tkhai
..@linux.vnet.ibm.com; hillf...@alibaba-inc.com > Subject: Re: [External] Re: vmscan: Reclaim unevictable pages Also, please, avoid irritating quoting like below ^^^. They just distract attention. > On 18.03.2019 12:43, Pankaj Suryawanshi wrote: >> Hi Kirill Tkhai, >>

Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-18 Thread Pankaj Suryawanshi
minc...@kernel.org; linux...@kvack.org; > khand...@linux.vnet.ibm.com; hillf...@alibaba-inc.com > Subject: Re: [External] Re: vmscan: Reclaim unevictable pages >   > > Hi, Pankaj, > > On 18.03.2019 12:09, Pankaj Suryawanshi wrote: >> >> Hello >> >> shrink_

Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-18 Thread Kirill Tkhai
; linux...@kvack.org; > khand...@linux.vnet.ibm.com; hillf...@alibaba-inc.com > Subject: Re: [External] Re: vmscan: Reclaim unevictable pages >   > > Hi, Pankaj, > > On 18.03.2019 12:09, Pankaj Suryawanshi wrote: >> >> Hello >> >> s

Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-18 Thread Pankaj Suryawanshi
To: Pankaj Suryawanshi; Vlastimil Babka; Michal Hocko; aneesh.ku...@linux.ibm.com Cc: linux-kernel@vger.kernel.org; minc...@kernel.org; linux...@kvack.org; khand...@linux.vnet.ibm.com; hillf...@alibaba-inc.com Subject: Re: [External] Re: vmscan: Reclaim unevictable pages   Hi, Pankaj, On 18.03

Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-18 Thread Kirill Tkhai
1. Large size buffer allocation using cma_alloc successful with unevictable > pages. > > cma_alloc of current kernel will fail due to unevictable page > > Please let me know if anything i am missing. > > Regards, > Pankaj > > From: Vlastimil Babka > Sent: 18 M

Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-18 Thread Pankaj Suryawanshi
ent: 18 March 2019 14:12:50 To: Pankaj Suryawanshi; Kirill Tkhai; Michal Hocko; aneesh.ku...@linux.ibm.com Cc: linux-kernel@vger.kernel.org; minc...@kernel.org; linux...@kvack.org; khand...@linux.vnet.ibm.com; hillf...@alibaba-inc.com Subject: Re: [External] Re: vmscan: Reclaim unevictable pages  

Re: vmscan: Reclaim unevictable pages

2019-03-18 Thread Pankaj Suryawanshi
ent: 18 March 2019 13:15:22 To: Kirill Tkhai; Michal Hocko; aneesh.ku...@linux.ibm.com Cc: linux-kernel@vger.kernel.org; minc...@kernel.org; linux...@kvack.org; khand...@linux.vnet.ibm.com; vba...@suse.cz Subject: Re: Re: [External] Re: vmscan: Reclaim unevictable pages It fixes the below issue. 1. La

Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-18 Thread Vlastimil Babka
Tkhai; Michal Hocko > Cc: linux-kernel@vger.kernel.org; minc...@kernel.org; linux...@kvack.org > Subject: Re: Re: [External] Re: vmscan: Reclaim unevictable pages > > > > [ cc linux-mm ] > > > From: Pankaj Suryawanshi > Sent: 14 March 2019 19:14:40 &

Re: Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-18 Thread Pankaj Suryawanshi
.ku...@linux.ibm.com Cc: linux-kernel@vger.kernel.org; minc...@kernel.org; linux...@kvack.org; khand...@linux.vnet.ibm.com; hillf...@alibaba-inc.com; vba...@suse.cz Subject: Re: Re: [External] Re: vmscan: Reclaim unevictable pages [ cc Aneesh kumar, Anshuman, Hillf, Vlastimil] From: Pankaj Suryawan

Re: Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-15 Thread Pankaj Suryawanshi
[ cc Aneesh kumar, Anshuman, Hillf, Vlastimil] From: Pankaj Suryawanshi Sent: 15 March 2019 11:35:05 To: Kirill Tkhai; Michal Hocko Cc: linux-kernel@vger.kernel.org; minc...@kernel.org; linux...@kvack.org Subject: Re: Re: [External] Re: vmscan: Reclaim unevictable pages [ cc linux-mm

Re: Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-14 Thread Pankaj Suryawanshi
[ cc linux-mm ] From: Pankaj Suryawanshi Sent: 14 March 2019 19:14:40 To: Kirill Tkhai; Michal Hocko Cc: linux-kernel@vger.kernel.org; minc...@kernel.org Subject: Re: Re: [External] Re: vmscan: Reclaim unevictable pages Hello , Please ignore the curly braces, they are just for debugging

Re: Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-14 Thread Pankaj Suryawanshi
l(page) || Regards, Pankaj From: Kirill Tkhai Sent: 14 March 2019 14:55:34 To: Pankaj Suryawanshi; Michal Hocko Cc: linux-kernel@vger.kernel.org; minc...@kernel.org Subject: Re: Re: [External] Re: vmscan: Reclaim unevictable pages On 14.03.2019 11:52, Pankaj Suryawanshi wrote: > > I am

Re: Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-14 Thread Pankaj Suryawanshi
; minc...@kernel.org Subject: Re: Re: [External] Re: vmscan: Reclaim unevictable pages 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 vmsc

Re: Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-14 Thread Kirill Tkhai
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

Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-14 Thread Pankaj Suryawanshi
@vger.kernel.org; minc...@kernel.org Subject: [External] Re: vmscan: Reclaim unevictable pages   CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. On Thu 14-03-19 08:23:10, Pankaj

Re: vmscan: Reclaim unevictable pages

2019-03-14 Thread Michal Hocko
unlock_page(page); > +list_add(&page->lru, &ret_pages); > +continue; > > activate_locked: > /* Not a candidate for swapping, so reclaim swap space. */ > > > > > From: Pankaj Suryawanshi > Sent: 1

Re: vmscan: Reclaim unevictable pages

2019-03-14 Thread Pankaj Suryawanshi
ru, &ret_pages); +continue; activate_locked: /* Not a candidate for swapping, so reclaim swap space. */ From: Pankaj Suryawanshi Sent: 14 March 2019 13:23:53 To: linux-kernel@vger.kernel.org Cc: minc...@kernel.org Subject: vmscan: Reclaim unevictable pages Hello ,

vmscan: Reclaim unevictable pages

2019-03-14 Thread Pankaj Suryawanshi
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