mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* + mm-defer-kmemleak-object-creation-of-module_alloc-v4-fix.patch added to -mm tree
@ 2022-01-13 20:20 akpm
  2022-01-14  1:40 ` Stephen Rothwell
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2022-01-13 20:20 UTC (permalink / raw)
  To: akpm, andreyknvl, mm-commits, sfr, wangkefeng.wang


The patch titled
     Subject: mm-defer-kmemleak-object-creation-of-module_alloc-v4-fix
has been added to the -mm tree.  Its filename is
     mm-defer-kmemleak-object-creation-of-module_alloc-v4-fix.patch

This patch should soon appear at
    https://ozlabs.org/~akpm/mmots/broken-out/mm-defer-kmemleak-object-creation-of-module_alloc-v4-fix.patch
and later at
    https://ozlabs.org/~akpm/mmotm/broken-out/mm-defer-kmemleak-object-creation-of-module_alloc-v4-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-defer-kmemleak-object-creation-of-module_alloc-v4-fix

simplify ifdefs, per Andrey

Link: https://lkml.kernel.org/r/CA+fCnZcnwJHUQq34VuRxpdoY6_XbJCDJ-jopksS5Eia4PijPzw@mail.gmail.com
Cc: Andrey Konovalov <andreyknvl@gmail.com>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 include/linux/vmalloc.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/include/linux/vmalloc.h~mm-defer-kmemleak-object-creation-of-module_alloc-v4-fix
+++ a/include/linux/vmalloc.h
@@ -28,8 +28,8 @@ struct notifier_block;		/* in notifier.h
 #define VM_MAP_PUT_PAGES	0x00000200	/* put pages and free array in vfree */
 #define VM_NO_HUGE_VMAP		0x00000400	/* force PAGE_SIZE pte mapping */
 
-#if defined(CONFIG_KASAN) && (defined(CONFIG_KASAN_GENERIC) || \
-	defined(CONFIG_KASAN_SW_TAGS)) && !defined(CONFIG_KASAN_VMALLOC)
+#if (defined(CONFIG_KASAN_GENERIC) || defined(CONFIG_KASAN_SW_TAGS)) && \
+	!defined(CONFIG_KASAN_VMALLOC)
 #define VM_DEFER_KMEMLEAK	0x00000800	/* defer kmemleak object creation */
 #else
 #define VM_DEFER_KMEMLEAK	0
_

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

kthread-add-the-helper-function-kthread_run_on_cpu-fix.patch
kmemleak-fix-kmemleak-false-positive-report-with-hw-tag-based-kasan-enable-fix.patch
device-dax-remove-pfn-from-__dev_dax_ptepmdpud_fault-fix.patch
documentation-vm-page_ownerrst-update-the-documentation-fix.patch
mm-shmem-dont-truncate-page-if-memory-failure-happens-checkpatch-fixes.patch
shmem-fix-a-race-between-shmem_unused_huge_shrink-and-shmem_evict_inode-checkpatch-fixes.patch
memcg-add-per-memcg-vmalloc-stat-v2-fix.patch
mm-remove-redundant-check-about-fault_flag_allow_retry-bit-checkpatch-fixes.patch
mm-vmalloc-allocate-small-pages-for-area-pages-fix.patch
mm-page_allocc-do-not-warn-allocation-failure-on-zone-dma-if-no-managed-pages-fix.patch
mm-mempolicy-convert-from-atomic_t-to-refcount_t-on-mempolicy-refcnt-fix.patch
mm-memcg-percpu-account-extra-objcg-space-to-memory-cgroups-fix.patch
mm-rmap-fix-potential-batched-tlb-flush-race-fix.patch


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

* Re: + mm-defer-kmemleak-object-creation-of-module_alloc-v4-fix.patch added to -mm tree
  2022-01-13 20:20 + mm-defer-kmemleak-object-creation-of-module_alloc-v4-fix.patch added to -mm tree akpm
@ 2022-01-14  1:40 ` Stephen Rothwell
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Rothwell @ 2022-01-14  1:40 UTC (permalink / raw)
  To: akpm; +Cc: andreyknvl, mm-commits, wangkefeng.wang

[-- Attachment #1: Type: text/plain, Size: 364 bytes --]

Hi all,

On Thu, 13 Jan 2022 12:20:33 -0800 akpm@linux-foundation.org wrote:
>
> The patch titled
>      Subject: mm-defer-kmemleak-object-creation-of-module_alloc-v4-fix
> has been added to the -mm tree.  Its filename is
>      mm-defer-kmemleak-object-creation-of-module_alloc-v4-fix.patch

Added to linux-next today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

end of thread, other threads:[~2022-01-14  1:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-13 20:20 + mm-defer-kmemleak-object-creation-of-module_alloc-v4-fix.patch added to -mm tree akpm
2022-01-14  1:40 ` Stephen Rothwell

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