diff options
author | Vladimir Isaev <visaev@netgate.com> | 2020-03-17 12:30:11 +0300 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-08-13 10:39:40 +0000 |
commit | 704ebc1f89aa8b9e2ee022b76f25756fbd40c416 (patch) | |
tree | 35c3ea30c2cb82e92cb67d25bd095027def32516 /src/vlib/physmem.c | |
parent | c81ba3d6a611e08b8eb0e5097b01c01c4356b5ff (diff) |
vlib: complain if workers are configured twice
Right now following configuration leads to crash:
cpu {
corelist-workers 2
workers 2
}
because threads count will be set to 2, but we have only
one core in coremask.
Type: fix
Signed-off-by: Vladimir Isaev <visaev@netgate.com>
Change-Id: Ia93b892733971e7c8ddfceaaec5f4eb8bf9063ac
(cherry picked from commit 18a4a371646bccfd299e6a509e801a524aeb4c92)
Diffstat (limited to 'src/vlib/physmem.c')
0 files changed, 0 insertions, 0 deletions