* + mm-add-new-api-to-enable-ksm-per-process-fix.patch added to mm-unstable branch
@ 2023-04-06 23:30 Andrew Morton
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2023-04-06 23:30 UTC (permalink / raw)
To: mm-commits, shr, riel, mhocko, hannes, david, bagasdotme, akpm,
akpm
The patch titled
Subject: mm-add-new-api-to-enable-ksm-per-process-fix
has been added to the -mm mm-unstable branch. Its filename is
mm-add-new-api-to-enable-ksm-per-process-fix.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-add-new-api-to-enable-ksm-per-process-fix.patch
This patch will later appear in the mm-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
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 via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days
------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: mm-add-new-api-to-enable-ksm-per-process-fix
Date: Thu Apr 6 04:22:50 PM PDT 2023
fix build by removing errant ksm_add_mm() stub
Cc: Bagas Sanjaya <bagasdotme@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Rik van Riel <riel@surriel.com>
Cc: Stefan Roesch <shr@devkernel.io>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
include/linux/ksm.h | 4 ----
1 file changed, 4 deletions(-)
--- a/include/linux/ksm.h~mm-add-new-api-to-enable-ksm-per-process-fix
+++ a/include/linux/ksm.h
@@ -62,10 +62,6 @@ 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)
{
}
_
Patches currently in -mm which might be from akpm@linux-foundation.org are
mm-khugepaged-fix-kernel-bug-in-hpage_collapse_scan_file-fix.patch
memcg-do-not-drain-charge-pcp-caches-on-remote-isolated-cpus-fix.patch
vmstat-add-pcp-remote-node-draining-via-cpu_vm_stats_fold-fix.patch
lib-test_vmallocc-add-vm_map_ram-vm_unmap_ram-test-case-fix.patch
mm-add-new-api-to-enable-ksm-per-process-fix.patch
^ permalink raw reply [flat|nested] 2+ messages in thread* + mm-add-new-api-to-enable-ksm-per-process-fix.patch added to mm-unstable branch
@ 2023-03-13 17:38 Andrew Morton
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2023-03-13 17:38 UTC (permalink / raw)
To: mm-commits, shr, riel, mhocko, hannes, david, bagasdotme, akpm,
akpm
The patch titled
Subject: mm-add-new-api-to-enable-ksm-per-process-fix
has been added to the -mm mm-unstable branch. Its filename is
mm-add-new-api-to-enable-ksm-per-process-fix.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-add-new-api-to-enable-ksm-per-process-fix.patch
This patch will later appear in the mm-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
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 via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days
------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: mm-add-new-api-to-enable-ksm-per-process-fix
Date: Mon Mar 13 10:37:16 AM PDT 2023
fix build, per Johannes
Link: https://lkml.kernel.org/r/20230313162603.GA965640@cmpxchg.org
Cc: Bagas Sanjaya <bagasdotme@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Rik van Riel <riel@surriel.com>
Cc: Stefan Roesch <shr@devkernel.io>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
--- a/mm/ksm.c~mm-add-new-api-to-enable-ksm-per-process-fix
+++ a/mm/ksm.c
@@ -551,11 +551,11 @@ static bool vma_ksm_compatible(struct vm
return false;
#ifdef VM_SAO
- if (*vm_flags & VM_SAO)
+ if (vma->vm_flags & VM_SAO)
return false;
#endif
#ifdef VM_SPARC_ADI
- if (*vm_flags & VM_SPARC_ADI)
+ if (vma->vm_flags & VM_SPARC_ADI)
return false;
#endif
_
Patches currently in -mm which might be from akpm@linux-foundation.org are
mm-page_alloc-reduce-page-alloc-free-sanity-checks-checkpatch-fixes.patch
mm-page_alloc-reduce-page-alloc-free-sanity-checks-fix.patch
mm-userfaultfd-support-wp-on-multiple-vmas-fix.patch
mm-shrinkers-make-count-and-scan-in-shrinker-debugfs-lockless-fix.patch
mm-add-new-api-to-enable-ksm-per-process-fix.patch
scripts-link-vmlinuxsh-fix-error-message-presentation.patch
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-06 23:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-06 23:30 + mm-add-new-api-to-enable-ksm-per-process-fix.patch added to mm-unstable branch Andrew Morton
-- strict thread matches above, loose matches on Subject: below --
2023-03-13 17:38 Andrew Morton
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.