task_vector vs task_strcut concept
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I am learning about linux processes and having diffulty understanding how number of processes are limited by the size of task_vector
I am reading this page, https://www.tldp.org/LDP/tlk/kernel/processes.html
each process is represented by a task_struct data structure (task and process are
terms that Linux uses interchangeably). The task vector is an array of
pointers to every task_struct data structure in the system.
This means that the maximum number of processes in the system is limited by the size of the task vector; by default it has 512 entries.
As processes are created, a new task_struct is allocated from system
memory and added into the task vector. To make it easy to find, the
current, running, process is pointed to by the current pointer.
From above, I understood the concept of task_struct and that it is a data structure of process, and that task_vector is array of pointer to every task_struct. But on the following image, I don't understand what is task_vector
. It also says it has 512 entries
, does that mean there can only be maximum 512
processes?
Can someone help me out
kernel
add a comment |Â
up vote
0
down vote
favorite
I am learning about linux processes and having diffulty understanding how number of processes are limited by the size of task_vector
I am reading this page, https://www.tldp.org/LDP/tlk/kernel/processes.html
each process is represented by a task_struct data structure (task and process are
terms that Linux uses interchangeably). The task vector is an array of
pointers to every task_struct data structure in the system.
This means that the maximum number of processes in the system is limited by the size of the task vector; by default it has 512 entries.
As processes are created, a new task_struct is allocated from system
memory and added into the task vector. To make it easy to find, the
current, running, process is pointed to by the current pointer.
From above, I understood the concept of task_struct and that it is a data structure of process, and that task_vector is array of pointer to every task_struct. But on the following image, I don't understand what is task_vector
. It also says it has 512 entries
, does that mean there can only be maximum 512
processes?
Can someone help me out
kernel
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am learning about linux processes and having diffulty understanding how number of processes are limited by the size of task_vector
I am reading this page, https://www.tldp.org/LDP/tlk/kernel/processes.html
each process is represented by a task_struct data structure (task and process are
terms that Linux uses interchangeably). The task vector is an array of
pointers to every task_struct data structure in the system.
This means that the maximum number of processes in the system is limited by the size of the task vector; by default it has 512 entries.
As processes are created, a new task_struct is allocated from system
memory and added into the task vector. To make it easy to find, the
current, running, process is pointed to by the current pointer.
From above, I understood the concept of task_struct and that it is a data structure of process, and that task_vector is array of pointer to every task_struct. But on the following image, I don't understand what is task_vector
. It also says it has 512 entries
, does that mean there can only be maximum 512
processes?
Can someone help me out
kernel
I am learning about linux processes and having diffulty understanding how number of processes are limited by the size of task_vector
I am reading this page, https://www.tldp.org/LDP/tlk/kernel/processes.html
each process is represented by a task_struct data structure (task and process are
terms that Linux uses interchangeably). The task vector is an array of
pointers to every task_struct data structure in the system.
This means that the maximum number of processes in the system is limited by the size of the task vector; by default it has 512 entries.
As processes are created, a new task_struct is allocated from system
memory and added into the task vector. To make it easy to find, the
current, running, process is pointed to by the current pointer.
From above, I understood the concept of task_struct and that it is a data structure of process, and that task_vector is array of pointer to every task_struct. But on the following image, I don't understand what is task_vector
. It also says it has 512 entries
, does that mean there can only be maximum 512
processes?
Can someone help me out
kernel
kernel
asked 18 mins ago
MaverickD
1747
1747
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f480024%2ftask-vector-vs-task-strcut-concept%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password