Skip to contentSkip to conversation

sched/mmcid: fix per-CPU CID ownership leak in sched_mm_cid_exit()

PATCH Dominik Maier 1 participant 1 message Nov 19 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 87cxsfwkm7.ffs@fw13

#1 lore raw

Hi Thomas,

Thank you for taking a look on November 8 and for pointing us to your broader rework at:

https://lore.kernel.org/all/87mrs8bhp4.ffs@fw13

Apologies as well for the two process mistakes in our original
submission: omitting [email protected] from Cc, and including the removed Assisted-by: tag instead of describing the tooling and validation in plain English in the changelog. We have corrected our workflow on both counts.

Re-initializing the MM CID state explicitly across execve() rather than relying on the last-user exit path in sched_mm_cid_exit() is much cleaner. We will test your explicit exec re-initialization approach against our reproducer in QEMU/KVM and follow up directly on that thread with test results.

Best regards,
Dominik