From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933141Ab3BLOvM (ORCPT ); Tue, 12 Feb 2013 09:51:12 -0500 Received: from mailhub.sw.ru ([195.214.232.25]:19723 "EHLO relay.sw.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760056Ab3BLOvK (ORCPT ); Tue, 12 Feb 2013 09:51:10 -0500 Message-ID: <511A569B.7050603@parallels.com> Date: Tue, 12 Feb 2013 18:50:03 +0400 From: Pavel Emelyanov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: Denys Vlasenko CC: Andrew Vagin , mtk.manpages@gmail.com, David Howells , linux-api@vger.kernel.org, Oleg Nesterov , linux-kernel@vger.kernel.org, criu@openvz.org, Cyrill Gorcunov , Andrey Wagin , Alexander Viro , linux-fsdevel@vger.kernel.org, Dave Jones , "Paul E. McKenney" Subject: Re: [CRIU] [PATCH 3/3] signalfd: add ability to read siginfo-s without dequeuing signals (v2) References: <1358849741-9611-4-git-send-email-avagin@openvz.org> <20130208191056.GA13674@redhat.com> <201302111029.50998.vda.linux@googlemail.com> <20130211105941.GA26717@paralelels.com> <511905D7.3040209@parallels.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>> Process checkpointing needs to bite the bullet and >>> create its own API instead. >> >> This is bad approach as well. What we should do is come up with a sane >> API that makes sense without the checkpoint-restore project _when_ _possible_. > > Coming up with a sane API in general isn't easy. That's what we've put the linux-api@ in Cc for ;) [snip] > Compared to this, ptrace-attaching to the process > and then reading from /proc or issuing a new ptrace request > looks much cleaner. Sure it does! Also note, that it also looks much cleaner than the fancy /proc/pid/checkpoint thing you propose. > My opinion, of course. Thanks, Pavel