Changeset c263c77 in mainline for kernel/generic/src/synch/spinlock.c
- Timestamp:
- 2011-05-20T23:12:26Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0c33b1d5
- Parents:
- b6f3e7e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/synch/spinlock.c
rb6f3e7e rc263c77 84 84 * This conserns especially printf_lock and the 85 85 * framebuffer lock. 86 * 87 * Any lock whose name is prefixed by "*" will be 88 * ignored by this deadlock detection routine 89 * as this might cause an infinite recursion. 90 * We trust our code that there is no possible deadlock 91 * caused by these locks (except when an exception 92 * is triggered for instance by printf()). 93 * 94 * We encountered false positives caused by very 95 * slow framebuffer interaction (especially when 96 * run in a simulator) that caused problems with both 97 * printf_lock and the framebuffer lock. 86 98 */ 99 if (lock->name[0] == '*') 100 continue; 101 87 102 if (i++ > DEADLOCK_THRESHOLD) { 88 103 printf("cpu%u: looping on spinlock %p:%s, "
Note:
See TracChangeset
for help on using the changeset viewer.