[PATCH 6.17 064/184] mm: dont spin in add_stack_record when gfp flags dont allow