From: David Rientjes <rientjes@google.com>
To: Dave Hansen <dave@sr71.net>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
peterz@infradead.org, penberg@kernel.org, linux@arm.linux.org.uk
Subject: Re: [linux-next][PATCH] mm: slub: work around unneeded lockdep warning
Date: Sat, 25 Jan 2014 20:41:41 -0800 (PST) [thread overview]
Message-ID: <alpine.DEB.2.02.1401252041120.10325@chino.kir.corp.google.com> (raw)
In-Reply-To: <20140124152023.A450E599@viggo.jf.intel.com>
On Fri, 24 Jan 2014, Dave Hansen wrote:
> From: Dave Hansen <dave.hansen@linux.intel.com>
>
> The slub code does some setup during early boot in
> early_kmem_cache_node_alloc() with some local data. There is no
> possible way that another CPU can see this data, so the slub code
> doesn't unnecessarily lock it. However, some new lockdep asserts
> check to make sure that add_partial() _always_ has the list_lock
> held.
>
> Just add the locking, even though it is technically unnecessary.
>
> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
> Cc: Peter Zijlstra <peterz@infradead.org>
> Cc: Pekka Enberg <penberg@kernel.org>
> Cc: Russell King <linux@arm.linux.org.uk>
Acked-by: David Rientjes <rientjes@google.com>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2014-01-26 4:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-24 15:20 Dave Hansen
2014-01-26 4:41 ` David Rientjes [this message]
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=alpine.DEB.2.02.1401252041120.10325@chino.kir.corp.google.com \
--to=rientjes@google.com \
--cc=dave@sr71.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux@arm.linux.org.uk \
--cc=penberg@kernel.org \
--cc=peterz@infradead.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