Mark misc filters as re-entrant.
Make level filters use the new allocation API and mark them re-entrant.