All of lore.kernel.org
 help / color / mirror / Atom feed
* + mm-page-table-check-fix.patch added to -mm tree
@ 2021-11-24 23:47 akpm
  2021-11-25  2:52 ` Pasha Tatashin
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2021-11-24 23:47 UTC (permalink / raw)
  To: akpm, mm-commits, pasha.tatashin


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@linux-foundation.org>
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@soleen.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 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@linux-foundation.org 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: + mm-page-table-check-fix.patch added to -mm tree
  2021-11-24 23:47 + mm-page-table-check-fix.patch added to -mm tree akpm
@ 2021-11-25  2:52 ` Pasha Tatashin
  0 siblings, 0 replies; 2+ messages in thread
From: Pasha Tatashin @ 2021-11-25  2:52 UTC (permalink / raw)
  To: Andrew Morton; +Cc: mm-commits

> --- 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);

Thanks Andrew!

Pasha

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-25  3:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-24 23:47 + mm-page-table-check-fix.patch added to -mm tree akpm
2021-11-25  2:52 ` Pasha Tatashin

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.