aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorSebastien Dugue <[email protected]>2008-09-04 22:37:08 +1000
committerPaul Mackerras <[email protected]>2008-09-15 11:08:45 -0700
commit150c6c8fecf6daaf68c2987ba2b6b259baefdff2 (patch)
treed624972d02c6e6da7966077b006b39a88ef5059b /fs/jbd2/commit.c
parent967e012ef306e99cfddcd7423f37414e6b568361 (diff)
powerpc: Make the irq reverse mapping radix tree lockless
The radix trees used by interrupt controllers for their irq reverse mapping (currently only the XICS found on pSeries) have a complex locking scheme dating back to before the advent of the lockless radix tree. This takes advantage of the lockless radix tree and of the fact that the items of the tree are pointers to a static array (irq_map) elements which can never go under us to simplify the locking. Concurrency between readers and writers is handled by the intrinsic properties of the lockless radix tree. Concurrency between writers is handled with a global mutex. Signed-off-by: Sebastien Dugue <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Michael Ellerman <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions