+ mm-ksm-remove-unused-page_referenced_ksm-declaration.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: mm/ksm: remove unused page_referenced_ksm declaration
has been added to the -mm tree.  Its filename is
     mm-ksm-remove-unused-page_referenced_ksm-declaration.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/mm-ksm-remove-unused-page_referenced_ksm-declaration.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/mm-ksm-remove-unused-page_referenced_ksm-declaration.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: Mike Rapoport <rppt@xxxxxxxxxxxxxxxxxx>
Subject: mm/ksm: remove unused page_referenced_ksm declaration

9f32624be943538983e ("mm/rmap: use rmap_walk() in page_referenced()")
removed the declaration of page_referenced_ksm for the case CONFIG_KSM=y,
but left one for CONFIG_KSM=n.

Remove the unused leftover.

Link: http://lkml.kernel.org/r/1524552106-7356-2-git-send-email-rppt@xxxxxxxxxxxxxxxxxx
Signed-off-by: Mike Rapoport <rppt@xxxxxxxxxxxxxxxxxx>
Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Cc: Andrea Arcangeli <aarcange@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/linux/ksm.h |    6 ------
 1 file changed, 6 deletions(-)

diff -puN include/linux/ksm.h~mm-ksm-remove-unused-page_referenced_ksm-declaration include/linux/ksm.h
--- a/include/linux/ksm.h~mm-ksm-remove-unused-page_referenced_ksm-declaration
+++ a/include/linux/ksm.h
@@ -89,12 +89,6 @@ static inline struct page *ksm_might_nee
 	return page;
 }
 
-static inline int page_referenced_ksm(struct page *page,
-			struct mem_cgroup *memcg, unsigned long *vm_flags)
-{
-	return 0;
-}
-
 static inline void rmap_walk_ksm(struct page *page,
 			struct rmap_walk_control *rwc)
 {
_

Patches currently in -mm which might be from rppt@xxxxxxxxxxxxxxxxxx are

mm-ksm-remove-unused-page_referenced_ksm-declaration.patch
mm-ksm-move-page_stable_node-from-ksmh-to-ksmc.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux