diff options
| author | Byungchul Park <byungchul.park@lge.com> | 2017-10-25 04:56:02 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2017-10-25 06:19:02 -0400 |
| commit | e121d64e16484d4a5eba94cd2fa9eb3848b7c9c2 (patch) | |
| tree | cd5a01b328ca0c2337aa035a0e0c2b11a38e9e4d /kernel/locking/lockdep.c | |
| parent | 2dcd5adfb7401b762ddbe4b86dcacc2f3de6b97b (diff) | |
locking/lockdep: Introduce CONFIG_BOOTPARAM_LOCKDEP_CROSSRELEASE_FULLSTACK=y
Add a Kconfig knob that enables the lockdep "crossrelease_fullstack" boot parameter.
Suggested-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Byungchul Park <byungchul.park@lge.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: amir73il@gmail.com
Cc: axboe@kernel.dk
Cc: darrick.wong@oracle.com
Cc: david@fromorbit.com
Cc: hch@infradead.org
Cc: idryomov@gmail.com
Cc: johan@kernel.org
Cc: johannes.berg@intel.com
Cc: kernel-team@lge.com
Cc: linux-block@vger.kernel.org
Cc: linux-fsdevel@vger.kernel.org
Cc: linux-mm@kvack.org
Cc: linux-xfs@vger.kernel.org
Cc: oleg@redhat.com
Cc: tj@kernel.org
Link: http://lkml.kernel.org/r/1508921765-15396-7-git-send-email-byungchul.park@lge.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/locking/lockdep.c')
| -rw-r--r-- | kernel/locking/lockdep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c index 160b5d6df7cb..db933d063bfc 100644 --- a/kernel/locking/lockdep.c +++ b/kernel/locking/lockdep.c | |||
| @@ -76,7 +76,11 @@ module_param(lock_stat, int, 0644); | |||
| 76 | #define lock_stat 0 | 76 | #define lock_stat 0 |
| 77 | #endif | 77 | #endif |
| 78 | 78 | ||
| 79 | #ifdef CONFIG_BOOTPARAM_LOCKDEP_CROSSRELEASE_FULLSTACK | ||
| 80 | static int crossrelease_fullstack = 1; | ||
| 81 | #else | ||
| 79 | static int crossrelease_fullstack; | 82 | static int crossrelease_fullstack; |
| 83 | #endif | ||
| 80 | static int __init allow_crossrelease_fullstack(char *str) | 84 | static int __init allow_crossrelease_fullstack(char *str) |
| 81 | { | 85 | { |
| 82 | crossrelease_fullstack = 1; | 86 | crossrelease_fullstack = 1; |
