Re: [PATCH 34/33] netfs: Use in_interrupt() not in_softirq()

From
Christoph Hellwig <hch@lst.de>
Date
2021-02-16 09:32:11
Also in
ceph-devel, linux-cifs, linux-fsdevel, linux-mm, lkml
Reply to
David Howells, 2021-02-16
On Tue, Feb 16, 2021 at 09:29:31AM +0000, David Howells wrote:
Is there a better way to do it?  The intent is to process the assessment phase
in the calling thread's context if possible rather than bumping over to a
worker thread.  For synchronous I/O, for example, that's done in the caller's
thread.  Maybe that's the answer - if it's known to be asynchronous, I have to
punt, but otherwise don't have to.
Yes, i think you want an explicit flag instead.
Thread (69 messages) 69 messages, 9 authors, last reply 2021-02-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help