Re: [PATCH v2] hugetlbfs: Disable softIRQ when taking hugetlb_lock

From: Andi Kleen
Date: Wed Dec 11 2019 - 18:12:00 EST


Waiman Long <longman@xxxxxxxxxx> writes:
>
> Currently, only free_huge_page() is known to be called from softIRQ
> context.

Called from a timer?

Perhaps just move that to a work queue instead.

That seems preferable than to increase softirq latency.

-Andi