fix t_fdfill so it does not use much kernel side resources