[CRIU] [PATCH 3/2] tty:add comment explaining indices
Pavel Emelyanov
xemul at parallels.com
Fri Dec 19 09:08:43 PST 2014
On 12/19/2014 07:57 PM, Cyrill Gorcunov wrote:
> On Fri, Dec 19, 2014 at 07:50:30PM +0300, Pavel Emelyanov wrote:
>> On 12/19/2014 07:45 PM, Ruslan Kuprieiev wrote:
>>> Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
>>> ---
>>> tty.c | 6 ++++++
>>> 1 file changed, 6 insertions(+)
>>>
>>> diff --git a/tty.c b/tty.c
>>> index 7b184c7..4f0b917 100644
>>> --- a/tty.c
>>> +++ b/tty.c
>>> @@ -116,6 +116,12 @@ static LIST_HEAD(all_ttys);
>>> */
>>>
>>> #define MAX_TTYS 1024
>>> +
>>> +/*
>>> + * Custom indices should be odd numbers just in case if we
>>
>> Should be odd, but 1004 is even.
>
> Yeah, sorry always messing with odd/even words.
It's easy. Odd is also a synonym for strange thing. Number
that cannot be divided in two equal parts is strange.
Thanks,
Pavel
More information about the CRIU
mailing list