Alex Waterman
34a3e35631
gpu: nvgpu: Fix OOM case for buddy allocator
...
The allocator could attempt to use a buddy list for an order larger than
the max order when all the valid buddy lists were empty. This patch
ensures that when looking for a particular order buddy that the passed
order is valid.
Also handle the prints in the no-mem case a litle differently. Only print
and update alloc info when there was a successful allocation.
Lastly print hex numbers for the allocator stats printing function.
Change-Id: If289f3e8925e236e3b7d84206a75bd45a14082a1
Signed-off-by: Alex Waterman <alexw@nvidia.com >
Reviewed-on: http://git-master/r/745071
(cherry picked from commit f3548e67f435975238b55ac152871dcd60a1a907)
Reviewed-on: http://git-master/r/753280
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com >
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com >
2015-06-06 07:25:07 -07:00
..
2015-06-04 10:41:00 -07:00
2015-03-18 12:11:46 -07:00
2015-04-04 19:01:53 -07:00
2015-04-04 18:59:26 -07:00
2015-04-04 18:08:17 -07:00
2015-04-04 18:08:17 -07:00
2015-06-06 07:24:11 -07:00
2015-06-06 07:23:24 -07:00
2015-06-05 00:53:45 -07:00
2015-05-05 13:55:35 -07:00
2015-05-18 11:31:55 +05:30
2015-05-18 11:31:55 +05:30
2015-06-06 07:23:53 -07:00
2015-06-06 07:24:40 -07:00
2015-03-18 12:11:33 -07:00
2015-04-04 18:59:26 -07:00
2015-03-18 12:11:33 -07:00
2015-04-04 19:01:35 -07:00
2015-04-04 18:07:03 -07:00
2015-04-04 19:17:37 -07:00
2015-03-18 12:11:33 -07:00
2015-04-04 19:00:45 -07:00
2015-03-18 12:10:40 -07:00
2015-04-04 19:02:55 -07:00
2015-04-04 18:59:26 -07:00
2015-06-06 07:25:07 -07:00
2015-06-04 10:41:00 -07:00
2015-03-18 12:12:01 -07:00
2015-03-18 12:11:09 -07:00
2015-04-04 19:00:15 -07:00
2015-03-18 12:12:22 -07:00
2015-06-06 07:24:52 -07:00
2015-06-06 07:23:24 -07:00
2015-06-06 07:24:40 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:12:01 -07:00
2015-03-18 12:08:54 -07:00
2015-06-06 07:24:40 -07:00
2015-06-06 07:23:24 -07:00
2015-03-18 12:11:57 -07:00
2015-05-18 11:33:44 +05:30
2015-03-18 12:12:06 -07:00
2015-03-18 12:12:06 -07:00
2015-03-18 12:08:53 -07:00
2015-04-04 18:03:11 -07:00
2015-03-18 12:08:53 -07:00
2015-04-04 18:02:35 -07:00
2015-03-18 12:10:49 -07:00
2015-04-04 18:58:04 -07:00
2015-04-04 18:06:37 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:11:52 -07:00
2015-04-04 19:01:35 -07:00
2015-03-18 12:11:52 -07:00
2015-04-04 18:08:03 -07:00
2015-03-18 12:10:52 -07:00
2015-06-06 07:23:24 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:11:52 -07:00
2015-03-18 12:11:52 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:11:52 -07:00
2015-03-18 12:08:53 -07:00
2015-04-04 18:58:05 -07:00
2015-03-18 12:11:52 -07:00
2015-03-18 12:10:41 -07:00
2015-03-18 12:08:53 -07:00
2015-04-04 19:02:17 -07:00
2015-06-04 10:41:00 -07:00
2015-03-18 12:12:06 -07:00
2015-04-04 19:02:58 -07:00
2015-03-18 12:12:31 -07:00
2015-06-06 07:24:11 -07:00
2015-06-06 07:24:11 -07:00
2015-04-04 18:57:41 -07:00
2015-05-18 11:32:41 +05:30
2015-05-05 13:59:01 -07:00
2015-03-18 12:11:59 -07:00
2015-06-04 10:41:00 -07:00
2015-06-04 10:41:00 -07:00
2015-05-18 11:19:43 +05:30
2015-03-18 12:08:53 -07:00
2015-04-04 18:08:16 -07:00
2015-03-18 12:11:33 -07:00
2015-06-04 10:41:00 -07:00
2015-03-18 12:11:33 -07:00
2015-06-01 08:16:28 -07:00
2015-04-04 18:57:49 -07:00
2015-03-18 12:10:40 -07:00
2015-03-18 12:11:52 -07:00
2015-03-18 12:11:33 -07:00
2015-03-18 12:12:25 -07:00
2015-03-18 12:11:50 -07:00