> From: Don Wallwork [mailto:d...@xsightlabs.com] > Sent: Monday, 16 May 2022 21.48 > > On 5/13/2022 11:31 PM, fengchengwen wrote: > > Also, this patch seem only adapt linux, what about freebsd/windows? > > The intent was to add this support for this optimization for Linix only > initially. Support for other OSes can be added later. I currently > don't have a means to test the other environments.
I agree with this approach. And it should suffice if the EAL aborts with an error message if the OPT_HUGE_WORKER_STACK parameter is used in a non-supported environment.