Move Exit Connectors
Get series with b4
b4 am 1136486566.22868.127.camel@starkVersions newest first
- v1 Latest1 patch 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | Move Exit Connectorskernel/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/01] Move Exit Connectors
Quoted 15 lines · Andrew Morton
Quoted 14 lines · Matt Helsley
Quoted 13 lines
We need to move both
proc_exit_connector(tsk)andcnstats_exit_connector(tsk)up to beforeexit_mm(tsk)statement. There are task statistics collected intask->mmand those stats will be lost afterexit_mm(tsk).Thanks,
- jayQuoted 4 lines
exit_notify(tsk); #ifdef CONFIG_NUMA mpol_free(tsk->mempolicy);-
Quoted 5 lines
Quoted 3 lines
Good point. The assignment of the task exit code will also have to move
up beforeexit_mm(tsk)because the process event connector exit function retrieves the exit code from the task struct.Could someone please volunteer to do the patch?
Here are two separate patches (not a series).
The first simply moves the process event connector north of exit_mm(). It applies to a clean 2.6.15 kernel. Please consider it for -mm.
The second patch moves both -- it's intended to be applied on top of Shailabh's series of patches.
Cheers,
-Matt Helsley