Re: [PATCH] x86-32: Allocate irq stacks seperate from percpu area

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Wednesday, October 27, 2010 - 9:07 am

Le mercredi 27 octobre 2010 à 17:35 +0200, Tejun Heo a écrit :


Will do in a few moment, once I recover from frozen machine  :(
(See end of this mail)

Thanks !

By the way, booting with hashdist=1 to make alloc_large_system_hash()
use vmalloc() show that only pages from node 0 were used at boot.

# grep alloc_large /proc/vmallocinfo 
0xf7a01000-0xf7a82000  528384 alloc_large_system_hash+0x144/0x1d9 pages=128 vmalloc N0=128
0xf7a83000-0xf7ac4000  266240 alloc_large_system_hash+0x144/0x1d9 pages=64 vmalloc N0=64
0xf7b11000-0xf7b32000  135168 alloc_large_system_hash+0x144/0x1d9 pages=32 vmalloc N0=32
0xf7b33000-0xf7c34000 1052672 alloc_large_system_hash+0x144/0x1d9 pages=256 vmalloc N0=256
0xf7c39000-0xf7cba000  528384 alloc_large_system_hash+0x144/0x1d9 pages=128 vmalloc N0=128
0xf7cbb000-0xf7cc0000   20480 alloc_large_system_hash+0x144/0x1d9 pages=4 vmalloc N0=4
0xf7cc1000-0xf7cc6000   20480 alloc_large_system_hash+0x144/0x1d9 pages=4 vmalloc N0=4


So I tried following experiment :

# swapoff
# numactl --membind=0 swapon -a
# grep swap /proc/vmallocinfo 
0xf9bf3000-0xf9cf4000 1052672 sys_swapon+0x4aa/0xb24 pages=256 vmalloc N0=256
# swapoff -a
# numactl --membind=1 swapon -a

<<FREEZE>>


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] x86, percpu: revert commit fe8e0c25, Tejun Heo, (Tue Oct 26, 5:45 am)
Re: [PATCH] x86, percpu: revert commit fe8e0c25, Ingo Molnar, (Tue Oct 26, 6:25 am)
Re: [PATCH] x86, percpu: revert commit fe8e0c25, Tejun Heo, (Tue Oct 26, 6:34 am)
Re: [PATCH] x86, percpu: revert commit fe8e0c25, Brian Gerst, (Tue Oct 26, 6:49 am)
Re: [PATCH] x86, percpu: revert commit fe8e0c25, Linus Torvalds, (Tue Oct 26, 8:08 am)
[tip:x86/urgent] x86-32: Allocate irq stacks seperate from ..., tip-bot for Brian Gerst, (Wed Oct 27, 9:03 am)
[tip:x86/urgent] percpu: Remove the multi-page alignment f ..., tip-bot for Ingo Molnar, (Wed Oct 27, 9:04 am)
Re: [PATCH] x86-32: Allocate irq stacks seperate from perc ..., Eric Dumazet, (Wed Oct 27, 9:07 am)
[PATCH] numa: fix slab_node(MPOL_BIND), Eric Dumazet, (Wed Oct 27, 10:33 am)
[PATCH] x86-32: NUMA irq stacks allocations, Eric Dumazet, (Thu Oct 28, 7:40 am)
Re: [PATCH] numa: fix slab_node(MPOL_BIND), Linus Torvalds, (Thu Oct 28, 8:59 am)
Re: [PATCH] numa: fix slab_node(MPOL_BIND), Eric Dumazet, (Thu Oct 28, 9:27 am)
Re: [PATCH] numa: fix slab_node(MPOL_BIND), Mel Gorman, (Thu Oct 28, 9:45 am)
Re: [PATCH] numa: fix slab_node(MPOL_BIND), Christoph Lameter, (Thu Oct 28, 9:55 am)
Re: [PATCH] numa: fix slab_node(MPOL_BIND), Andrew Morton, (Thu Oct 28, 2:07 pm)
[tip:x86/urgent] x86-32: Restore irq stacks NUMA-aware all ..., tip-bot for Eric Dumazet, (Thu Oct 28, 11:43 pm)
Re: [PATCH] numa: fix slab_node(MPOL_BIND), Christoph Lameter, (Fri Oct 29, 7:55 am)