[android-kernel] O_SYNC flag doens't make cached memory uncached

2009-10-15 Thread DineshG
If we define a memory as cached in According to comments in android_pmem.h , /* set to indicate maps of this region should be cached, if a mix of * cached and uncached is desired, set this and open the device with * O_SYNC to get an uncached region */ if we want to use a mix and ma

[android-kernel] O_SYNC flag doens't make cached memory uncached

2009-10-15 Thread DineshG
If we define a memory as cached in According to comments in android_pmem.h , /* set to indicate maps of this region should be cached, if a mix of * cached and uncached is desired, set this and open the device with * O_SYNC to get an uncached region */ if we want to use a mix and make