Re: [PATCH] XPC heartbeat timer function must run on CPU 0

2007-11-08 Thread Dean Nelson
On Wed, Nov 07, 2007 at 08:26:59AM -0800, Luck, Tony wrote: > > Currently, XPC's heartbeat timer function runs on whatever CPU > > modprobe/insmod > > ran on when XPC was started. To avoid the heartbeat from being delayed for > > long periods the timer function must run on CPU 0. > > Does Altix a

[PATCH] XPC heartbeat timer function must run on CPU 0

2007-11-07 Thread Dean Nelson
Currently, XPC's heartbeat timer function runs on whatever CPU modprobe/insmod ran on when XPC was started. To avoid the heartbeat from being delayed for long periods the timer function must run on CPU 0. Signed-off-by: Dean Nelson <[EMAIL PROTECTED]> Index: linux-2.6/arch/ia6

Re: [PATCH 1/4] export __put_task_struct for XPMEM

2007-08-27 Thread Dean Nelson
On Mon, Aug 27, 2007 at 07:15:44PM +0100, Al Viro wrote: > On Mon, Aug 27, 2007 at 01:10:56PM -0500, Dean Nelson wrote: > > On Mon, Aug 27, 2007 at 05:13:28PM +0100, Al Viro wrote: > > > On Mon, Aug 27, 2007 at 10:59:33AM -0500, Dean Nelson wrote: > > > > This patch e

Re: [PATCH 1/4] export __put_task_struct for XPMEM

2007-08-27 Thread Dean Nelson
On Mon, Aug 27, 2007 at 05:13:28PM +0100, Al Viro wrote: > On Mon, Aug 27, 2007 at 10:59:33AM -0500, Dean Nelson wrote: > > This patch exports __put_task_struct as it is needed by XPMEM. > > > > Signed-off-by: Dean Nelson <[EMAIL PROTECTED]> > > > >

[PATCH 4/4] add SGI Altix cross partition memory (XPMEM) driver

2007-08-27 Thread Dean Nelson
This patch has been bzip2'd and included as an attachment due to size. xpmem-module.v002.bz2 Description: application/bzip

[PATCH 3/4] add new lock ordering rule to mm/filemap.c

2007-08-27 Thread Dean Nelson
This patch adds a lock ordering rule to avoid a potential deadlock when multiple mmap_sems need to be locked. Signed-off-by: Dean Nelson <[EMAIL PROTECTED]> Index: linux-2.6/mm/filemap.c === --- linux-2.6.orig/mm/filemap.c 2

[PATCH 2/4] export zap_page_range for XPMEM

2007-08-27 Thread Dean Nelson
This patch exports zap_page_range as it is needed by XPMEM. Signed-off-by: Dean Nelson <[EMAIL PROTECTED]> --- XPMEM would have used sys_madvise() except that madvise_dontneed() madvise_dontneed() returns an -EINVAL if VM_PFNMAP is set, which is always true for the pages XPMEM import

[PATCH 1/4] export __put_task_struct for XPMEM

2007-08-27 Thread Dean Nelson
This patch exports __put_task_struct as it is needed by XPMEM. Signed-off-by: Dean Nelson <[EMAIL PROTECTED]> --- One struct file_operations registered by XPMEM, xpmem_open(), calls 'get_task_struct(current->group_leader)' and another, xpmem_flush(), calls 'put_task

[PATCH 0/4] SGI Altix cross partition memory (XPMEM)

2007-08-27 Thread Dean Nelson
Terminology The term 'partition', adopted by the SGI hardware designers and which perculated up into the software, is used in reference to a single SSI when multiple SSIs are running on a single Altix. An Altix running multiple SSIs is said to be 'partitioned', whereas one that is running onl

Re: [RFC 3/3] SGI Altix cross partition memory (XPMEM)

2007-08-22 Thread Dean Nelson
On Wed, Aug 22, 2007 at 11:04:22AM -0700, Andrew Morton wrote: > On Wed, 22 Aug 2007 12:00:11 -0500 > Dean Nelson <[EMAIL PROTECTED]> wrote: > > > > > 3) WARNING: declaring multiple variables together should be avoided > > > > checkpatch.pl is erron

Re: [RFC 3/3] SGI Altix cross partition memory (XPMEM)

2007-08-22 Thread Dean Nelson
On Thu, Aug 09, 2007 at 11:15:42PM -0700, Andrew Morton wrote: > On Thu, 9 Aug 2007 20:14:35 -0500 Dean Nelson <[EMAIL PROTECTED]> wrote: > > > This patch provides cross partition access to user memory (XPMEM) when > > running multiple partitions on a single SGI Altix. >

[RFC 3/3] SGI Altix cross partition memory (XPMEM)

2007-08-09 Thread Dean Nelson
This patch provides cross partition access to user memory (XPMEM) when running multiple partitions on a single SGI Altix. Signed-off-by: Dean Nelson <[EMAIL PROTECTED]> xpmem-module.v002.bz2 Description: BZip2 compressed data

