From: akpm@linux-foundation.org
To: pasha.tatashin@oracle.com, babu.moger@oracle.com,
davem@davemloft.net, sfr@canb.auug.org.au,
viro@zeniv.linux.org.uk, mm-commits@vger.kernel.org
Subject: [folded-merged] mm-adaptive-hash-table-scaling-v2.patch removed from -mm tree
Date: Thu, 06 Jul 2017 15:17:42 -0700 [thread overview]
Message-ID: <595eb706.acP3c6wNRGoSWB5y%akpm@linux-foundation.org> (raw)
The patch titled
Subject: mm-adaptive-hash-table-scaling-v2
has been removed from the -mm tree. Its filename was
mm-adaptive-hash-table-scaling-v2.patch
This patch was dropped because it was folded into mm-adaptive-hash-table-scaling.patch
------------------------------------------------------
From: Pavel Tatashin <pasha.tatashin@oracle.com>
Subject: mm-adaptive-hash-table-scaling-v2
UL -> ULL fix
Link: http://lkml.kernel.org/r/1495300013-653283-2-git-send-email-pasha.tatashin@oracle.com
Signed-off-by: Pavel Tatashin <pasha.tatashin@oracle.com>
Cc: David Miller <davem@davemloft.net>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Babu Moger <babu.moger@oracle.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/page_alloc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff -puN mm/page_alloc.c~mm-adaptive-hash-table-scaling-v2 mm/page_alloc.c
--- a/mm/page_alloc.c~mm-adaptive-hash-table-scaling-v2
+++ a/mm/page_alloc.c
@@ -7186,7 +7186,7 @@ static unsigned long __init arch_reserve
* quadruples the scale is increased by one, which means the size of hash table
* only doubles, instead of quadrupling as well.
*/
-#define ADAPT_SCALE_BASE (64ul << 30)
+#define ADAPT_SCALE_BASE (64ull << 30)
#define ADAPT_SCALE_SHIFT 2
#define ADAPT_SCALE_NPAGES (ADAPT_SCALE_BASE >> PAGE_SHIFT)
@@ -7222,7 +7222,7 @@ void *__init alloc_large_system_hash(con
numentries = round_up(numentries, (1<<20)/PAGE_SIZE);
if (!high_limit) {
- unsigned long adapt;
+ unsigned long long adapt;
for (adapt = ADAPT_SCALE_NPAGES; adapt < numentries;
adapt <<= ADAPT_SCALE_SHIFT)
_
Patches currently in -mm which might be from pasha.tatashin@oracle.com are
mm-zeroing-hash-tables-in-allocator.patch
mm-updated-callers-to-use-hash_zero-flag.patch
mm-adaptive-hash-table-scaling.patch
mm-adaptive-hash-table-scaling-v5.patch
reply other threads:[~2017-07-06 22:17 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=595eb706.acP3c6wNRGoSWB5y%akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=babu.moger@oracle.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mm-commits@vger.kernel.org \
--cc=pasha.tatashin@oracle.com \
--cc=sfr@canb.auug.org.au \
--cc=viro@zeniv.linux.org.uk \
/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.