I am aware that sync command flushes the dirty cache into disk. I have run free command first, then sync, and then free again. The result of latter free command shows more free memory available than the former one.
Does this mean that the dirty caches are removed from memory when performing sync? Can anybody give me a more solid proof?