Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Zarmfab Software Development <fabsoft@fabsoft2.zarm.uni-bremen.de>
Subject: Re: mlockall() still causes 100 % oops in 2.0.27
Date: Tue, 3 Dec 1996 13:51:24 +0100	[thread overview]
Message-ID: <9612031351.ZM28527@fabsoft2.zarm.uni-bremen.de> (raw)
In-Reply-To: <ionut@moisil.wal.rhno.columbia.edu>

On Dec 1,  6:57pm, Ion Badulescu wrote:

> Could you please pipe the oops through ksymoops and post the results here?
> It might give somebody a clue about the pointer...

maybe it's easier to produce the oops: this is the source, compileable
under redhat-4.0. 
It would be interesting to me if somebody is able to run the program without 
oopsing, and under which kernel-version.

#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <sys/resource.h>
#include <sys/mman.h>
#include <asm/unistd.h>

#ifdef __alpha
#define _syscall1(type,name,type1,arg1)	   \
type name(type1 arg1)                      \
{			                   \
	return syscall(__NR_##name, arg1); \
}

_syscall1(int,mlockall,int,flags);
#endif

int main(int argc,char *argv[])
{

  if (mlockall( MCL_CURRENT )) perror("mlockall");
  return 0;
}

-- 
Martin Cornelius, ZARMFAB software development, University of Bremen
phone: 49-421-218-4807    FAX: 49-421-218-3889
email: fabsoft@zarm.uni-bremen.de
paper-mail: Hochschulring / Am Fallturm, 28359 BREMEN, Germany

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

       reply	other threads:[~1996-12-03 12:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <ionut@moisil.wal.rhno.columbia.edu>
1996-12-03 12:51 ` Zarmfab Software Development [this message]
1996-12-03 21:17   ` mlockall() still causes 100 % oops in 2.0.27 Thomas Bogendoerfer
1996-12-04  7:06     ` Richard Henderson
     [not found] <199612012241.XAA21773@fabsoft2.zarm.uni-bremen.de>
1996-12-01 23:57 ` Ion Badulescu
1996-12-01 22:41 Zarmfab Software Development
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox