Commit [4f267b]  Maximize  Restore  History

mm/tunable: fix unexpected error log in min_free_kbytes

when overcommit_memory=0, mmap() will be destroyed in two below scenario:
1) MAP_FAILED with ENOMEM,
2) oom_killer kill it.
without the patch, it just catched oom_killer scenario,
the patch fixed it.

Signed-off-by: Zhouping Liu <zliu@redhat.com>

Zhouping Liu Zhouping Liu 2012-03-30

Caspar Zhang Caspar Zhang 2012-04-01

changed testcases/kernel/mem/tunable/min_free_kbytes.c
testcases/kernel/mem/tunable/min_free_kbytes.c Diff Switch to side-by-side view
Loading...

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks