]> www.infradead.org Git - users/willy/xarray.git/commit
mm: Microoptimise truncate xarray calls xarray-conv
authorMatthew Wilcox <willy@infradead.org>
Tue, 12 Mar 2019 18:52:01 +0000 (14:52 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 9 Aug 2019 01:38:19 +0000 (21:38 -0400)
commit440770944c0f8988fd09fe0698ab14fd023c35db
tree527d47be0cd520fc3f1e63a8cb430b36eb7209fd
parent9cc4aa812ae6bbcba21ecefaf9d6f68f87c97183
mm: Microoptimise truncate xarray calls

By passing the xa_state to __clear_shadow_entry(), we can set up the
xa_state once per batch instead of once per shadow entry.  This only
has a tiny effect on Jan's benchmark, but it has no downside.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
mm/truncate.c