From: Peter Keilty Date: Mon, 31 Oct 2005 21:44:47 +0000 (-0500) Subject: [IA64] Use bitmaps for efficient context allocation/free X-Git-Tag: v2.6.15-rc1~42^2~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcc17d1baef3721d1574e5b2f4f2d4607514bcff;p=pandora-kernel.git [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: Peter Keilty Signed-off-by: Tony Luck --- Reading git-diff-tree failed