mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
Make memcontrol(8) able to delete the segments starting at a base of 0
which it can create..
This commit is contained in:
parent
d249b1750a
commit
2e61f987ad
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=58408
|
@ -301,7 +301,7 @@ clearfunc(int memfd, int argc, char *argv[])
|
|||
warn("couldn't clear range owned by '%s'", owner);
|
||||
}
|
||||
}
|
||||
} else if ((mrd.mr_base != 0) && (mrd.mr_len != 0)) {
|
||||
} else if (mrd.mr_len != 0) {
|
||||
/* clear-by-base/len */
|
||||
mro.mo_arg[0] = MEMRANGE_SET_REMOVE;
|
||||
mro.mo_desc = &mrd;
|
||||
|
|
Loading…
Reference in a new issue