diff options
author | Krishna Reddy <vdumpa@nvidia.com> | 2012-07-18 14:06:50 -0700 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-07-27 18:18:57 -0700 |
commit | c4a16ddeba4bd015d0d761780414800dbb013b55 (patch) | |
tree | bf8685b1661a69ec29e07e5ebf0c7108b9456988 /drivers/video/tegra/nvmap/nvmap_handle.c | |
parent | dc251e8eb5a55ec2acd3f2bccaf3d5d5c1e8bed2 (diff) |
mm: failslab: Add support to force slab alloc failures based on size.
Any alloc request, with size greater than PAGE_SIZE, to
slab allocator is not guarnateed to succeed, even though
enough memory is available, as memory can get fully fragmented
over the time.
This allows finding the slab allocator requests with size
greater than PAGE_SIZE early and avoid finding issues much late
in product life cyle.
Change-Id: Ibf13e626a671d41569415a56e775ac5e96b90ba3
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/116855
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
(cherry picked from commit 604a65f8e3c9472886b48b1a287f78f11235d1ce)
Reviewed-on: http://git-master/r/118193
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/nvmap/nvmap_handle.c')
0 files changed, 0 insertions, 0 deletions