I don't think this is related to THP although I see what you're doing.It should be handled on its own. I'd also wonder if some of the tg3failures are due to MIGRATE_RESERVE not being set properly whenmin_free_kbytes is automatically resized.