From: Guenter Roeck <linux@roeck-us.net>
To: linux-mm@kvack.org
Cc: Christoph Lameter <cl@linux-foundation.org>,
linux-kernel@vger.kernel.org, Guenter Roeck <linux@roeck-us.net>,
Tejun Heo <tj@kernel.org>, Honggang Li <enjoymindful@gmail.com>
Subject: [PATCH] Revert "percpu: free percpu allocation info for uniprocessor system"
Date: Sun, 21 Sep 2014 15:04:53 -0700 [thread overview]
Message-ID: <1411337093-683-1-git-send-email-linux@roeck-us.net> (raw)
This reverts commit 3189eddbcafc ("percpu: free percpu allocation info for
uniprocessor system").
The commit causes a hang with a crisv32 image. This may be an architecture
problem, but at least for now the revert is necessary to be able to boot a
crisv32 image.
Fixes: 3189eddbcafc ("percpu: free percpu allocation info for uniprocessor system")
Cc: Tejun Heo <tj@kernel.org>
Cc: Honggang Li <enjoymindful@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
Resent as non-RFC patch per Tejun's request.
mm/percpu.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/mm/percpu.c b/mm/percpu.c
index da997f9..2139e30 100644
--- a/mm/percpu.c
+++ b/mm/percpu.c
@@ -1932,8 +1932,6 @@ void __init setup_per_cpu_areas(void)
if (pcpu_setup_first_chunk(ai, fc) < 0)
panic("Failed to initialize percpu areas.");
-
- pcpu_free_alloc_info(ai);
}
#endif /* CONFIG_SMP */
--
1.9.1
next reply other threads:[~2014-09-21 22:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-21 22:04 Guenter Roeck [this message]
2014-09-22 4:02 ` [PATCH] Revert "percpu: free percpu allocation info for uniprocessor system" Tejun Heo
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=1411337093-683-1-git-send-email-linux@roeck-us.net \
--to=linux@roeck-us.net \
--cc=cl@linux-foundation.org \
--cc=enjoymindful@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=tj@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).