Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758531Ab1DMLff (ORCPT ); Wed, 13 Apr 2011 07:35:35 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:64845 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758504Ab1DMLfe convert rfc822-to-8bit (ORCPT ); Wed, 13 Apr 2011 07:35:34 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=I2F0xQthTmqkwi/3x2RwkwHEcTobFdQXwBcljMbvnMgG1hF3yAcH4z7IBtprVfgyb0 ElwIIDrbKTlwXlFkBfahV0tXEvkWJS1F8AxkXJV1q7g3x9hG8FjDNwt3aBRW9yzEbjzZ 25LmzE/UXri+uNsxKXhtX3utC7mBUBnlR01kI= MIME-Version: 1.0 Date: Wed, 13 Apr 2011 17:05:33 +0530 Message-ID: Subject: [ARM] Issue of memory compaction on kernel 2.6.35.9 From: naveen yadav To: linux-kernel@vger.kernel.org, linux-mm , linux-arm-kernel-request@lists.arm.linux.org.uk, linux newbie Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2880 Lines: 69 Dear all, we want to varify compaction on ARM and we are using 2.6.25.9 kernel on cortex a9. Since ARM does not have HUGETLB_PAGE support and compaction is HUGE PAGE independent so I removed from config file ****************************************************************************************************************************** # support for memory compaction config COMPACTION bool "Allow for memory compaction" select MIGRATION #depends on EXPERIMENTAL && HUGETLB_PAGE && MMU depends on EXPERIMENTAL && MMU help Allows the compaction of memory for the allocation of huge pages. ****************************************************************************************************************************** after triggering Memory Compaction by writing any value to /proc/sys/vm/compact_memory?i am getting the SVC?mode crash ****************************************************************************************************************************** #echo 1 > /proc/sys/vm/compact_memory Unable to handle kernel paging request at virtual address ee420be4 pgd = d9c6c000 [ee420be4] *pgd=00000000 Internal error: Oops: 805 [#1] PREEMPT last sysfs file: Modules linked in: CPU: 0??? Not tainted? (2.6.35.9 #16) PC is at compact_zone+0x178/0x610 LR is at compact_zone+0x138/0x610 pc : []??? lr : []??? psr: 40000093 sp : d9d75e40? ip : c0380978? fp : d9d75e94 r10: d9d74000? r9 : c03806c8? r8 : 00069704 r7 : 00069800? r6 : 00d2e080? r5 : c04ea080? r4 : d9d75e9c r3 : 60000093? r2 : 00000002? r1 : ee420be4? r0 : ee430b82 Flags: nZcv? IRQs off? FIQs on? Mode SVC_32? ISA ARM? Segment us ****************************************************************************************************************************** We tried to narrow down the prob... I found crash is form ?del_page_from_lru_list(zone, page, page_lru(page)); ? function isolate_migratepages { ----------- /* Successfully isolated */ del_page_from_lru_list(zone, page, page_lru(page)); -------------------------------------------------- } In my ARM board have only one zone (Node 0, zone???Normal) ****************************************************************************************************************************** VDLinux#> cat /proc/buddyinfo Node 0, zone Normal 5 4 4 2 1 3 0 2 ?????3??????4??????2??????1??????7 ****************************************************************************************************************************** Can some one guide why I am geeting the crash and how to debugg this problem Thanks -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/