Re: [PATCH v2] zsmalloc: Add Kconfig for enabling PTE method

2013-02-18 Thread Seth Jennings
On 02/17/2013 12:19 AM, Ric Mason wrote: > On 02/06/2013 10:17 AM, Minchan Kim wrote: >> Zsmalloc has two methods 1) copy-based and 2) pte-based to access >> allocations that span two pages. You can see history why we supported >> two approach from [1]. >> >> In summary, copy-based method is 3 time

RE: [PATCH v2] zsmalloc: Add Kconfig for enabling PTE method

2013-02-18 Thread Dan Magenheimer
ubject: Re: [PATCH v2] zsmalloc: Add Kconfig for enabling PTE method > > On 02/06/2013 10:17 AM, Minchan Kim wrote: > > Zsmalloc has two methods 1) copy-based and 2) pte-based to access > > allocations that span two pages. You can see history why we supported > > two appr

Re: [PATCH v2] zsmalloc: Add Kconfig for enabling PTE method

2013-02-16 Thread Ric Mason
On 02/06/2013 10:17 AM, Minchan Kim wrote: Zsmalloc has two methods 1) copy-based and 2) pte-based to access allocations that span two pages. You can see history why we supported two approach from [1]. In summary, copy-based method is 3 times fater in x86 while pte-based is 6 times faster in ARM

Re: [PATCH v2] zsmalloc: Add Kconfig for enabling PTE method

2013-02-06 Thread Minchan Kim
On Wed, Feb 06, 2013 at 10:47:16AM -0600, Seth Jennings wrote: > On 02/05/2013 08:17 PM, Minchan Kim wrote: > > Zsmalloc has two methods 1) copy-based and 2) pte-based to access > > allocations that span two pages. You can see history why we supported > > two approach from [1]. > > > > In summary,

Re: [PATCH v2] zsmalloc: Add Kconfig for enabling PTE method

2013-02-06 Thread Seth Jennings
On 02/05/2013 08:17 PM, Minchan Kim wrote: > Zsmalloc has two methods 1) copy-based and 2) pte-based to access > allocations that span two pages. You can see history why we supported > two approach from [1]. > > In summary, copy-based method is 3 times fater in x86 while pte-based > is 6 times fas

Re: [PATCH v2] zsmalloc: Add Kconfig for enabling PTE method

2013-02-05 Thread Minchan Kim
On Tue, Feb 05, 2013 at 06:28:54PM -0800, Greg Kroah-Hartman wrote: > On Wed, Feb 06, 2013 at 11:17:08AM +0900, Minchan Kim wrote: > > diff --git a/drivers/staging/zsmalloc/Kconfig > > b/drivers/staging/zsmalloc/Kconfig > > index 9084565..232b3b6 100644 > > --- a/drivers/staging/zsmalloc/Kconfig >

Re: [PATCH v2] zsmalloc: Add Kconfig for enabling PTE method

2013-02-05 Thread Greg Kroah-Hartman
On Wed, Feb 06, 2013 at 11:17:08AM +0900, Minchan Kim wrote: > diff --git a/drivers/staging/zsmalloc/Kconfig > b/drivers/staging/zsmalloc/Kconfig > index 9084565..232b3b6 100644 > --- a/drivers/staging/zsmalloc/Kconfig > +++ b/drivers/staging/zsmalloc/Kconfig > @@ -8,3 +8,15 @@ config ZSMALLOC >

[PATCH v2] zsmalloc: Add Kconfig for enabling PTE method

2013-02-05 Thread Minchan Kim
Zsmalloc has two methods 1) copy-based and 2) pte-based to access allocations that span two pages. You can see history why we supported two approach from [1]. In summary, copy-based method is 3 times fater in x86 while pte-based is 6 times faster in ARM. But it was bad choice that adding hard cod