All of lore.kernel.org
 help / color / mirror / Atom feed
* + kthread-add-the-helper-function-kthread_run_on_cpu-fix.patch added to -mm tree
@ 2021-11-18 23:39 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2021-11-18 23:39 UTC (permalink / raw)
  To: akpm, caihuoqing, mm-commits


The patch titled
     Subject: kthread-add-the-helper-function-kthread_run_on_cpu-fix
has been added to the -mm tree.  Its filename is
     kthread-add-the-helper-function-kthread_run_on_cpu-fix.patch

This patch should soon appear at
    https://ozlabs.org/~akpm/mmots/broken-out/kthread-add-the-helper-function-kthread_run_on_cpu-fix.patch
and later at
    https://ozlabs.org/~akpm/mmotm/broken-out/kthread-add-the-helper-function-kthread_run_on_cpu-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: kthread-add-the-helper-function-kthread_run_on_cpu-fix

export kthread_create_on_cpu to modules

ERROR: modpost: "kthread_create_on_cpu" [drivers/infiniband/sw/siw/siw.ko] undefined!
ERROR: modpost: "kthread_create_on_cpu" [kernel/rcu/rcutorture.ko] undefined!

Cc: Cai Huoqing <caihuoqing@baidu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 kernel/kthread.c |    1 +
 1 file changed, 1 insertion(+)

--- a/kernel/kthread.c~kthread-add-the-helper-function-kthread_run_on_cpu-fix
+++ a/kernel/kthread.c
@@ -523,6 +523,7 @@ struct task_struct *kthread_create_on_cp
 	to_kthread(p)->cpu = cpu;
 	return p;
 }
+EXPORT_SYMBOL(kthread_create_on_cpu);
 
 void kthread_set_per_cpu(struct task_struct *k, int cpu)
 {
_

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
panic-use-error_report_end-tracepoint-on-warnings-fix.patch
linux-next-git-rejects.patch
kernel-forkc-export-kernel_thread-to-modules.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-18 23:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-18 23:39 + kthread-add-the-helper-function-kthread_run_on_cpu-fix.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.