[PATCH -mm 0/2] Redo write_trylock_irqsave() in -mm

From: Satyam Sharma
Date: Thu May 10 2007 - 15:01:05 EST


-mm recently added a write_trylock_irqsave() implementation. We can do
a better implementation than that, so we're able to:

1. Have a slightly faster implementation
2. Have a far lesser invasive patch (add fewer lines, touch fewer files)
3. Be consistent in style with the spin_trylock_irqsave() of mainline and -mm

(http://lkml.org/lkml/2007/5/9/575)

For the sake of completeness of the API, we could also add a
read_trylock_irqsave, but I'd be against the _irq variants (or should
we call them hazards) that don't save / restore.

[PATCH -mm 1/2] Kills the previous implementation of write_trylock_irqsave()

[PATCH -mm 2/2] Reintroduces the new implementation of write_trylock_irqsave()

Signed-off-by: Satyam Sharma <ssatyam@xxxxxxxxxxxxxx>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/