Re:Linux page table isolation is not needed on AMD processors
by asveikau on Tuesday January 02, 2018 @09:48PM
(#16057876)
Let's put it this way. If every contended mutex were a bug, why not remove the mutex and let the code run as-is? No, you wouldn't, so no, not a bug.
[ Parent
| on HN ]
Re:Linux page table isolation is not needed on AMD processors
by mehrdadn on Tuesday January 02, 2018 @09:57PM
(#16057922)
> Let's put it this way. If every contended mutex were a bug, why not remove the mutex and let the code run as-is? No, you wouldn't, so no, not a bug.
I mean, the parent's argument is wrong, but isn't that naive. Presumably the argument is a bad (yet still correct) solution would result in lock contention while a better solution would e.g. use a different algorithm that is more parallelizable.