Changeset 712c4ba in mainline for kernel/generic/src/synch/spinlock.c
- Timestamp:
- 2011-05-20T16:09:24Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b6f3e7e
- Parents:
- 326bf65
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/synch/spinlock.c
r326bf65 r712c4ba 84 84 * This conserns especially printf_lock and the 85 85 * framebuffer lock. 86 *87 * Any lock whose name is prefixed by "*" will be88 * ignored by this deadlock detection routine89 * as this might cause an infinite recursion.90 * We trust our code that there is no possible deadlock91 * caused by these locks (except when an exception92 * is triggered for instance by printf()).93 *94 * We encountered false positives caused by very95 * slow framebuffer interaction (especially when96 * run in a simulator) that caused problems with both97 * printf_lock and the framebuffer lock.98 *99 86 */ 100 if (lock->name[0] == '*')101 continue;102 103 87 if (i++ > DEADLOCK_THRESHOLD) { 104 88 printf("cpu%u: looping on spinlock %p:%s, "
Note:
See TracChangeset
for help on using the changeset viewer.