[CRIU] [PATCH 1/2] IPC: message queue copy feature introduced

Stanislav Kinsbursky skinsbursky at parallels.com
Thu Aug 9 05:26:10 EDT 2012


09.08.2012 13:02, Cyrill Gorcunov пишет:
> On Thu, Aug 09, 2012 at 12:40:00PM +0400, Stanislav Kinsbursky wrote:
>> --- a/include/linux/msg.h
>> +++ b/include/linux/msg.h
>> @@ -12,6 +12,10 @@
>>   #define MSG_NOERROR     010000  /* no error if message is too big */
>>   #define MSG_EXCEPT      020000  /* recv any msg except of specified type.*/
>>
>> +#ifdef CONFIG_CHECKPOINT_RESTORE
>> +#define MSG_COPY        040000  /* copy (not remove) all queue messages */
>> +#endif
>> +
>
> No, this constants should not be wrapped with CONFIG. They are immutable
> and should not be used for anything else. Not a big deal at moment but
> if we're to pass this series up to LKML I believe this should be fixed.
>

Thanks. Will fix.

> 	Cyrill
>


-- 
Best regards,
Stanislav Kinsbursky



More information about the CRIU mailing list