aboutsummaryrefslogtreecommitdiff
path: root/arch/um
diff options
context:
space:
mode:
authorJack Steiner <steiner@sgi.com>2006-04-22 09:37:19 -0500
committerTony Luck <tony.luck@intel.com>2006-04-27 14:29:05 -0700
commitdd4cb9f8ac9717c9db2b2afc5a82cb95a3d5dec3 (patch)
tree94725efb2f8c1fc9272d1599bd7764bab9023228 /arch/um
parentf0fe253c4719faf76d40f581cdc0e8aef77273bb (diff)
[IA64-SGI] - Reduce overhead of reading sn_topology
MPI programs using certain debug options have a long startup time. This was traced to a "vmalloc/vfree" in the code that reads /proc/sgi_sn/sn_topology. On large systems, vfree requires an IPI to all cpus to do TLB purging. Replace the vmalloc/vfree with kmalloc/kfree. Although the size of the structure being allocated is unknown, it will not not exceed 96 bytes. Signed-off-by: Jack Steiner <steiner@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/um')
0 files changed, 0 insertions, 0 deletions