Messages in this thread Patch in this message | | | From | Jan H. Schönherr <> | Subject | [RFC 11/60] locking/lockdep: Increase number of supported lockdep subclasses | Date | Fri, 7 Sep 2018 23:39:58 +0200 |
| |
With coscheduling the number of required classes is twice the depth of the scheduling domain hierarchy. For a 256 CPU system, there are eight levels at most. Adjust the number of subclasses, so that lockdep can still be used on such systems.
Signed-off-by: Jan H. Schönherr <jschoenh@amazon.de> --- include/linux/lockdep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h index b0d0b51c4d85..d93a5ec3077f 100644 --- a/include/linux/lockdep.h +++ b/include/linux/lockdep.h @@ -17,7 +17,7 @@ struct lockdep_map; extern int prove_locking; extern int lock_stat; -#define MAX_LOCKDEP_SUBCLASSES 8UL +#define MAX_LOCKDEP_SUBCLASSES 16UL #include <linux/types.h> -- 2.9.3.1.gcba166c.dirty
| |