mbox series

[0/2] mm: optimize shadow entries removal

Message ID 20240911173801.4025422-1-shakeel.butt@linux.dev (mailing list archive)
Headers show
Series mm: optimize shadow entries removal | expand

Message

Shakeel Butt Sept. 11, 2024, 5:37 p.m. UTC
Some of our production workloads which processes a large amount of data
spends considerable amount of CPUs on truncation and invalidation of
large sized files (100s of GiBs of size). Tracing the operations showed
that most of the time is in shadow entries removal. This patch series
optimizes the truncation and invalidation operations.

(This is 6.13+ material)

Shakeel Butt (2):
  mm: optimize truncation of shadow entries
  mm: optimize invalidation of shadow entries

 mm/truncate.c | 96 ++++++++++++++++++++++-----------------------------
 1 file changed, 41 insertions(+), 55 deletions(-)