On 10/25/2023 8:48 AM, Gregory Nutt wrote:
On 10/25/2023 8:18 AM, Alan C. Assis wrote:
On 10/25/23, Nathan Hartman<hartman.nat...@gmail.com>  wrote:
On Wed, Oct 25, 2023 at 5:16 AM Ville Juven<ville.ju...@gmail.com>  wrote:

Hi all,

I noticed that when spawning a new task/process from a file in
nsh_fileapps, the scheduler is locked prior to calling posix_spawn(),
which
does the file loading into memory etc.

I noticed one issue with this; when the file size is large (in the order
of
MB) the scheduler is locked for very long periods at a time, in the order
of hundreds of milliseconds.
The same logic exists in apps/nshlib/nsh_builtin.c.  In fact, it looks like one was just cloned from the other.  Both should behave the same way.

Reply via email to