* + mm-memoryc-fix-comment-of-finish_mkwrite_fault.patch added to -mm tree
@ 2021-05-13 19:10 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2021-05-13 19:10 UTC (permalink / raw)
To: akpm, liu.xiang, mm-commits
The patch titled
Subject: mm/memory.c: fix comment of finish_mkwrite_fault()
has been added to the -mm tree. Its filename is
mm-memoryc-fix-comment-of-finish_mkwrite_fault.patch
This patch should soon appear at
https://ozlabs.org/~akpm/mmots/broken-out/mm-memoryc-fix-comment-of-finish_mkwrite_fault.patch
and later at
https://ozlabs.org/~akpm/mmotm/broken-out/mm-memoryc-fix-comment-of-finish_mkwrite_fault.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Liu Xiang <liu.xiang@zlingsmart.com>
Subject: mm/memory.c: fix comment of finish_mkwrite_fault()
Fix the return value in comment of finish_mkwrite_fault().
Link: https://lkml.kernel.org/r/20210513093931.15234-1-liu.xiang@zlingsmart.com
Signed-off-by: Liu Xiang <liu.xiang@zlingsmart.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/memory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/mm/memory.c~mm-memoryc-fix-comment-of-finish_mkwrite_fault
+++ a/mm/memory.c
@@ -3035,7 +3035,7 @@ oom:
* The function expects the page to be locked or other protection against
* concurrent faults / writeback (such as DAX radix tree locks).
*
- * Return: %VM_FAULT_WRITE on success, %0 when PTE got changed before
+ * Return: %0 on success, %VM_FAULT_NOPAGE when PTE got changed before
* we acquired PTE lock.
*/
vm_fault_t finish_mkwrite_fault(struct vm_fault *vmf)
_
Patches currently in -mm which might be from liu.xiang@zlingsmart.com are
mm-memoryc-fix-comment-of-finish_mkwrite_fault.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-13 19:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-13 19:10 + mm-memoryc-fix-comment-of-finish_mkwrite_fault.patch added to -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).