Re: [arc-linux-dev] Re: New helper to free highmem pages in larger chunks

2015-10-06 Thread Vineet Gupta
On Tuesday 06 October 2015 11:06 AM, Vineet Gupta wrote: > On Tuesday 06 October 2015 03:40 AM, Andrew Morton wrote: >> On Sat, 3 Oct 2015 18:25:13 +0530 Vineet Gupta >> wrote: >> >>> Hi, >>> >>> I noticed increased boot time when enabling highmem for ARC. Turns out that >>> freeing highmem

Re: [arc-linux-dev] Re: New helper to free highmem pages in larger chunks

2015-10-06 Thread Vineet Gupta
On Tuesday 06 October 2015 11:06 AM, Vineet Gupta wrote: > On Tuesday 06 October 2015 03:40 AM, Andrew Morton wrote: >> On Sat, 3 Oct 2015 18:25:13 +0530 Vineet Gupta >> wrote: >> >>> Hi, >>> >>> I noticed increased boot time when enabling highmem for ARC. Turns out

Re: New helper to free highmem pages in larger chunks

2015-10-05 Thread Vineet Gupta
On Tuesday 06 October 2015 03:40 AM, Andrew Morton wrote: > On Sat, 3 Oct 2015 18:25:13 +0530 Vineet Gupta > wrote: > >> Hi, >> >> I noticed increased boot time when enabling highmem for ARC. Turns out that >> freeing highmem pages into buddy allocator is done page at a time, while it >> is >>

Re: New helper to free highmem pages in larger chunks

2015-10-05 Thread Andrew Morton
On Sat, 3 Oct 2015 18:25:13 +0530 Vineet Gupta wrote: > Hi, > > I noticed increased boot time when enabling highmem for ARC. Turns out that > freeing highmem pages into buddy allocator is done page at a time, while it is > batched for low mem pages. Below is call flow. > > I'm thinking of

Re: New helper to free highmem pages in larger chunks

2015-10-05 Thread Vineet Gupta
On Tuesday 06 October 2015 03:40 AM, Andrew Morton wrote: > On Sat, 3 Oct 2015 18:25:13 +0530 Vineet Gupta > wrote: > >> Hi, >> >> I noticed increased boot time when enabling highmem for ARC. Turns out that >> freeing highmem pages into buddy allocator is done page at

Re: New helper to free highmem pages in larger chunks

2015-10-05 Thread Andrew Morton
On Sat, 3 Oct 2015 18:25:13 +0530 Vineet Gupta wrote: > Hi, > > I noticed increased boot time when enabling highmem for ARC. Turns out that > freeing highmem pages into buddy allocator is done page at a time, while it is > batched for low mem pages. Below is call

New helper to free highmem pages in larger chunks

2015-10-03 Thread Vineet Gupta
Hi, I noticed increased boot time when enabling highmem for ARC. Turns out that freeing highmem pages into buddy allocator is done page at a time, while it is batched for low mem pages. Below is call flow. I'm thinking of writing free_highmem_pages() which takes start and end pfn and want to

New helper to free highmem pages in larger chunks

2015-10-03 Thread Vineet Gupta
Hi, I noticed increased boot time when enabling highmem for ARC. Turns out that freeing highmem pages into buddy allocator is done page at a time, while it is batched for low mem pages. Below is call flow. I'm thinking of writing free_highmem_pages() which takes start and end pfn and want to