Changeset 08a19ba in mainline for kernel/genarch/src/mm/as_ht.c


Ignore:
Timestamp:
2008-06-23T18:44:48Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1a1744e
Parents:
deaf8d5
Message:

Support for active mutexes. Active mutexes implement busy waiting, pretty much
in the same way as spinlocks, but can be passed to condition variables, which is
the motivation for this enhancement.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/mm/as_ht.c

    rdeaf8d5 r08a19ba  
    7373        if (flags & FLAG_AS_KERNEL) {
    7474                hash_table_create(&page_ht, PAGE_HT_ENTRIES, 2, &ht_operations);
    75                 mutex_initialize(&page_ht_lock);
     75                mutex_initialize(&page_ht_lock, MUTEX_PASSIVE);
    7676        }
    7777        return NULL;
Note: See TracChangeset for help on using the changeset viewer.