mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* + ipc-utilc-use-binary-search-for-max_idx-fix.patch added to -mm tree
@ 2021-05-31 23:10 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2021-05-31 23:10 UTC (permalink / raw)
  To: 1vier1, akpm, dbueso, manfred, mm-commits


The patch titled
     Subject: ipc-utilc-use-binary-search-for-max_idx-fix
has been added to the -mm tree.  Its filename is
     ipc-utilc-use-binary-search-for-max_idx-fix.patch

This patch should soon appear at
    https://ozlabs.org/~akpm/mmots/broken-out/ipc-utilc-use-binary-search-for-max_idx-fix.patch
and later at
    https://ozlabs.org/~akpm/mmotm/broken-out/ipc-utilc-use-binary-search-for-max_idx-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: ipc-utilc-use-binary-search-for-max_idx-fix

tweak comment, fix typo

Cc: <1vier1@web.de>
Cc: Davidlohr Bueso <dbueso@suse.de>
Cc: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 ipc/util.c |    4 ++--
 ipc/util.h |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

--- a/ipc/util.c~ipc-utilc-use-binary-search-for-max_idx-fix
+++ a/ipc/util.c
@@ -452,7 +452,7 @@ static void ipc_kht_remove(struct ipc_id
 }
 
 /**
- * ipc_search_maxidx - search the highest assigned index
+ * ipc_search_maxidx - search for the highest assigned index
  * @ids: ipc identifier set
  * @limit: known upper limit for highest assigned index
  *
@@ -462,7 +462,7 @@ static void ipc_kht_remove(struct ipc_id
  * object is deleted.
  * If no ipc object is allocated, then -1 is returned.
  *
- * ipc_ids.rwsem needs to be owned by the caller.
+ * ipc_ids.rwsem needs to be held by the caller.
  */
 static int ipc_search_maxidx(struct ipc_ids *ids, int limit)
 {
--- a/ipc/util.h~ipc-utilc-use-binary-search-for-max_idx-fix
+++ a/ipc/util.h
@@ -145,7 +145,7 @@ int ipcperms(struct ipc_namespace *ns, s
  * ipc_get_maxidx - get the highest assigned index
  * @ids: ipc identifier set
  *
- * The function returns the highest assinged index for @ids. The function
+ * The function returns the highest assigned index for @ids. The function
  * doesn't scan the idr tree, it uses a cached value.
  *
  * Called with ipc_ids.rwsem held for reading.
_

Patches currently in -mm which might be from akpm@linux-foundation.org are

mm-hugetlb-fix-resv_huge_pages-underflow-on-uffdio_copy-fix.patch
mm.patch
mm-slub-kunit-add-a-kunit-test-for-slub-debugging-functionality-fix-2.patch
mm-gup-pack-has_pinned-in-mmf_has_pinned-checkpatch-fixes.patch
mm-memcg-optimize-user-context-object-stock-access-checkpatch-fixes.patch
mm-memcg-slab-create-a-new-set-of-kmalloc-cg-n-caches-v5-fix.patch
binfmt-remove-in-tree-usage-of-map_executable-fix.patch
mm-mmap-introduce-unlock_range-for-code-cleanup-fix.patch
powerpc-mm-book3s64-update-tlb-flush-routines-to-take-a-page-walk-cache-flush-argument-fix.patch
mm-mremap-use-range-flush-that-does-tlb-and-page-walk-cache-flush-fix.patch
mm-rename-the-global-section-array-to-mem_sections-fix.patch
mm-page_alloc-convert-per-cpu-list-protection-to-local_lock-fix-checkpatch-fixes.patch
mm-memory-failure-use-a-mutex-to-avoid-memory_failure-races-fix.patch
mm-memory_hotplug-disable-memmap_on_memory-when-hugetlb_free_vmemmap-enabled-fix.patch
mm-userfaultfd-fix-uffd-wp-special-cases-for-fork-fix.patch
mm-thp-check-total_mapcount-instead-of-page_mapcount-fix-fix-fix.patch
nommu-remove-__gfp_highmem-in-vmalloc-vzalloc-checkpatch-fixes.patch
mm-madvise-introduce-madv_populate_readwrite-to-prefault-page-tables-checkpatch-fixes.patch
mm-rmap-make-try_to_unmap-void-function-fix.patch
mm-early_ioremap-add-prototype-for-early_memremap_pgprot_adjust-fix.patch
kernelh-split-out-panic-and-oops-helpers-fix.patch
lib-math-rational-add-kunit-test-cases-fix.patch
lib-decompressors-remove-set-but-not-used-variabled-level-fix.patch
ipc-utilc-use-binary-search-for-max_idx-fix.patch
linux-next-pre.patch
linux-next-post.patch
linux-next-git-rejects.patch
mm-introduce-memfd_secret-system-call-to-create-secret-memory-areas-fix.patch
module-add-printk-formats-to-add-module-build-id-to-stacktraces-fix.patch
module-add-printk-formats-to-add-module-build-id-to-stacktraces-fix-fix.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-05-31 23:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-31 23:10 + ipc-utilc-use-binary-search-for-max_idx-fix.patch added to -mm tree akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).