* + mm-fix-out-of-date-comments-which-refers-non-existent-functions.patch added to -mm tree
@ 2011-02-09 20:16 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2011-02-09 20:16 UTC (permalink / raw)
To: mm-commits; +Cc: ozaki.ryota
The patch titled
mm: fix out-of-date comments which refers non-existent functions
has been added to the -mm tree. Its filename is
mm-fix-out-of-date-comments-which-refers-non-existent-functions.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/SubmitChecklist when testing your code ***
See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: mm: fix out-of-date comments which refers non-existent functions
From: Ryota Ozaki <ozaki.ryota@gmail.com>
do_file_page() and do_no_page() don't exist anymore, but some comments
still refers them. The patch fixes them by replacing them with existing
ones.
Signed-off-by: Ryota Ozaki <ozaki.ryota@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/memory.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff -puN mm/memory.c~mm-fix-out-of-date-comments-which-refers-non-existent-functions mm/memory.c
--- a/mm/memory.c~mm-fix-out-of-date-comments-which-refers-non-existent-functions
+++ a/mm/memory.c
@@ -2143,10 +2143,10 @@ EXPORT_SYMBOL_GPL(apply_to_page_range);
* handle_pte_fault chooses page fault handler according to an entry
* which was read non-atomically. Before making any commitment, on
* those architectures or configurations (e.g. i386 with PAE) which
- * might give a mix of unmatched parts, do_swap_page and do_file_page
+ * might give a mix of unmatched parts, do_swap_page and do_nonlinear_fault
* must check under lock before unmapping the pte and proceeding
* (but do_wp_page is only called after already making such a check;
- * and do_anonymous_page and do_no_page can safely check later on).
+ * and do_anonymous_page can safely check later on).
*/
static inline int pte_unmap_same(struct mm_struct *mm, pmd_t *pmd,
pte_t *page_table, pte_t orig_pte)
@@ -2342,7 +2342,7 @@ reuse:
* bit after it clear all dirty ptes, but before a racing
* do_wp_page installs a dirty pte.
*
- * do_no_page is protected similarly.
+ * __do_fault is protected similarly.
*/
if (!page_mkwrite) {
wait_on_page_locked(dirty_page);
_
Patches currently in -mm which might be from ozaki.ryota@gmail.com are
mm-fix-out-of-date-comments-which-refers-non-existent-functions.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-02-09 20:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-09 20:16 + mm-fix-out-of-date-comments-which-refers-non-existent-functions.patch added to -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.