Opened 14 years ago

Closed 14 years ago

#239 closed defect (fixed)

page_ht_lock mutex taken while tlblock spinlock held

Reported by: Jakub Jermář Owned by:
Priority: major Milestone: 0.4.3
Component: helenos/kernel/generic Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:

Description

On architectures with the global hash page table (i.e. sparc64 and ia64), the address space management code can take a mutex while holding a spinlock.

This happens during the TLB shootdown sequence when the tlblock spinlock is locked first in tlb_shootdown_start() and then the page_ht_lock() mutex is attempted in page_table_lock(). Functions that contain this pattern are:

as_area_resize()
as_area_destroy()
as_area_change_flags()

Change History (2)

comment:1 by Jakub Jermář, 14 years ago

Fixed in changeset:head,447.

comment:2 by Jakub Jermář, 14 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.