public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* calling context of scsi_end_request() always hard IRQ or sometimes different?
@ 2022-05-06 16:57 Jason A. Donenfeld
  2022-05-06 18:19 ` James Bottomley
  0 siblings, 1 reply; 4+ messages in thread
From: Jason A. Donenfeld @ 2022-05-06 16:57 UTC (permalink / raw)
  To: James E.J. Bottomley, Martin K. Petersen, linux-scsi

Hey James, Martin,

I'm in the process of fixing a few issues with the RNG and one thing
that surprised me is that scsi_end_request() appears to be called from
hard IRQ context rather than some worker or soft IRQ as I assumed it
would be. That's fine, and I can deal with it, but what I haven't yet
been able to figure out is whether it's _always_ called from hard IRQ,
or whether it's sometimes from hard IRQ and sometimes not, and so I
should handle both cases in the thing I'm working on?

And if the answer turns out to be, "I don't know; that's really
complicated and..." just say so, and I'll just try to work out the whole
function graph.

Jason

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-06 20:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-06 16:57 calling context of scsi_end_request() always hard IRQ or sometimes different? Jason A. Donenfeld
2022-05-06 18:19 ` James Bottomley
2022-05-06 19:22   ` Jason A. Donenfeld
2022-05-06 20:11     ` James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox