Re: [android-kernel] How to allocate memory which can be specified as NON-cacheable?

2012-02-23 Thread Vladimir Murzin
, 17 Feb 2012 18:55:24 To: Android Linux Kernel Development Reply-To: android-kernel@googlegroups.com Subject: [android-kernel] How to allocate memory which can be specified as NON-cacheable? Hi, I want allocate non-cacheable physical memory for usage in the driver, (ie. I don't want the

[android-kernel] How to allocate memory which can be specified as NON-cacheable?

2012-02-23 Thread kc
Hi, I want allocate non-cacheable physical memory for usage in the driver, (ie. I don't want the data being cached into the CPU's data cache when the data are accessed) how could I do this? there are functions like kmalloc(), get_free_pages, vmalloc, etc, but how could specify the data is NOT cac

[android-kernel] How to allocate memory which can be specified as NON-cacheable?

2012-02-23 Thread kc
Hi, I want allocate non-cacheable physical memory for usage in the driver, (ie. I don't want the data being cached into the CPU's data cache when the data are accessed) how could I do this? there are functions like kmalloc(), get_free_pages, vmalloc, etc, but how could specify the data is NOT cac