[android-kernel] How is the timer configured and what is the resolution?

2012-03-24 Thread kc
Hi, I have a few question about the kernel timer. I wonder what is the actual resolution of do_gettimeofday()? is it true that the time is updated when there is timer interrupt? would anyone point me to the code configuring this timer which decide how frequent the interrupt happens? thanks!! -

[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
ata is NOT cacheable when call these functions? Thanks! kc -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel