Look at the process'status file inside the /proc/pid/status file. Have found below details.
State: S (sleeping)
Tgid: 182
Pid: 182
PPid: 1
TracerPid: 0
Uid: 0 0 0 0
Gid: 0 0 0 0
FDSize: 32
Groups:
Mem: 2206024 bytes
**Slack: 710076 bytes** << what is the slack or is it stack"
Shared: 0 bytes
SigPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000001a04
SigCgt: 0000000000016443
CapInh: 0000000000000000
CapPrm: 00000000fffffeff
CapEff: 00000000fffffeff
Could some one please look and explain what is the purpose of slack field in status file. is it mistake of the kernel , it must be stack or something else.
One more question when we do any operation on the process Mem Size and slack get increase always , Just wanted to know why memory usage is always increasing. Adding more info: like uclinux we have flat memory architecture. Would the above reason is for memory size of the processes is keep increasing.
Please suggest your inputs.
Question : or slack must be stack >> but by mistake code is writing slack. ?? ??
Thanks Karnveer Singh