While I was investigating page fault handling performance on a quad
core Cortex-A9 ARM processor,
I noticed that whenever there is a page fault, all idling cores also
awakened---exiting from WFI instruction
on the idle loop (and go back to WFI again).
Since the page fault generating program is running on a single core,
it seems unnecessary to wake up
other idling cores (hence saving power) as well.
Can anyone tell me if this, exiting from WFI on every page fault, is
correct behavior? If so, why?
On Sat, May 28, 2011 at 4:56 AM, heechul Yun <heechul@...> wrote:
> Can anyone tell me if this, exiting from WFI on every page fault, is
> correct behavior? If so, why?
Without knowing the full context, I'd look into the possibility that
the kernel is trying to shoot down TLB entries on the other processors
due to the remapped page.