diff options
| author | VijayaKumar T M <vtmuni@codeaurora.org> | 2017-02-08 14:16:58 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-03-01 02:54:44 -0800 |
| commit | 5e8e6aa40e42ee168f13ec524df17a2cbf616cf5 (patch) | |
| tree | b3a0bfa42b8eeb7d148f1e196a4e22c56dfeed32 /fs/btrfs/tree-log.c | |
| parent | eee829e625416a38a8066524a0f6cac3b0c9d55b (diff) | |
msm: camera: add check to ensure user task wont hog CPU
If userspace provides a circular list to isp kenrel
driver through an ioctl, then dirver loops forever.
This way the task might hog the CPU in while loop.
To fix this issue, added a preset count to break
the loop after 100 iterations.
CRs-Fixed: 1064608
Change-Id: Ie896fd3da326e5e972266d8004baecf8681aea6d
Signed-off-by: VijayaKumar T M <vtmuni@codeaurora.org>
Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions
