Re: Android 3G/1G memory split required? was: Re: CMA vs HIGHMEM issue

2011-12-20 Thread David Brown
On Tue, Dec 20, 2011 at 07:16:56PM +, Jon Medhurst (Tixy) wrote: > On Tue, 2011-12-20 at 12:45 -0600, Xianghua Xiao wrote: > > where does it mandate 3G/1G in Android? > > > > we're planning to use 2G/2G split as well, but I'm unaware of the > > 3G/1G requirement in Android, seems odd to me. >

Android 3G/1G memory split required? was: Re: CMA vs HIGHMEM issue

2011-12-20 Thread Jon Medhurst (Tixy)
On Tue, 2011-12-20 at 12:45 -0600, Xianghua Xiao wrote: > where does it mandate 3G/1G in Android? > > we're planning to use 2G/2G split as well, but I'm unaware of the > 3G/1G requirement in Android, seems odd to me. I think there are some user libraries (bionic?, dalvik?) which are hard coded to

Re: CMA vs HIGHMEM issue

2011-12-20 Thread Xianghua Xiao
where does it mandate 3G/1G in Android? we're planning to use 2G/2G split as well, but I'm unaware of the 3G/1G requirement in Android, seems odd to me. Thanks, Xianghua On Tue, Dec 20, 2011 at 10:48 AM, Jon Medhurst (Tixy) wrote: > On Tue, 2011-12-20 at 15:44 +0800, Andy Green wrote: >> but yo

RE: CMA vs HIGHMEM issue

2011-12-20 Thread Marek Szyprowski
Hello, On Tuesday, December 20, 2011 4:45 PM Arnd Bergmann wrote: > On Tuesday 20 December 2011, Andy Green wrote: > > but your suggestion is more elegant. I'm unsure of the ramifications of > > the 2G / 2G scheme so I'll give it a try later. > > WFIW, the main reason why people don't want the

Re: CMA vs HIGHMEM issue

2011-12-20 Thread Jon Medhurst (Tixy)
On Tue, 2011-12-20 at 15:44 +0800, Andy Green wrote: > but your suggestion is more elegant. I'm unsure of the ramifications of > the 2G / 2G scheme so I'll give it a try later. Android requires a 3G/1G split. (That may, or may not be relevent.) -- Tixy ___

Re: CMA vs HIGHMEM issue

2011-12-20 Thread Arnd Bergmann
On Tuesday 20 December 2011, Andy Green wrote: > but your suggestion is more elegant. I'm unsure of the ramifications of > the 2G / 2G scheme so I'll give it a try later. WFIW, the main reason why people don't want the 2G/2G split is to allow user space application to grow to 3GB instead of limi

Re: CMA vs HIGHMEM issue

2011-12-19 Thread Andy Green
On 12/20/2011 03:38 PM, Somebody in the thread at some point said: Hi - Is it expected CMA and high memory should work OK? I see there's a note in the CMA log about "implement support for contiguous memory areas placed in HIGHMEM zone", but it's ambiguous if it should be ignoring highmem or is

RE: CMA vs HIGHMEM issue

2011-12-19 Thread Marek Szyprowski
Hello Andy, On Tuesday, December 20, 2011 2:56 AM You wrote: > I recently brought in v 15 (and then v 17) of the CMA patches on > tilt-tracking and backported to tilt-3.1 in order to support Panda > onboard camera. > > Without any highmem, stuff is working great, but with HIGHMEM, inclusion > of