Re: [PATCH v2] pci/switchtec: Don't use completion's wait queue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 02/11/17 12:05 PM, Sebastian Andrzej Siewior wrote:
On 2017-11-02 11:23:16 [-0600], Logan Gunthorpe wrote:

Well, you clearly didn't read the article I sent or even what I said. But

I did, I just didn't manage to make the link.
The futex example looks like compiler optimisation which should not have
happen and would be ideal for READ_ONCE, yes. But this is not the case
here and this is what I pointed out.

And you still missed what I said and the entire point of the article.

See 7c34e3180a01 ("sched/completion: Add lock-free checking of the
blocking case")

Sounds questionable. I don't see how that function could be inlined, even then.

Logan



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux