add swap notify support for compcache.