Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
gong.chen
/
mce-test
/
e0fb614a801b17c1f2c63432781ebae4d6877d32
/
.
/
tools
/
simple_process
/
simple_process.c
blob: b6d3c4cb2a7c29f8fe9542ff3bff13837c17fbd2 [
file
] [
log
] [
blame
]
#include
<stdio.h>
#include
<stdlib.h>
#include
<string.h>
#include
<unistd.h>
int
main
(
void
)
{
void
*
p
=
malloc
(
128
);
printf
(
"allocating 128 bytes of memory\n"
);
while
(
1
)
{
memset
(
p
,
0
,
128
);
}
return
0
;
}