analogdevicesinc / lnxdsp-adi-meta

Yocto meta layer for Analog Devices ADSP-SC5xx based EZ-KIT boards
Other
15 stars 10 forks source link

Fix/pid max warning #45

Closed artursartamonovsadi closed 9 months ago

artursartamonovsadi commented 9 months ago

Set platform default max values for pid_max

vasbimpikasadi commented 9 months ago

I think that should only be included in the minimal image? Does it reproduce on the full image, too?

artursartamonovsadi commented 9 months ago

/proc/kernel/pid_max values is set inside Linux Kernel there shouldn't be any difference in boot method as kernel configs are same for any boot method max value is define by:

define PID_MAX_LIMIT (CONFIG_BASE_SMALL ? PAGE_SIZE * 8 : \

(sizeof(long) > 4 ? 4 * 1024 * 1024 : PID_MAX_DEFAULT))

so its depends on CONFIG_BASE_SMALL and PAGE_SIZE