Hi,<br><br>Thanks for these patches. Currently I am unable to look into these patches in detail however I will get to them very soon.<br><br>However, we now aim ccaching for (typically swapless) embedded devices _only_ since it has IMHO lost its significance on desktop/server systems. So, we no longer require page-cache compression since reading from flash storage is fast. Only anonymous page compression is now required because of slow write speeds on flash devices and wear levelling issue. We do not even require capability to move compressed anon pages to swap as real swap does not even exist on typical embedded devices (or do not want to swap to flash storage because of above reasons).
<br><br>Considering above, we can think of many simplifications to existing ccaching code which will make it much more light weight and much more suitable for inclusion in mainline.<br><br>So, currently I am working on a new allocator that significantly reduces metadata overhead and should give better performance! I will try to keep it generic enough to be included in mainline without any references to ccaching. If this allocator goes mainline and with LZO now already there, ccache project will reduce to simple use of exported APIs and much more likely to be included in mainline.
<br><br>I will try and post prototype code for above and new roadmap soon and then we can collaborate on that :)<br><br>Cheers,<br>Nitin<br><br>