From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: drm/ttm/tests: add a test to exercise ttm_bo_swapout Date: Tue, 10 Mar 2026 12:02:40 +1000 Message-ID: In-Reply-To: <20260309-ttm_bo_swapout_test-v2-1-219f64046cfe@igalia.com> References: <20260309-ttm_bo_swapout_test-v2-1-219f64046cfe@igalia.com> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Overall Series Review Subject: drm/ttm/tests: add a test to exercise ttm_bo_swapout Author: Thadeu Lima de Souza Cascardo Patches: 1 Reviewed: 2026-03-10T12:02:40.219911 --- This is a single-patch series that adds a KUnit test for `ttm_bo_swapout`. The motivation is sound: the function lost test coverage when the previous test was removed (commit 76689eb52667) due to reliability issues with allocating half of system memory. The new approach of directly calling `ttm_bo_swapout` on a single BO avoids that problem entirely and also detected a real UAF bug. The patch is clean, well-structured, and follows the existing test patterns in the file. The patch looks **good and ready to merge**, with only minor observations below. --- Generated by Claude Code Patch Reviewer