[PATCH RFC 0/2] mm/page_alloc: free_pcppages_bulk safeguard

From: Chris Li
Date: Fri Aug 18 2023 - 02:07:20 EST


In this patch series I want to safeguard
the free_pcppage_bulk against change in the
pcp->count outside of this function. e.g.
by BPF program inject on the function tracepoint.

I break up the patches into two seperate patches
for the safeguard and clean up.

Hopefully that is easier to review.

Signed-off-by: Chris Li <chrisl@xxxxxxxxxx>
---
Chris Li (2):
mm/page_alloc: safeguard free_pcppages_bulk
mm/page_alloc: free_pcppages_bulk clean up

mm/page_alloc.c | 44 +++++++++++++-------------------------------
1 file changed, 13 insertions(+), 31 deletions(-)
---
base-commit: 5fb2ea3111f4ecc6dc4891ce5b00f0217aae9a04
change-id: 20230817-free_pcppages_bulk-facc18d6fee7

Best regards,
--
Chris Li <chrisl@xxxxxxxxxx>