On Tue, 2017-05-16 at 14:56 +0530, Aneesh Kumar K.V wrote: > +static inline pte_t *find_linux_pte(pgd_t *pgdir, unsigned long ea, > + bool *is_thp, unsigned *hshift) > +{ > + VM_WARN((!arch_irqs_disabled() && !__hard_irqs_disabled()) , > + "%s called with irq enabled\n", __func__); > + return __find_linux_pte(pgdir, ea, is_thp, hshift); > +} > +
When is arch_irqs_disabled() not sufficient ? Cheers, Ben.