Files
android_kernel_fxtec_sm6115/include/linux
Matthew Wilcox d9800a96cb UPSTREAM: XArray: Fix xa_release in allocating arrays
xa_cmpxchg() was a little too magic in turning ZERO entries into NULL,
and would leave the entry set to the ZERO entry instead of releasing
it for future use.  After careful review of existing users of
xa_cmpxchg(), change the semantics so that it does not translate either
incoming argument from NULL into ZERO entries.

Add several tests to the test-suite to make sure this problem doesn't
come back.

Reported-by: Jason Gunthorpe <jgg@ziepe.ca>
Change-Id: I846221b090e9e1ea678c17f9363f6f0ad2fd2f91
Signed-off-by: Matthew Wilcox <willy@infradead.org>
2026-05-31 11:15:39 +01:00
..
2026-04-09 14:44:43 +08:00
2025-08-31 10:10:00 +01:00
2025-09-30 21:35:03 +01:00
2026-01-29 12:09:34 +08:00
2025-09-16 13:55:10 +02:00
2025-08-28 03:26:18 +03:00