drm/i915: Add connector dbgfs for all connectors
[linux-block.git] / mm / ksm.c
index d17c7d57d0d85648738ed9d38bcb38a72ceceec1..a558da9e717709e60cb31ab62a2ce9deebcb095c 100644 (file)
--- a/mm/ksm.c
+++ b/mm/ksm.c
@@ -455,7 +455,7 @@ static inline bool ksm_test_exit(struct mm_struct *mm)
 /*
  * We use break_ksm to break COW on a ksm page: it's a stripped down
  *
- *     if (get_user_pages(addr, 1, 1, 1, &page, NULL) == 1)
+ *     if (get_user_pages(addr, 1, FOLL_WRITE, &page, NULL) == 1)
  *             put_page(page);
  *
  * but taking great care only to touch a ksm page, in a VM_MERGEABLE vma,
@@ -2813,8 +2813,7 @@ static int ksm_memory_callback(struct notifier_block *self,
                 */
                ksm_check_stable_tree(mn->start_pfn,
                                      mn->start_pfn + mn->nr_pages);
-               /* fallthrough */
-
+               fallthrough;
        case MEM_CANCEL_OFFLINE:
                mutex_lock(&ksm_thread_mutex);
                ksm_run &= ~KSM_RUN_OFFLINE;