Changeset 82cbf8c6 in mainline for kernel/genarch/src/mm/as_ht.c


Ignore:
Timestamp:
2017-10-08T19:37:24Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2fd26bb
Parents:
81b9d3e
Message:

Replace the old hash table implementation in the kernel with the newer one

This replaces the original hash table implementation with the resizable one
already used in uspace. Along the way, the IRQ hash table code was streamlined
and cleaned up.

File:
1 edited

Legend:

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

    r81b9d3e r82cbf8c6  
    7575{
    7676        if (flags & FLAG_AS_KERNEL) {
    77                 hash_table_create(&page_ht, PAGE_HT_ENTRIES, 2, &ht_operations);
     77                hash_table_create(&page_ht, 0, 0, &ht_ops);
    7878                pte_cache = slab_cache_create("pte_t", sizeof(pte_t), 0,
    7979                    NULL, NULL, SLAB_CACHE_MAGDEFERRED);
Note: See TracChangeset for help on using the changeset viewer.