-mprofile-kernel vs. notrace in ppc64(le) Linux kernels

2015-09-26 Thread Torsten Duwe
As I mentioned earlier this year, it's a bad idea to call _mcount from MMU helper functions (e.g. hash_page...), when the profiling/tracing/ live-patching/whatever framewok might in turn cause another such fault. Jikos suggested to use fine-grained control of these functions with the "notrace" keyw

Re: -mprofile-kernel vs. notrace in ppc64(le) Linux kernels

2015-09-26 Thread Segher Boessenkool
On Sat, Sep 26, 2015 at 04:30:08PM +0200, Torsten Duwe wrote: > As I mentioned earlier this year, it's a bad idea to call _mcount from > MMU helper functions (e.g. hash_page...), when the profiling/tracing/ > live-patching/whatever framewok might in turn cause another such fault. > Jikos suggested

Re: [PATCH v2 0/5] drivers/tty: make more bool drivers explicitly non-modular

2015-09-26 Thread Paul Gortmaker
[[PATCH v2 0/5] drivers/tty: make more bool drivers explicitly non-modular] On 19/08/2015 (Wed 17:48) Paul Gortmaker wrote: > [v2: drop dead module code removal from 8250_lpc18xx.c ; instead convert it > from bool to tristate ; also add ack to hvc_console commit.] > > This second set of patches

Re: -mprofile-kernel vs. notrace in ppc64(le) Linux kernels

2015-09-26 Thread Anton Blanchard
Hi, > On Sat, Sep 26, 2015 at 04:30:08PM +0200, Torsten Duwe wrote: > > As I mentioned earlier this year, it's a bad idea to call _mcount > > from MMU helper functions (e.g. hash_page...), when the > > profiling/tracing/ live-patching/whatever framewok might in turn > > cause another such fault. J