diff options
author | Yaniv Kaul <ykaul@redhat.com> | 2019-02-14 08:53:58 +0200 |
---|---|---|
committer | soumya k <skoduri@redhat.com> | 2019-02-19 15:29:23 +0000 |
commit | 93e2576953316fdb37bb59b98bea755e799cc421 (patch) | |
tree | 5d2011c5eba7aa1170b05a23a8959ec0b0f8fdac /submit-for-review.sh | |
parent | 862e6409cb6929e1eb235a9156fbf6cbc4719236 (diff) |
upcall: some modifications to reduce work under lock
1. Reduced the number of times we call time(). This may affect accuracy
of access time and so on - please review carefully. I think the resolution is OK'ish.
2. Removed dead code.
3. Changed from CALLOC() to MALLOC() where it made sense.
4. Moved some bits of work outside of a lock.
Compile-tested only!
updates: bz#1193929
Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Change-Id: I9fb8ca5d79b0e9126c1eb07e1a1ab5dbd8bf3f79
Diffstat (limited to 'submit-for-review.sh')
0 files changed, 0 insertions, 0 deletions