From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([209.132.183.28]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1W6Gu3-00026O-Un for kexec@lists.infradead.org; Thu, 23 Jan 2014 09:48:53 +0000 From: Baoquan He Subject: [v2 0/3] Introduce struct cycle to store cyclic region and clean up Date: Thu, 23 Jan 2014 17:47:31 +0800 Message-Id: <1390470454-14272-1-git-send-email-bhe@redhat.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=twosheds.infradead.org@lists.infradead.org To: kexec@lists.infradead.org Cc: d.hatayama@jp.fujitsu.com, kumagai-atsushi@mxc.nes.nec.co.jp, Baoquan He v1->v2: In first_cycle(), start_pfn assignation is not aligned to info->pfn_cyclic. Now in v2 change this. Accordingly the pfn in write_elf_header() and write_elf_pages_cyclic() need be adjusted to the real beginning of a load segment, but not the cycle->start_pfn which may be lower after alignment. Baoquan He (3): makedumpfile: introduce struct cycle to store the cyclic region makedumpfile: use struct cycle to update cyclic region and clean up makedumpfile: remove member variables representing cyclic pfn region in struct DumpInfo makedumpfile.c | 497 ++++++++++++++++++++++++++++----------------------------- makedumpfile.h | 21 +-- sadump_info.c | 4 +- 3 files changed, 259 insertions(+), 263 deletions(-) -- 1.8.3.1 _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec