All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org, shr@devkernel.io, akpm@linux-foundation.org
Subject: [to-be-updated] mm-add-new-api-to-enable-ksm-per-process-fix-2.patch removed from -mm tree
Date: Tue, 11 Apr 2023 17:29:12 -0700	[thread overview]
Message-ID: <20230412002913.8102CC433EF@smtp.kernel.org> (raw)


The quilt patch titled
     Subject: mm: fix: remove ksm_add_mm and ksm_add_vmas
has been removed from the -mm tree.  Its filename was
     mm-add-new-api-to-enable-ksm-per-process-fix-2.patch

This patch was dropped because an updated version will be merged

------------------------------------------------------
From: Stefan Roesch <shr@devkernel.io>
Subject: mm: fix: remove ksm_add_mm and ksm_add_vmas
Date: Thu, 6 Apr 2023 21:24:54 -0700

The function ksm_add_mm() and ksm_add_vmas() don't need to be defined
when CONFIG_KSM is not defined.

Link: https://lkml.kernel.org/r/20230407042454.1449599-1-shr@devkernel.io
Signed-off-by: Stefan Roesch <shr@devkernel.io>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 include/linux/ksm.h |    8 --------
 1 file changed, 8 deletions(-)

--- a/include/linux/ksm.h~mm-add-new-api-to-enable-ksm-per-process-fix-2
+++ a/include/linux/ksm.h
@@ -62,18 +62,10 @@ void folio_migrate_ksm(struct folio *new
 
 #else  /* !CONFIG_KSM */
 
-static inline int ksm_add_mm(struct mm_struct *mm)
-{
-}
-
 static inline void ksm_add_vma(struct vm_area_struct *vma)
 {
 }
 
-static inline void ksm_add_vmas(struct mm_struct *mm)
-{
-}
-
 static inline int ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm)
 {
 	return 0;
_

Patches currently in -mm which might be from shr@devkernel.io are

mm-add-new-ksm-process-and-sysfs-knobs.patch
selftests-mm-add-new-selftests-for-ksm.patch


                 reply	other threads:[~2023-04-12  0:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230412002913.8102CC433EF@smtp.kernel.org \
    --to=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mm-commits@vger.kernel.org \
    --cc=shr@devkernel.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.