Skip to content

Commit

Permalink
Revert "pmdalinux: restore IPC indoms from disk on first access"
Browse files Browse the repository at this point in the history
This reverts commit d6e61bd.
  • Loading branch information
natoscott committed Feb 15, 2024
1 parent 45ec0fb commit 01523e4
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/pmdas/linux/ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,6 @@ refresh_shm_stat(pmInDom shm_indom)
char buf[512];
FILE *fp;
int sts, needsave = 0;
static int setup;

if (!setup) {
pmdaCacheOp(shm_indom, PMDA_CACHE_LOAD);
setup = 1;
}

pmdaCacheOp(shm_indom, PMDA_CACHE_INACTIVE);

Expand Down Expand Up @@ -240,12 +234,6 @@ refresh_msg_queue(pmInDom msg_indom)
char buf[512];
FILE *fp;
int sts, needsave = 0;
static int setup;

if (!setup) {
pmdaCacheOp(msg_indom, PMDA_CACHE_LOAD);
setup = 1;
}

pmdaCacheOp(msg_indom, PMDA_CACHE_INACTIVE);

Expand Down Expand Up @@ -301,12 +289,6 @@ refresh_sem_array(pmInDom sem_indom)
char buf[512];
FILE *fp;
int sts, needsave = 0;
static int setup;

if (!setup) {
pmdaCacheOp(sem_indom, PMDA_CACHE_LOAD);
setup = 1;
}

pmdaCacheOp(sem_indom, PMDA_CACHE_INACTIVE);

Expand Down

0 comments on commit 01523e4

Please sign in to comment.