Re: [patch 1/2] mm, oom: change type of oom_score_adj to short

2012-11-08 Thread Michal Hocko
On Thu 08-11-12 01:26:57, David Rientjes wrote: > The maximum oom_score_adj is 1000 and the minimum oom_score_adj is -1000, > so this range can be represented by the signed short type with no > functional change. The extra space this frees up in struct signal_struct > will be used for per-thread

[patch 1/2] mm, oom: change type of oom_score_adj to short

2012-11-08 Thread David Rientjes
The maximum oom_score_adj is 1000 and the minimum oom_score_adj is -1000, so this range can be represented by the signed short type with no functional change. The extra space this frees up in struct signal_struct will be used for per-thread oom kill flags in the next patch. Signed-off-by: David

[patch 1/2] mm, oom: change type of oom_score_adj to short

2012-11-08 Thread David Rientjes
The maximum oom_score_adj is 1000 and the minimum oom_score_adj is -1000, so this range can be represented by the signed short type with no functional change. The extra space this frees up in struct signal_struct will be used for per-thread oom kill flags in the next patch. Signed-off-by: David

Re: [patch 1/2] mm, oom: change type of oom_score_adj to short

2012-11-08 Thread Michal Hocko
On Thu 08-11-12 01:26:57, David Rientjes wrote: The maximum oom_score_adj is 1000 and the minimum oom_score_adj is -1000, so this range can be represented by the signed short type with no functional change. The extra space this frees up in struct signal_struct will be used for per-thread oom