Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dcc17d1b authored by Peter Keilty's avatar Peter Keilty Committed by Tony Luck
Browse files

[IA64] Use bitmaps for efficient context allocation/free



Corrects the very inefficent method of finding free context_ids in
get_mmu_context().  Instead of walking the task_list of all processes,
2 bitmaps are used to efficently store and lookup state, inuse and
needs flushing. The entire rid address space is now used before calling
wrap_mmu_context and global tlb flushing.

Special thanks to Ken and Rohit for their review and modifications in
using a bit flushmap.

Signed-off-by: default avatarPeter Keilty <peter.keilty@hp.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent f2c84c0e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment