Notify page fault call chain
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | Notify page fault call chain for x86_64arch/ include/ | +39 | 0 replies | |
| 2/7 | Notify page fault call chain for i386arch/ include/ | +38 | 0 replies | |
| 3/7 | Notify page fault call chain for ia64arch/ include/ | +37 | 0 replies | |
| 4/7 | Notify page fault call chain for powerpcarch/ include/ | +37 | 0 replies | |
| 5/7 | Notify page fault call chain for sparc64arch/ include/ | +37 | 0 replies | |
| 6/7 | Kprobes registers for notify page faultkernel/ | +8 | 5 replies | |
| 7/7 | Notify page fault call chaininclude/ include/ include/ +3 more | +29 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [(take 2)patch 0/7] Notify page fault call chain
Currently in the do_page_fault() code path, we call notify_die(DIE_PAGE_FAULT, ...) to notify the page fault. Since notify_die() is highly overloaded, this page fault notification is currently being sent to all the components
registered with register_die_notification() which uses the samedie_chain to loop for all the registered components which is unnecessary.
In order to optimize the do_page_fault() code path, this critical page fault notification is now moved to different call chain and the test results showed great improvements.
And the kprobes which is interested in this notifications, now registers onto this new call chain only when it need to, i.e Kprobes now registers for page fault notification only when their are an active probes and unregisters from this page fault notification when no probes are active.
I have incorporated all the feedback given by Ananth and Keith and everyone, and thanks for all the review feedback.
Andrew, please apply this patch to your mm tree and I would gladly fix if their are any other issues.
thanks,
Anil Keshavamurthy
--