diff options
author | 2009-08-27 14:29:12 +0100 | |
---|---|---|
committer | 2009-08-27 14:29:12 +0100 | |
commit | af98603dad87e393d2fc57117fe8a2aa6d620a0c (patch) | |
tree | 7a86d844fe5b43d8894607c16e4945f7ebe51b79 /scripts/selinux/genheaders/genheaders.c | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 (diff) | |
download | wireguard-linux-af98603dad87e393d2fc57117fe8a2aa6d620a0c.tar.xz wireguard-linux-af98603dad87e393d2fc57117fe8a2aa6d620a0c.zip |
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 <catalin.marinas@arm.com>
Diffstat (limited to 'scripts/selinux/genheaders/genheaders.c')
0 files changed, 0 insertions, 0 deletions