[RFC 2/3] SGI Altix cross partition memory (XPMEM)

2007-08-09 Thread Dean Nelson
This patch exports zap_page_range as it is needed by XPMEM. Signed-off-by: Dean Nelson <[EMAIL PROTECTED]> --- XPMEM would have used sys_madvise() except that madvise_dontneed() madvise_dontneed() returns an -EINVAL if VM_PFNMAP is set, which is always true for the pages XPMEM import

Re: [RFC 1/3] SGI Altix cross partition memory (XPMEM)

2007-08-09 Thread Dean Nelson
This patch exports __put_task_struct as it is needed by XPMEM. Signed-off-by: Dean Nelson <[EMAIL PROTECTED]> --- One struct file_operations registered by XPMEM, xpmem_open(), calls 'get_task_struct(current->group_leader)' and another, xpmem_flush(), calls 'put_task

[RFC 0/3] SGI Altix cross partition memory (XPMEM)

2007-08-09 Thread Dean Nelson
Terminology The term 'partition', adopted by the SGI hardware designers and which perculated up into the software, is used in reference to a single SSI when multiple SSIs are running on a single Altix. An Altix running multiple SSIs is said to be 'partitioned', whereas one that is running onl

[PATCH] add sn_register_pmi_handler oemcall

2007-07-11 Thread Dean Nelson
Add wrapper function to make SN_SAL_REGISTER_PMI_HANDLER ia64_sal_oemcall. Signed-off-by: Dean Nelson <[EMAIL PROTECTED]> Index: linux-2.6/include/asm-ia64/sn/sn_sal.h === --- linux-2.6.orig/include/asm-ia64/sn/sn_sal.h 2007

[PATCH] change sh_change_coherence oemcall to use nolock

2007-06-19 Thread Dean Nelson
Change sn_change_coherence's ia64_sal_oemcall to the nolock variety since PROM does the locking for this function internally. Signed-off-by: Dean Nelson <[EMAIL PROTECTED]> Index: linux-2.6/include/asm-ia64/

[PATCH] ensure XPC and XPNET are loaded on sn2 platforms only

2005-09-08 Thread Dean Nelson
These are SN2 only drivers. They should have platform checks to prevent them from doing evil stuff in GENERIC kernels. Signed-off-by: Martin Hicks <[EMAIL PROTECTED]> Acked-by: Dean Nelson <[EMAIL PROTECTED]> arch/ia64/sn/kernel/xpc_main.c |4 arch/ia64/sn/kernel/xpnet

[PATCH] get XPC to cleanly disengage from remote memory references

2005-09-01 Thread Dean Nelson
ff-by: Dean Nelson <[EMAIL PROTECTED]> arch/ia64/sn/kernel/xpc.h | 288 ++--- arch/ia64/sn/kernel/xpc_channel.c | 216 +--- arch/ia64/sn/kernel/xpc_main.c | 244 arch/ia64/sn/kernel/xpc_partiti

Re: [PATCH] fix call of smp_processor_id() by XPC while preemptible

2005-07-13 Thread Dean Nelson
On Tue, Jul 12, 2005 at 09:47:54PM +0100, Christoph Hellwig wrote: > On Tue, Jul 12, 2005 at 02:30:45PM -0500, Dean Nelson wrote: > > xpc_vars_part[partid].IPI_amo_pa = __pa(part->local_IPI_amo_va); > > - xpc_vars_part[partid].IPI_nasid = cpuid_to_nasi

Re: [PATCH] fix call of smp_processor_id() by XPC while preemptible

2005-07-12 Thread Dean Nelson
On Tue, Jul 12, 2005 at 12:39:55PM -0700, Luck, Tony wrote: > >XPC calls smp_processor_id() twice from xpc_setup_infrastructure() with > >preemption enabled, which gets flagged if 'DEBUG_PREEMPT=y'. This patch > >disables preemption around a now single call to smp_processor_id(). Note > >that it do

[PATCH] fix call of smp_processor_id() by XPC while preemptible

2005-07-12 Thread Dean Nelson
sor once it has the processor ID. Signed-off-by: Dean Nelson <[EMAIL PROTECTED]> Index: linux-2.6/arch/ia64/sn/kernel/xpc_channel.c === --- linux-2.6.orig/arch/ia64/sn/kernel/xpc_channel.c2005-07-12 12:09:14.026288661 -05

Re: [PATCH 6/14] ia64/sn: use msleep_interruptible() instead of schedule_timeout()

2005-07-11 Thread Dean Nelson
On Fri, Jul 08, 2005 at 05:10:22PM -0700, Nishanth Aravamudan wrote: > From: Nishanth Aravamudan <[EMAIL PROTECTED]> > > Description: Replace schedule_timeout() with msleep_interruptible() to > guarantee the task delays as expected. > > Signed-off-by: Nishanth Aravamudan <[EMAIL PROTECTED]> Your

[PATCH] convert AMO address found in XPC's reserved page

