diff options
| author | Oleg Nesterov <[email protected]> | 2008-07-25 01:47:42 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-07-25 10:53:39 -0700 |
| commit | 8cd9c249128a59e8e833d454a784b0cbd338d468 (patch) | |
| tree | 54adf775bdd63fd55fc52b5ac70130a17058d866 /include/linux/timerqueue.h | |
| parent | 999d9fc1670bc082928b93b11d1f2e0e417d973c (diff) | |
coredump: simplify core_state->nr_threads calculation
Change zap_process() to return int instead of incrementing
mm->core_state->nr_threads directly. Change zap_threads() to set
mm->core_state only on success.
This patch restores the original size of .text, and more importantly now
->nr_threads is used in two places only.
Signed-off-by: Oleg Nesterov <[email protected]>
Cc: Roland McGrath <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions