mempool: do not overwrite same per-cpu values
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 18 Mar 2024 15:04:56 +0000 (11:04 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 18 Mar 2024 15:04:56 +0000 (11:04 -0400)
commit1b6581912b6642925fa73ea5f26f388379800eba
treec80094de3a2021c1df073fadf796bb6269c1b842
parent855b8e69f8f1c76d3d3c0ba05d4607befb64ab28
mempool: do not overwrite same per-cpu values

If the per-cpu items already have the correct values, do not write to
the pages. This eliminates useless COW in populate-all pools over the
zero page.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I4e47db82ccf15c3cca30a8df48d367cbc05f3887
src/rseq-mempool.c
This page took 0.025099 seconds and 4 git commands to generate.