dup1_processes -t 96 -s 5 on a dual 8160

x dup_before
+ dup_after
+------------------------------------------------------------+
|             x                                            + |
|x    x   x   x                                         ++ ++|
|   |____AM___|                                          |AM||
+------------------------------------------------------------+
    N           Min           Max        Median           Avg        Stddev
x   5  1.514954e+08 1.5230351e+08 1.5206157e+08 1.5199371e+08     341205.71
+   5 1.5494336e+08 1.5519569e+08 1.5511982e+08 1.5508323e+08     96232.829
Difference at 95.0% confidence
        3.08952e+06 +/- 365604
        2.03266% +/- 0.245071%
        (Student's t, pooled s = 250681)

Reported by:	mjg@
MFC after:	1 week
This commit is contained in:
Matt Macy 2018-05-04 06:51:01 +00:00
parent f0648bcc04
commit 748ff486b0

View File

@ -1503,7 +1503,7 @@ filecaps_copy(const struct filecaps *src, struct filecaps *dst, bool locked)
if (src->fc_ioctls != NULL && !locked)
return (false);
*dst = *src;
memcpy(dst, src, sizeof(*src));
if (src->fc_ioctls == NULL)
return (true);
@ -1512,7 +1512,7 @@ filecaps_copy(const struct filecaps *src, struct filecaps *dst, bool locked)
size = sizeof(src->fc_ioctls[0]) * src->fc_nioctls;
dst->fc_ioctls = malloc(size, M_FILECAPS, M_WAITOK);
bcopy(src->fc_ioctls, dst->fc_ioctls, size);
memcpy(dst->fc_ioctls, src->fc_ioctls, size);
return (true);
}