diff options
author | Manish Ahuja <ahuja@austin.ibm.com> | 2008-03-22 10:39:17 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-03-26 08:44:06 +1100 |
commit | d5a29c7a36958ddec1ae7ab685ce09a002356548 (patch) | |
tree | 658282c0e2154e000e46c3fc4fbfd97ccae97fd8 /drivers/lguest/interrupts_and_traps.c | |
parent | 6ac26c8a7eb149dbd669cc6cd9b77ffc9cd0d2fb (diff) |
[POWERPC] pseries: phyp dump: Use sysfs to release reserved mem
Check to see if there actually is data from a previously
crashed kernel waiting. If so, allow user-space tools to
grab the data (by reading /proc/kcore). When user-space
finishes dumping a section, it must release that memory
by writing to sysfs. For example,
echo "0x40000000 0x10000000" > /sys/kernel/release_region
will release 256MB starting at the 1GB. The released memory
becomes free for general use.
Signed-off-by: Linas Vepstas <linasvepstas@gmail.com>
Signed-off-by: Manish Ahuja <mahuja@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/lguest/interrupts_and_traps.c')
0 files changed, 0 insertions, 0 deletions