]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: remove free memory check
authorKirill Artamonov <kartamonov@nvidia.com>
Mon, 30 Jan 2012 21:08:37 +0000 (23:08 +0200)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 08:23:41 +0000 (01:23 -0700)
commitc93fbd958eecb521b995617dedcfcaac9056733b
treecb5a8a472f2acf06a78d15b6969540930d754906
parent2df8f7fdbeb014d3bce795d951755c586d8282e2
video: tegra: remove free memory check

Used free memory check in allocation policy is not working,
because it doesn't calculate available physical memory size in
same way as android oom killer.

It also breaks kernel build if swapping is enabled.

Remove free memory check from allocation policy.

Change-Id: I214d1829451f313dbace967e87ed4111e688865d
Reviewed-on: http://git-master/r/85227
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Rebase-Id: R7d9d929c11c73210b9194d99aa823b742d92fd58
drivers/video/tegra/nvmap/nvmap_handle.c