diff options
| author | Greg Ungerer <gerg@snapgear.com> | 2004-10-27 07:14:44 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-10-27 07:14:44 -0700 |
| commit | abd68b6a1850b4224da2a38a5aaf17338dacc8c4 (patch) | |
| tree | 0f81d6e94e06a5bdbe399f5946ce43e9c1ead095 /drivers/misc/ibmasm/module.c | |
| parent | abbe31a371f5a4ed198c4182ab8f9d973b633b85 (diff) | |
[PATCH] update total_vm on non-MMU configurations
This patch fixes 3 problems with the nommu.c support code:
1. export mem_map and vmtruncate (to make them the same as MMU version)
2. update the total_vm usage in mmap routines
Without this the OOM killer has no "badness" points to rate
processes on...
This patch was originally submitted by Giovanni Casoli
<giovanni.casoli@atengineering.it> for a 2.4.26 kernel.
I applied it to the 2.6.9 code.
3. provide stub for arch_get_unmapped_area
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/misc/ibmasm/module.c')
0 files changed, 0 insertions, 0 deletions
