<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1488686495657_4494"><span>Hi Cyril,</span></div><div id="yui_3_16_0_ym19_1_1488686495657_4513"><span><br></span></div><div id="yui_3_16_0_ym19_1_1488686495657_4515"><span id="yui_3_16_0_ym19_1_1488686495657_4514">Thanks. I'll fix it in new patch.</span></div><div id="yui_3_16_0_ym19_1_1488686495657_4516"><span><br></span></div><div id="yui_3_16_0_ym19_1_1488686495657_4517"><span>Best regards,</span></div><div><span><br></span></div><div id="yui_3_16_0_ym19_1_1488686495657_4518"><span>Hoang</span></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1488686495657_4519"><br><br></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1488686495657_4523" style="display: block;"> <div style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1488686495657_4522"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1488686495657_4521"> <div dir="ltr" id="yui_3_16_0_ym19_1_1488686495657_4520"> <font size="2" face="Arial" id="yui_3_16_0_ym19_1_1488686495657_4524"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Cyril Hrubis <chrubis@suse.cz><br> <b><span style="font-weight: bold;">To:</span></b> the_hoang0709@yahoo.com <br><b><span style="font-weight: bold;">Cc:</span></b> ltp@lists.linux.it<br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, 3 March 2017, 16:45<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [LTP] [PATCH v2] min_free_kbytes: Check panic_on_oom in advance<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_ym19_1_1488686495657_4525"><br>Hi!<div class="yqt9496376878" id="yqtfd31436"><br clear="none">> Signed-off-by: Hoang Nguyen <<a shape="rect" ymailto="mailto:the_hoang0709@yahoo.com" href="mailto:the_hoang0709@yahoo.com">the_hoang0709@yahoo.com</a>><br clear="none">> ---<br clear="none">> testcases/kernel/mem/tunable/min_free_kbytes.c | 5 +++++<br clear="none">> 1 file changed, 5 insertions(+)<br clear="none">> <br clear="none">> diff --git a/testcases/kernel/mem/tunable/min_free_kbytes.c b/testcases/kernel/mem/tunable/min_free_kbytes.c<br clear="none">> index cb00f40..1f6fc8f 100644<br clear="none">> --- a/testcases/kernel/mem/tunable/min_free_kbytes.c<br clear="none">> +++ b/testcases/kernel/mem/tunable/min_free_kbytes.c<br clear="none">> @@ -239,6 +239,11 @@ static void sighandler(int signo LTP_ATTRIBUTE_UNUSED)<br clear="none">> void setup(void)<br clear="none">> {<br clear="none">> tst_require_root();<br clear="none">> + if (get_sys_tune("panic_on_oom")) {<br clear="none">> + tst_brkm(TCONF, NULL,<br clear="none">> + "panic_on_oom is set, disable it to run these testcases");</div><br clear="none">> + }<br clear="none"><br clear="none">Now the indentation is wrong, please make sure to use tabs. FYI you can<br clear="none">use checkpatch.pl from kernel git repo to check patches before sending<br clear="none">them for review.<br clear="none"><br clear="none">-- <br clear="none">Cyril Hrubis<br clear="none"><a shape="rect" ymailto="mailto:chrubis@suse.cz" href="mailto:chrubis@suse.cz">chrubis@suse.cz</a><div class="yqt9496376878" id="yqtfd55454"><br clear="none"></div><br><br></div> </div> </div> </div></div></body></html>