From: akpm@linux-foundation.org
To: mm-commits@vger.kernel.org, akpm@linux-foundation.org
Subject: + linux-next-rejects.patch added to -mm tree
Date: Tue, 29 Oct 2013 14:35:25 -0700 [thread overview]
Message-ID: <52702a1d.JMy5rkIGgH8Zsj++%akpm@linux-foundation.org> (raw)
Subject: + linux-next-rejects.patch added to -mm tree
To: akpm@linux-foundation.org
From: akpm@linux-foundation.org
Date: Tue, 29 Oct 2013 14:35:25 -0700
The patch titled
Subject: linux-next-rejects
has been added to the -mm tree. Its filename is
linux-next-rejects.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/linux-next-rejects.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/linux-next-rejects.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/SubmitChecklist 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: linux-next-rejects
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
arch/x86/mm/init.c | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff -puN arch/x86/mm/init.c~linux-next-rejects arch/x86/mm/init.c
--- a/arch/x86/mm/init.c~linux-next-rejects
+++ a/arch/x86/mm/init.c
@@ -399,8 +399,24 @@ static unsigned long __init init_range_m
return mapped_ram_size;
}
-/* (PUD_SHIFT-PMD_SHIFT)/2 */
-#define STEP_SIZE_SHIFT 5
+static unsigned long __init get_new_step_size(unsigned long step_size)
+{
+ /*
+ * Explain why we shift by 5 and why we don't have to worry about
+ * 'step_size << 5' overflowing:
+ *
+ * initial mapped size is PMD_SIZE (2M).
+ * We can not set step_size to be PUD_SIZE (1G) yet.
+ * In worse case, when we cross the 1G boundary, and
+ * PG_LEVEL_2M is not set, we will need 1+1+512 pages (2M + 8k)
+ * to map 1G range with PTE. Use 5 as shift for now.
+ *
+ * Don't need to worry about overflow, on 32bit, when step_size
+ * is 0, round_down() returns 0 for start, and that turns it
+ * into 0x100000000ULL.
+ */
+ return step_size << 5;
+}
/**
* memory_map_top_down - Map [map_start, map_end) top down
_
Patches currently in -mm which might be from akpm@linux-foundation.org are
arch-alpha-kernel-systblss-remove-debug-check.patch
i-need-old-gcc.patch
kernel-time-tick-commonc-document-tick_do_timer_cpu.patch
mm-readaheadc-do_readhead-dont-check-for-readpage.patch
posix_acl-uninlining.patch
mm.patch
mm-thp-khugepaged-add-policy-for-finding-target-node-fix.patch
mm-add-a-field-to-store-names-for-private-anonymous-memory-fix.patch
kernel-printk-printkc-convert-to-pr_foo.patch
maintainers-remove-richard-purdie-as-backlight-maintainer-fix.patch
checkpatch-extend-camelcase-types-and-ignore-existing-camelcase-uses-in-a-patch.patch
checkpatch-add-test-for-defines-of-arch_has_foo.patch
epoll-do-not-take-global-epmutex-for-simple-topologies-fix.patch
binfmt_elfc-use-get_random_int-to-fix-entropy-depleting.patch
init-do_mounts_rdc-fix-null-pointer-dereference-while-loading-initramfs-fix.patch
gcov-add-support-for-gcc-47-gcov-format-fix.patch
gcov-add-support-for-gcc-47-gcov-format-fix-fix.patch
gcov-add-support-for-gcc-47-gcov-format-checkpatch-fixes.patch
kernel-modulec-use-pr_foo.patch
kernel-gcov-fsc-use-pr_warn.patch
linux-next.patch
linux-next-git-rejects.patch
linux-next-rejects.patch
x86-mem-hotplug-support-initialize-page-tables-in-bottom-up-next-fix.patch
mm-drop-actor-argument-of-do_generic_file_read-fix.patch
mm-hugetlb-convert-hugetlbfs-to-use-split-pmd-lock-checkpatch-fixes.patch
x86-mm-enable-split-page-table-lock-for-pmd-level-checkpatch-fixes.patch
mm-dynamically-allocate-page-ptl-if-it-cannot-be-embedded-to-struct-page-fix-fix.patch
tree-wide-use-reinit_completion-instead-of-init_completion-fix.patch
debugging-keep-track-of-page-owners-fix-2-fix.patch
debugging-keep-track-of-page-owners-fix-2-fix-fix-fix.patch
journal_add_journal_head-debug.patch
kernel-forkc-export-kernel_thread-to-modules.patch
mutex-subsystem-synchro-test-module.patch
slab-leaks3-default-y.patch
put_bh-debug.patch
next reply other threads:[~2013-10-29 21:35 UTC|newest]
Thread overview: 75+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-29 21:35 akpm [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-04-08 17:43 + linux-next-rejects.patch added to -mm tree Andrew Morton
2022-03-28 18:46 Andrew Morton
2022-02-03 21:53 akpm
2021-12-03 17:31 akpm
2021-10-07 18:12 akpm
2021-07-27 20:07 akpm
2021-06-01 1:46 akpm
2021-03-30 0:48 akpm
2021-03-18 23:47 akpm
2021-03-11 18:51 akpm
2021-03-08 18:34 akpm
2020-12-18 23:15 akpm
2020-11-10 18:13 akpm
2020-09-03 22:00 akpm
2020-08-12 1:29 incoming Andrew Morton
2020-08-14 3:22 ` + linux-next-rejects.patch added to -mm tree Andrew Morton
2020-07-03 5:16 akpm
2020-06-09 4:29 incoming Andrew Morton
2020-06-09 4:44 ` + linux-next-rejects.patch added to -mm tree Andrew Morton
2020-06-08 5:49 akpm
2020-04-28 21:27 akpm
2020-02-19 19:15 akpm
2020-02-11 21:12 akpm
2020-01-09 22:46 akpm
2018-02-06 19:43 akpm
2017-09-25 20:57 akpm
2017-07-28 21:33 akpm
2017-06-20 18:28 akpm
2017-06-15 23:27 akpm
2017-01-06 20:53 akpm
2016-11-14 20:01 akpm
2016-09-09 18:31 akpm
2016-07-29 18:50 akpm
2016-04-22 17:51 akpm
2016-04-01 18:54 akpm
2016-02-16 18:48 akpm
2015-12-05 1:09 akpm
2015-09-30 22:16 akpm
2015-07-08 0:24 akpm
2015-04-30 19:58 akpm
2015-03-16 18:02 akpm
2015-02-24 0:45 akpm
2015-02-12 19:34 akpm
2015-01-21 21:26 akpm
2014-11-05 20:41 akpm
2014-09-12 19:56 akpm
2014-07-24 20:43 akpm
2014-05-20 18:14 akpm
2014-04-10 23:53 akpm
2014-04-07 22:48 akpm
2014-03-12 19:05 akpm
2014-02-13 20:59 akpm
2014-02-10 20:31 akpm
2013-11-21 23:02 akpm
2013-10-11 21:26 akpm
2013-09-26 0:29 akpm
2013-04-30 22:36 akpm
2013-04-29 23:38 akpm
2013-03-13 19:46 akpm
2012-12-18 22:06 akpm
2012-12-12 22:20 akpm
2012-11-14 1:20 akpm
2012-05-29 22:38 akpm
2012-04-04 19:43 akpm
2011-07-21 19:10 akpm
2011-05-25 4:02 akpm
2011-03-21 22:50 akpm
2011-02-09 21:58 akpm
2011-01-20 22:47 akpm
2011-01-13 1:20 akpm
2010-03-05 22:06 akpm
2009-03-12 19:59 akpm
2009-03-02 19:17 akpm
2009-02-13 23:49 akpm
2008-10-29 0:37 akpm
2008-07-24 23:16 akpm
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=52702a1d.JMy5rkIGgH8Zsj++%akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mm-commits@vger.kernel.org \
/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 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).