Changeset 1295a1da in mainline for kernel/generic/include/lib/ra.h


Ignore:
Timestamp:
2012-05-06T17:27:16Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
25ebfbd
Parents:
caed0279
Message:

Make the ra_arena_t spinlock IRQ save.

  • The lock is currently being taken by code which performs TLB shootdown sequence and hence it could create a deadlock situation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/lib/ra.h

    rcaed0279 r1295a1da  
    4242
    4343typedef struct {
    44         SPINLOCK_DECLARE(lock);
     44        IRQ_SPINLOCK_DECLARE(lock);
    4545        list_t spans;           /**< List of arena's spans. */
    4646} ra_arena_t;
Note: See TracChangeset for help on using the changeset viewer.