Message ID | 20230915183707.2707298-1-willy@infradead.org (mailing list archive) |
---|---|
Headers | show |
Series | Add folio_end_read | expand |
On Fri, 15 Sept 2023 at 11:37, Matthew Wilcox (Oracle) <willy@infradead.org> wrote: > > I don't have any performance numbers; I'm hoping Nick might provide some > since PPC seems particularly unhappy with write-after-write hazards. I suspect you can't see the extra atomic in the IO paths. The existing trick with bit #7 is because we do a lot of page_lock/unlock pairs even when there is no actual IO. So it's worth it because page_unlock() really traditionally shows up quite a bit. But once you actually do IO, I think the effect is not measurable. That said, the series doesn't look *wrong*, although I did note a few things that just made me go "that looks very strange to me" in there. Linus