On Sat, 20 Jun 2020, Herbert Xu wrote: > On Fri, Jun 19, 2020 at 02:39:39PM -0400, Mikulas Patocka wrote: > > > > I'm looking at this and I'd like to know why does the crypto API fail in > > hard-irq context and why does it work in tasklet context. What's the exact > > reason behind this? > > You're not supposed to do any real work in IRQ handlers. All > the substantial work should be postponed to softirq context. I see. BTW - should it also warn if it is running in a process context with interrupts disabled? Mikulas > Why do you need to do work in hard IRQ context? > > Cheers, > -- > Email: Herbert Xu <[email protected]> > Home Page: http://gondor.apana.org.au/~herbert/ > PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt > -- dm-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/dm-devel
- [dm-devel] [RFC PATCH 0/1] dm-crypt excessive overhead Ignat Korchagin
- Re: [dm-devel] [RFC PATCH 0/1] dm-crypt excessive ove... Mike Snitzer
- Re: [dm-devel] [RFC PATCH 0/1] dm-crypt excessive... Mikulas Patocka
- Re: [dm-devel] [RFC PATCH 0/1] dm-crypt exces... Herbert Xu
- Re: [dm-devel] [RFC PATCH 0/1] dm-crypt e... Mikulas Patocka
- Re: [dm-devel] [RFC PATCH 0/1] dm-cr... Ignat Korchagin
- Re: [dm-devel] [RFC PATCH 0/1] dm-crypt e... Mike Snitzer
- Re: [dm-devel] [RFC PATCH 0/1] dm-cr... Ignat Korchagin
- Re: [dm-devel] [RFC PATCH 0/1] d... Herbert Xu
- Re: [dm-devel] [RFC PATCH 0/1] dm-crypt exces... Ignat Korchagin
- Re: [dm-devel] [RFC PATCH 0/1] dm-crypt excessive... Damien Le Moal
- Re: [dm-devel] [RFC PATCH 0/1] dm-crypt exces... Ignat Korchagin
- Re: [dm-devel] [RFC PATCH 0/1] dm-crypt e... Damien Le Moal
- Re: [dm-devel] [RFC PATCH 0/1] dm-crypt exces... Mike Snitzer
- Re: [dm-devel] [RFC PATCH 0/1] dm-crypt e... Mike Snitzer
