+ mm-page-table-check-fix.patch added to -mm tree

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

 



The patch titled
     Subject: mm-page-table-check-fix
has been added to the -mm tree.  Its filename is
     mm-page-table-check-fix.patch

This patch should soon appear at
    https://ozlabs.org/~akpm/mmots/broken-out/mm-page-table-check-fix.patch
and later at
    https://ozlabs.org/~akpm/mmotm/broken-out/mm-page-table-check-fix.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: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Subject: mm-page-table-check-fix

export page_table_check_disabled and __page_table_check_pte_set to modules

ERROR: modpost: "page_table_check_disabled" [drivers/gpu/drm/i915/i915.ko] undefined!
ERROR: modpost: "__page_table_check_pte_set" [drivers/gpu/drm/i915/i915.ko] undefined!

Cc: Pasha Tatashin <pasha.tatashin@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/page_table_check.c |    2 ++
 1 file changed, 2 insertions(+)

--- a/mm/page_table_check.c~mm-page-table-check-fix
+++ a/mm/page_table_check.c
@@ -19,6 +19,7 @@ static bool __page_table_check_enabled _
 				IS_ENABLED(CONFIG_PAGE_TABLE_CHECK_ENFORCED);
 
 DEFINE_STATIC_KEY_TRUE_RO(page_table_check_disabled);
+EXPORT_SYMBOL(page_table_check_disabled);
 
 static int __init early_page_table_check_param(char *buf)
 {
@@ -217,6 +218,7 @@ void __page_table_check_pte_set(struct m
 				     pte_write(pte));
 	}
 }
+EXPORT_SYMBOL(__page_table_check_pte_set);
 
 void __page_table_check_pmd_set(struct mm_struct *mm, unsigned long addr,
 				pmd_t *pmdp, pmd_t pmd)
_

Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are

mm-bdi-initialize-bdi_min_ratio-when-bdi-unregister-fix.patch
kthread-add-the-helper-function-kthread_run_on_cpu-fix.patch
mm.patch
mm-remove-redundant-check-about-fault_flag_allow_retry-bit-checkpatch-fixes.patch
mm-mempolicy-convert-from-atomic_t-to-refcount_t-on-mempolicy-refcnt-fix.patch
proc-make-the-proc_create-stubs-static-inlines-fix.patch
panic-use-error_report_end-tracepoint-on-warnings-fix.patch
linux-next-git-rejects.patch
sysctl-move-some-boundary-constants-from-sysctlc-to-sysctl_vals-fix.patch
kernel-forkc-export-kernel_thread-to-modules.patch
mm-page-table-check-fix.patch




[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