Re: a competition when some threads acquire futex

From: chengjian (D)
Date: Wed Sep 06 2017 - 05:10:49 EST


On 2017/9/6 16:36, Thomas Gleixner write:
Ok. Still that patch has issues.

1) It's white space damaged. Please use TAB not spaces for
indentation. checkpatch.pl would have told you.

2) Why are you using _cond_resched() instead of plain cond_resched().

cond_resched() is what you want to use.


Hi Thomas.

I am very sorry about the issues of my patch.
I am a kernel newbie and i set expandtab in my .vimrc file
which means tab characters are converted to spaces.
I have fixed it and will check my patch first next time.


Thanks.
Cheng Jian