Skip to content

Commit

Permalink
introduce "struct wait_opts" to simplify do_wait() patches
Browse files Browse the repository at this point in the history
Introduce "struct wait_opts" which holds the parameters for misc helpers
in do_wait() pathes.

This adds 13 lines to kernel/exit.c, but saves 256 bytes from .o and imho
makes the code much more readable.

This patch temporary uglifies rusage/siginfo code a little bit, will be
addressed by further cleanups.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Jun 18, 2009
1 parent 4791802 commit 9e8ae01
Showing 1 changed file with 110 additions and 97 deletions.
Loading

0 comments on commit 9e8ae01

Please sign in to comment.