Commit 1bce3629 authored by Nils Goroll's avatar Nils Goroll

Revert "add some memory barriers in vsc"

The problem must be elsewhere, vtest results show no improvement

This reverts commit 57a3042d.
parent 2c0fed9a
......@@ -46,7 +46,6 @@
#include "vjsn.h"
#include "vsb.h"
#include "vend.h"
#include "vmb.h"
#include "vapi/vsc.h"
#include "vapi/vsm.h"
......@@ -274,7 +273,6 @@ vsc_add_pt(struct vsc *vsc, const volatile void *ptr,
pt->point.desc = desc;
pt->point.ptr = ptr;
pt->point.section = &vf->section;
VWMB();
VTAILQ_INSERT_TAIL(&vsc->pt_list, pt, list);
}
......@@ -484,7 +482,6 @@ VSC_Iter(struct vsm *vd, struct VSM_fantom *fantom, VSC_iter_f *func,
if (fantom != NULL)
*fantom = vsc->iter_fantom;
VTAILQ_FOREACH(pt, &vsc->pt_list, list) {
VRMB();
i = func(priv, &pt->point);
if (i)
return (i);
......
......@@ -50,7 +50,6 @@
#include "vsm_priv.h"
#include "vsc_priv.h"
#include "vtim.h"
#include "vmb.h"
#include "vapi/vsm.h"
......@@ -113,7 +112,6 @@ VSM_SetVSC(struct vsm *vd, struct vsc *vsc)
{
CHECK_OBJ_NOTNULL(vd, VSM_MAGIC);
VWMB();
vd->vsc = vsc;
}
......@@ -122,7 +120,6 @@ VSM_GetVSC(const struct vsm *vd)
{
CHECK_OBJ_NOTNULL(vd, VSM_MAGIC);
VRMB();
return (vd->vsc);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment