Remove obsolete MB barrier for LKMM store#1007
Remove obsolete MB barrier for LKMM store#1007hernanponcedeleon merged 2 commits intodevelopmentfrom
Conversation
Signed-off-by: Hernan Ponce de Leon <hernanl.leon@huawei.com>
ThomasHaas
left a comment
There was a problem hiding this comment.
LGTM. Is this the only remaining instance of obsolete barriers?
|
I just noticed there is one more in the Strictly speaking, if we want to follow to the dot what herd+lkmm do, we need to add the extra barrier. However, I would go with deviating from them (I am pretty sure the patch from Jonas could have also simplified the |
|
I have no problem deviating from herd :). The only disadvantage with getting rid of all the barriers is that we do not support the old LKMM, but I'm not too keen to maintain both old and new compilation schemes for Linux. P.S. I still find it quite annoying that we respect herd's precedence ordering for |
Signed-off-by: Hernan Ponce de Leon <hernanl.leon@huawei.com>
We stopped supporting the old LKMM as soon as we merged #893. While this PR removes the barriers on |
I know, my statement was more general. If you added a "compile to old LKMM" option and added the barrier in |
The removed code became obsolete after #893