diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-11-29 00:44:33 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-29 01:17:39 -0800 |
commit | 3291b9db567e1ec38362024049cbd02987b1e277 (patch) | |
tree | 8de6878abfed5a16974747c54c4e1420327b86ab /mm/mmzone.c | |
parent | Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 (diff) | |
download | linux-dev-3291b9db567e1ec38362024049cbd02987b1e277.tar.xz linux-dev-3291b9db567e1ec38362024049cbd02987b1e277.zip |
pktgen: NUMA aware
pktgen threads are bound to given CPU, we can allocate memory for
these threads in a NUMA aware way.
After a pktgen session on two threads, we can check flows memory was
allocated on right node, instead of a not related one.
# grep pktgen_thread_write /proc/vmallocinfo
0xffffc90007204000-0xffffc90007385000 1576960 pktgen_thread_write+0x3a4/0x6b0 [pktgen] pages=384 vmalloc N0=384
0xffffc90007386000-0xffffc90007507000 1576960 pktgen_thread_write+0x3a4/0x6b0 [pktgen] pages=384 vmalloc N1=384
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/mmzone.c')
0 files changed, 0 insertions, 0 deletions