Messages in this thread |  | | Date | Mon, 18 May 2026 14:33:14 -0700 | | From | Andrew Morton <> | | Subject | Re: [PATCH v2] lib/test_hmm: Check alloc_page_vma() return value |
| |
On Mon, 18 May 2026 11:19:03 +0800 liuqiangneo@163.com wrote:
> Return VM_FAULT_OOM if page allocation fails, which > avoids a NULL pointer dereference when calling lock_page().
Patch looks good to me, but AI review is saying that two of the calling functions are junk, and should be taught to handle callee errors: https://sashiko.dev/#/patchset/20260518031903.63455-1-liuqiangneo@163.com
|  |