Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 317531 Details for
Bug 463504
Hang in shrink_zone during swap pressure, due to direct reclaim threads
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Run N+1 threads (where N=#CPUs) using ./bigmalloc 2000 &
bigmalloc.c (text/x-csrc), 632 bytes, created by
John Sobecki
on 2008-09-23 20:14:21 UTC
(
hide
)
Description:
Run N+1 threads (where N=#CPUs) using ./bigmalloc 2000 &
Filename:
MIME Type:
Creator:
John Sobecki
Created:
2008-09-23 20:14:21 UTC
Size:
632 bytes
patch
obsolete
>/* Compile with: gcc -o bigmalloc bigmalloc.c */ > >#include <stdio.h> >#include <stdlib.h> >#include <unistd.h> >#include <errno.h> > >int main(int ac, char **av) { > long int n,m,i; > char *buf; > > > if(ac < 2) { > printf("Usage: %s <alloc_size_MB>\n",av[0]); > exit(1); > } > sscanf(av[1],"%d",&n); > m=n*1024*1024; > printf("Allocating %ld bytes (%d MB), please wait...\n",m,n); > buf=malloc(n*1024*1024); > for(i=0;i<m;*(buf+i++)=1) > ; > printf("Done: Allocated %d MB\n",n); > printf("Sleeping for 10 minutes...\n"); > sleep(600); /* sleep */ >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 463504
:
317511
| 317531 |
319367