Re: [yocto] [PATCH 1/1] mm: msync: fix the behaviour msync on tmpfs

2011-12-21 Thread Zumeng Chen
于 2011年12月21日 23:38, Bruce Ashfield 写道: On 11-12-21 10:24 AM, zumeng.chen wrote: This patch has been validated by the following commands on both CPUs with or without cache alias, which is for http://bugzilla.pokylinux.org/show_bug.cgi?id=1429 Glad to see this. I was composing an email that ha

Re: [yocto] [PATCH 1/1] mm: msync: fix the behaviour msync on tmpfs

2011-12-21 Thread Bruce Ashfield
On 11-12-21 10:24 AM, zumeng.chen wrote: This patch has been validated by the following commands on both CPUs with or without cache alias, which is for http://bugzilla.pokylinux.org/show_bug.cgi?id=1429 Glad to see this. I was composing an email that had just this question. Which bug, and whic

Re: [yocto] [PATCH 1/1] mm: msync: fix the behaviour msync on tmpfs

2011-12-21 Thread zumeng.chen
This patch has been validated by the following commands on both CPUs with or without cache alias, which is for http://bugzilla.pokylinux.org/show_bug.cgi?id=1429 root@routerstationpro:~# dmesg|grep alias Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes root@routerstationpro

[yocto] [PATCH 1/1] mm: msync: fix the behaviour msync on tmpfs

2011-12-21 Thread Zumeng Chen
For tmpfs, no matter which flag(ASYNC or SYNC) gets from msync, there is not so much thing to do for CPUs without cache alias, But for some CPUs with cache alias, msync has to flush cache explicitly, which makes sure the data coherency between memory file and cache. Signed-off-by: Zumeng Chen ---