Linux implementation of AFCD