Ghost buffer management