2005-04-04 Thread Dean Nelson
igned-off-by: Dean Nelson <[EMAIL PROTECTED]> Index: linux-2.6/arch/ia64/sn/kernel/xpc_partition.c === --- linux-2.6.orig/arch/ia64/sn/kernel/xpc_partition.c 2005-03-31 12:34:54.109073128 -0600 +++ linux-2.6/arch/ia6

Re: [PATCH 3/3] SGI Altix cross partition functionality (2nd revision)

2005-03-23 Thread Dean Nelson
nly non-linear SKB > scatterlist pages will. Dave, I've made the changes you indicated and the new patch follows. Thanks, Dean This patch contains the cross partition pseudo-ethernet driver (XPNET) functional support module. Signed-off-by: Dean Nelson <[EMAIL PROTECTED]> Index: linux

[PATCH 3/3] SGI Altix cross partition functionality (2nd revision)

2005-03-23 Thread Dean Nelson
This patch contains the cross partition pseudo-ethernet driver (XPNET) functional support module. Signed-off-by: Dean Nelson <[EMAIL PROTECTED]> Index: linux-2.6/arch/ia64/sn/kernel/xpnet.c === --- /dev/null 1970-01-01

[PATCH 2/3] SGI Altix cross partition functionality (2nd revision)

2005-03-23 Thread Dean Nelson
This patch contains the communication module (XPC) for cross partition communication on a partitioned SGI Altix. Signed-off-by: Dean Nelson <[EMAIL PROTECTED]> xpc.gz Description: application/gunzip

[PATCH 1/3] SGI Altix cross partition functionality (2nd revision)

2005-03-23 Thread Dean Nelson
This patch contains the shim module (XP) which interfaces between the communication module (XPC) and the functional support modules (like XPNET). Signed-off-by: Dean Nelson <[EMAIL PROTECTED]> Index: linux-2.6/arch/ia64/K

[PATCH 0/3] SGI Altix cross partition functionality (2nd revision)

2005-03-23 Thread Dean Nelson
Terminology The term 'partition', adopted by the SGI hardware designers and which perculated up into the software, is used in reference to a single SSI when multiple SSIs are running on a single Altix. An Altix running multiple SSIs is said to be 'partitioned', whereas one that is running onl

[PATCH] Add some needed externs currently not defined

2005-03-23 Thread Dean Nelson
Add some needed externs currently not defined. Signed-off-by: Dean Nelson <[EMAIL PROTECTED]> Index: linux-2.6/include/asm-ia64/sn/arch.h === --- linux-2.6.orig/include/asm-ia64/sn/arch.h 2005-03-18 10:40:56.989155675

[PATCH] Define some additional SHub1 and Shub2 register symbols

2005-03-23 Thread Dean Nelson
Define some additional SHub1 and SHub2 register symbols. Signed-off-by: Dean Nelson <[EMAIL PROTECTED]> Index: linux-2.6/include/asm-ia64/sn/shub_mmr.h === --- linux-2.6.orig/include/asm-ia64/sn/shub_mmr.h 2005-03-08

[PATCH] convert some sn SAL_CALLs to ia64_sal_oemcall calls

2005-03-23 Thread Dean Nelson
Convert some sn SAL_CALLs to ia64_sal_oemcall calls so that they can be called by kernel modules. Signed-off-by: Dean Nelson <[EMAIL PROTECTED]> Index: linux-2.6/include/asm-ia64/sn/sn_sal.h === --- linux-2.6.orig/include/as

[PATCH] Export node_online_map and node_possible_map

2005-03-23 Thread Dean Nelson
Export node_online_map and node_possible_map so that kernel modules can use the nodemask macros, like, for_each_node() and for_each_online_node(). Signed-off-by: Dean Nelson <[EMAIL PROTECTED]> Index: linux-2.6/mm/page_a

[PATCH] move nodepda pointer out of pda

2005-03-22 Thread Dean Nelson
Remove the p_nodepda and p_subnodepda pointers from the pda_s structure. And then define a new per-cpu pointer to the nodepda and export it so that it can be accessed by kernel modules. Signed-off-by: Dean Nelson <[EMAIL PROTECTED]> Index: linux-2.6/include/asm-ia64/sn/nod

Re: [PATCH] move cnodeid_to_nasid_table out of pda

2005-03-22 Thread Dean Nelson
On Mon, Mar 21, 2005 at 08:42:58PM -0800, Christoph Lameter wrote: > > On Mon, 21 Mar 2005, Dean Nelson wrote: > > > > > Another step in the effort to eliminate the SN pda structure. > > > This patch moves the cnodeid_to_nasid_table field out of the pda, > > &

[PATCH] move cnodeid_to_nasid_table out of pda

2005-03-21 Thread Dean Nelson
Another step in the effort to eliminate the SN pda structure. This patch moves the cnodeid_to_nasid_table field out of the pda, making it a standalone per-cpu data item, and exports it so it can be accessed by kernel modules. Signed-off-by: Dean Nelson <[EMAIL PROTECTED]> Index: lin