Dcache_lock replacement