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 some region un-cached , we can use
O_SYNC flag for that.
But I am gettign the same bahavior as cached even after using O_SYNC
flag. ( I did not evne used a mix , I just made a memory cached and
used O_SYNC flag to use it as uncached , but the behavior I got was of
cached )

In POSIX , we have 3 flags O_SYNC, O_RSYNC , O_DSYNC and Linux
actually only supports O_SYNC and Linux's O_SYNC is actually POSIX
O_DSYNC.


Is that the reason O_SYNC may not be working fine to make memory
uncached ?

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel
-~----------~----~----~----~------~----~------~--~---

Reply via email to