Hi!
> I proposed the solution for this is disable the OOM killer of parent
> process and adjust child process's oom_score_adj to 500(or any
> other number larger than 0), this purpose just to make child process
> can be easily chosen.

I wouldn't do the increase in oom_score for the parent that doesn't help
much, because the test runs under pan which is started from a script
etc... So if any of the processes in the chain gets killed the testing
is done anyway.

Adjusting the child oom_score on the other hand is good idea is this
enough for the test to work okay?

And for the implementation, simple write would be far better solution
and please run you patch through checkpatch.pl before submitting next
time.

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to