aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorCatalin Marinas <[email protected]>2009-08-27 14:29:12 +0100
committerCatalin Marinas <[email protected]>2009-08-27 14:29:12 +0100
commitaf98603dad87e393d2fc57117fe8a2aa6d620a0c (patch)
tree7a86d844fe5b43d8894607c16e4945f7ebe51b79 /drivers/mtd/lpddr/lpddr_cmds.c
parent1e23502cc57cef33455ac7cb9111e3c6d991a894 (diff)
kmemleak: Allow rescheduling during an object scanning
If the object size is bigger than a predefined value (4K in this case), release the object lock during scanning and call cond_resched(). Re-acquire the lock after rescheduling and test whether the object is still valid. Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions