Changeset 6ddd7f8 in mainline


Ignore:
Timestamp:
2022-02-10T23:00:49Z (2 years ago)
Author:
Jakub Jermář <jakub@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cd0a38e
Parents:
0436aec
Message:

Don't unmap the entire kernel ASID during km_unmap

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/mm/km.c

    r0436aec r6ddd7f8  
    171171                page_mapping_remove(AS_KERNEL, vaddr + offs);
    172172
    173         tlb_invalidate_asid(ASID_KERNEL);
     173        tlb_invalidate_pages(ASID_KERNEL, vaddr, size >> PAGE_WIDTH);
    174174
    175175        as_invalidate_translation_cache(AS_KERNEL, 0, -1);
     
    203203 *
    204204 * @param vaddr         Virtual address to be unmapped. May be unaligned, but
    205  *                      it must a value previously returned by km_map().
     205 *                      it must be a value previously returned by km_map().
    206206 * @param size          Size of area starting at vaddr to be unmapped.
    207207 */
Note: See TracChangeset for help on using the changeset viewer.