+ mm-calculate-deferred-pages-after-skipping-mirrored-memory-v2.patch added to -mm tree

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

 



The patch titled
     Subject: mm-calculate-deferred-pages-after-skipping-mirrored-memory-v2
has been added to the -mm tree.  Its filename is
     mm-calculate-deferred-pages-after-skipping-mirrored-memory-v2.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/mm-calculate-deferred-pages-after-skipping-mirrored-memory-v2.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/mm-calculate-deferred-pages-after-skipping-mirrored-memory-v2.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: Pavel Tatashin <pasha.tatashin@xxxxxxxxxx>
Subject: mm-calculate-deferred-pages-after-skipping-mirrored-memory-v2

v2: add comment about defer_init's lack of locking

Link: http://lkml.kernel.org/r/20180726193509.3326-3-pasha.tatashin@xxxxxxxxxx
Signed-off-by: Pavel Tatashin <pasha.tatashin@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/page_alloc.c |    4 ++++
 1 file changed, 4 insertions(+)

--- a/mm/page_alloc.c~mm-calculate-deferred-pages-after-skipping-mirrored-memory-v2
+++ a/mm/page_alloc.c
@@ -313,6 +313,10 @@ static inline bool defer_init(int nid, u
 {
 	static unsigned long prev_end_pfn, nr_initialised;
 
+	/*
+	 * prev_end_pfn static that contains the end of previous zone
+	 * No need to protect because called very early in boot before smp_init.
+	 */
 	if (prev_end_pfn != end_pfn) {
 		prev_end_pfn = end_pfn;
 		nr_initialised = 0;
_

Patches currently in -mm which might be from pasha.tatashin@xxxxxxxxxx are

mm-skip-invalid-pages-block-at-a-time-in-zero_resv_unresv.patch
mm-sparse-abstract-sparse-buffer-allocations.patch
mm-sparse-use-the-new-sparse-buffer-functions-in-non-vmemmap.patch
mm-sparse-move-buffer-init-fini-to-the-common-place.patch
mm-sparse-add-new-sparse_init_nid-and-sparse_init.patch
mm-sparse-delete-old-sprase_init-and-enable-new-one.patch
mm-sparse-delete-old-sparse_init-and-enable-new-one-v6.patch
mm-make-memmap_init-a-proper-function.patch
mm-calculate-deferred-pages-after-skipping-mirrored-memory.patch
mm-calculate-deferred-pages-after-skipping-mirrored-memory-v2.patch
mm-move-mirrored-memory-specific-code-outside-of-memmap_init_zone.patch
mm-move-mirrored-memory-specific-code-outside-of-memmap_init_zone-v2.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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