[PATCH -v3 0/3] resource: Fix region_intersects() vs add_memory_driver_managed()
From: Huang Ying
Date: Thu Sep 05 2024 - 23:09:28 EST
The patchset fixes a bug of region_intersects() for systems with CXL
memory. The details of the bug can be found in [1/3]. To avoid
similar bugs in the future. A kunit test case for region_intersects()
is added in [3/3]. [2/3] is a preparation patch for [3/3].
Changelogs:
v3:
- Revise the patch subject, description and comments, Thanks Bjorn,
Andy, David, and Dan!
- Added a kunit test case.
- Fixed several coding style issues, Thanks Andy!
- Link to v2: https://lore.kernel.org/linux-mm/20240819023413.1109779-1-ying.huang@xxxxxxxxx/
v2:
- Fix a bug which occurs when descendant of a matched resource matches.
- Revise the patch description and comments to make the algorithm clearer.
Thanks Dan and David's comments!
- Link to v1: https://lore.kernel.org/linux-mm/20240816020723.771196-1-ying.huang@xxxxxxxxx/
Best Regards,
Huang, Ying