summaryrefslogtreecommitdiff
path: root/netsniff-ng/.gitignore
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2015-03-31 12:29:58 +0300
committerTobias Klauser <tklauser@distanz.ch>2015-03-31 17:28:49 +0200
commit48097ae5585c856ce676baa006dd018f86eda565 (patch)
tree0c3a47d2490a9a51fd09f40da2a99d7172faf7a0 /netsniff-ng/.gitignore
parent2d76b0b011d451eac6dd08645e5958a25c4b8944 (diff)
trafgen: Alloc cpus according to specified number of packets
Trafgen uses all the online CPUs even if the number of packets specified by -n is less than the number of selected CPUs. Such behaviour leads to issues: - trafgen re-calculates number of packets per CPU which leads to rounding it to 0 then no packets will be sent. - trafgen might send more packets than specified by -n because of using all the online cpus. Fixed by taking min(#CPUs, #packets) as the number of CPUs if a number of packets is specified by -n. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> [tklauser: moved code and added explanatory comment] Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'netsniff-ng/.gitignore')
0 files changed, 0 insertions, 0 deletions
ing fpu_save() romfs: use different way to generate fsid for BLOCK or MTD frv: add missing atomic64 operations mm, page_alloc: fix premature OOM when racing with cpuset mems update mm, page_alloc: move cpuset seqcount checking to slowpath mm, page_alloc: fix fast-path race with cpuset update or removal mm, page_alloc: fix check for NULL preferred_zone kernel/panic.c: add missing \n fbdev: color map copying bounds checking frv: add atomic64_add_unless() mm/mempolicy.c: do not put mempolicy before using its nodemask radix-tree: fix private list warnings Documentation/filesystems/proc.txt: add VmPin mm, memcg: do not retry precharge charges proc: add a schedule point in proc_pid_readdir() mm: alloc_contig: re-allow CMA to compact FS pages mm/slub.c: trace free objects at KERN_INFO ...
Diffstat (limited to 'include/drm/drm_atomic.h')