Re: [PATCH v1 0/3] Introduce per NUMA node memory error statistics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Awesome, thanks Tony, I will correct my cover letter.

On Wed, Jan 18, 2023 at 9:51 AM Luck, Tony <tony.luck@xxxxxxxxx> wrote:
>
> > Oh, maybe SRAO signaled via MCE calls memory_failure() with these
> > async code paths?
> >
> > 1. __mc_scan_banks => mce_log => mce_gen_pool_add + irq_work_queue(mce_irq_work)
> >
> > 2. mce_irq_work_cb => mce_schedule_work => schedule_work(&mce_work)
> >
> > 3. mce_work => mce_gen_pool_process =>
> > blocking_notifier_call_chain(&x86_mce_decoder_chain, 0, mce)
> >  => mce_uc_nb => uc_decode_notifier => memory_failure
>
> Yes. That's right. Both SRAO (#MC) and UCNA (CMCI) will follow that path.
> So memory_failure() is called from the kthread context for that notifier.
>
> -Tony




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux