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: Mon, 09 Mar 2026 08:23:09 +1000 Message-ID: In-Reply-To: <20260306-ttm_bo_swapout_test-v1-1-aaab11091ee0@igalia.com> References: <20260306-ttm_bo_swapout_test-v1-1-aaab11091ee0@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-09T08:23:09.150307 --- This is a single-patch series that adds a KUnit test for `ttm_bo_swapout`. The test is well-motivated: the commit message explains that a previous swapout test was removed (commit 76689eb52667) because it was unreliable, and this new test takes a simpler, more direct approach by calling `ttm_bo_swapout` on a single BO rather than trying to trigger it indirectly through memory pressure. The test was validated by detecting a real UAF bug. The patch is clean and follows the existing test patterns in the file. **Verdict: Looks good overall, with a couple of minor observations.** --- Generated by Claude Code Patch Reviewer