On Sunday, 29 November 2026 16:44 宋沛泽 wrote: > Cover allocation pressure when the only evictable buffer object's > reservation lock is held by another thread. Fill the mock VRAM manager > with one unpinned BO and initialize the requesting BO in system memory. > > Coordinate the lock holder with completions. With no ww acquisition > ticket and the default allocation flags, check that ttm_bo_validate() > returns -ENOMEM while both resources, their memory types, manager usage, > and bytes_moved remain unchanged. Release and join the holder, then > repeat the same validation and check that eviction and allocation > succeed. Join the worker before destroying either BO on every exit path. > > This covers reservation-lock contention without changing the mock move > implementation or production behavior. > > AI assistance: OpenAI Codex generated this test and description, traced > the existing error and cleanup paths, and orchestrated the build and > KUnit validation. The task was to test a sole busy eviction candidate, > check the public errno and unchanged resources, and verify success after > clearing the busy condition. Human review and DCO certification remain > the submitter's responsibility.
Meh. I assumed that someone who had the decency to ask whether the todo item was free wouldn't just throw the task at an LLM. :/ I'd rather keep the todo items for human contributors looking to learn about TTM. Natalie
