Re: rhashtable: Use __vmalloc with GFP_ATOMIC for table allocation

From: David Miller
Date: Mon Dec 07 2015 - 14:30:01 EST


From: Thomas Graf <tgraf@xxxxxxx>
Date: Mon, 7 Dec 2015 16:35:24 +0100

> Did you look into what __vmalloc prevents to work with BH disabled?

You can't issue the cross-cpu TLB flushes from atomic contexts.
It's the kernel page table updates that create the restriction.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/