* + lglock-make-the-per_cpu-locks-static.patch added to -mm tree
@ 2012-10-09 21:49 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2012-10-09 21:49 UTC (permalink / raw)
To: mm-commits; +Cc: laijs, ak, rusty, viro
The patch titled
Subject: lglock: make the per_cpu locks static
has been added to the -mm tree. Its filename is
lglock-make-the-per_cpu-locks-static.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: Lai Jiangshan <laijs@cn.fujitsu.com>
Subject: lglock: make the per_cpu locks static
The per_cpu locks are not used outside the file which contains the
DEFINE_LGLOCK(), so we can make these symbols static.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
include/linux/lglock.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN include/linux/lglock.h~lglock-make-the-per_cpu-locks-static include/linux/lglock.h
--- a/include/linux/lglock.h~lglock-make-the-per_cpu-locks-static
+++ a/include/linux/lglock.h
@@ -49,7 +49,7 @@ struct lglock {
};
#define DEFINE_LGLOCK(name) \
- DEFINE_PER_CPU(arch_spinlock_t, name ## _lock) \
+ static DEFINE_PER_CPU(arch_spinlock_t, name ## _lock) \
= __ARCH_SPIN_LOCK_UNLOCKED; \
struct lglock name = { .lock = &name ## _lock }
_
Patches currently in -mm which might be from laijs@cn.fujitsu.com are
origin.patch
linux-next.patch
lglock-remove-unused-define_lglock_lockdep.patch
lglock-make-the-per_cpu-locks-static.patch
lglock-add-define_static_lglock.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-10-09 21:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-09 21:49 + lglock-make-the-per_cpu-locks-static.patch added to -mm tree akpm
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.