+ kthread_worker-document-cpu-hotplug-handling-fix.patch added to -mm tree

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

 



The patch titled
     Subject: kthread_worker-document-cpu-hotplug-handling-fix
has been added to the -mm tree.  Its filename is
     kthread_worker-document-cpu-hotplug-handling-fix.patch

This patch should soon appear at
    https://ozlabs.org/~akpm/mmots/broken-out/kthread_worker-document-cpu-hotplug-handling-fix.patch
and later at
    https://ozlabs.org/~akpm/mmotm/broken-out/kthread_worker-document-cpu-hotplug-handling-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: kthread_worker-document-cpu-hotplug-handling-fix

grammar tweaks

Cc: Petr Mladek <pmladek@xxxxxxxx>
Cc: Tejun Heo <tj@xxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Zhang Qiang <Qiang.Zhang@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 kernel/kthread.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--- a/kernel/kthread.c~kthread_worker-document-cpu-hotplug-handling-fix
+++ a/kernel/kthread.c
@@ -795,11 +795,11 @@ EXPORT_SYMBOL(kthread_create_worker);
  *
  * CPU hotplug:
  * The kthread worker API is simple and generic. It just provides a way
- * how to create, use, and destroy workers.
+ * to create, use, and destroy workers.
  *
  * It is up to the API user how to handle CPU hotplug. They have to decide
  * how to handle pending work items, prevent queuing new ones, and
- * restore the functionality when the CPU goes off and on. There are
+ * restore the functionality when the CPU goes off and on. There are a
  * few catches:
  *
  *    - CPU affinity gets lost when it is scheduled on an offline CPU.
@@ -807,8 +807,8 @@ EXPORT_SYMBOL(kthread_create_worker);
  *    - The worker might not exist when the CPU was off when the user
  *      created the workers.
  *
- * A good practice is to implement two CPU hotplug callbacks and
- * destroy/create the worker when CPU goes down/up.
+ * Good practice is to implement two CPU hotplug callbacks and to
+ * destroy/create the worker when the CPU goes down/up.
  *
  * Return:
  * The pointer to the allocated worker on success, ERR_PTR(-ENOMEM)
_

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

kthread_worker-document-cpu-hotplug-handling-fix.patch
mm.patch
mm-swap_state-skip-meaningless-swap-cache-readahead-when-ra_infowin-==-0-fix.patch
mm-vmallocc-__vmalloc_area_node-avoid-32-bit-overflow.patch
mm-vmstat-fix-proc-sys-vm-stat_refresh-generating-false-warnings-fix-2.patch
lib-test_bitmapc-add-for_each_set_clump-test-cases-checkpatch-fixes.patch
kernel-forkc-export-kernel_thread-to-modules.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