On Tue, 30 Sep 2008, Russell King - ARM Linux wrote:I just tried this: diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 70dba16..8f609cc 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -148,7 +148,6 @@ config ARCH_MAY_HAVE_PC_FDC config ZONE_DMA bool - default y config GENERIC_ISA_DMA bool with no other changes what so ever. And the resulting kernel still works fine, with this difference: |On node 0 totalpages: 131072 |free_area_init_node: node 0, pgdat c03c5e00, node_mem_map c03e7000 | Normal zone: 130048 pages, LIFO batch:31 instead of: |On node 0 totalpages: 131072 |free_area_init_node: node 0, pgdat c03c7e58, node_mem_map c03e9000 | DMA zone: 130048 pages, LIFO batch:31 And the resulting kernel is also smaller: | text data bss dec hex filename |3826182 102384 111700 4040266 3da64a vmlinux |3823593 101616 111700 4036909 3d992d vmlinux.nodmazone So maybe CONFIG_DMA_ZONE could be selected only by those machines actually defining arch_adjust_zones() ? Indeed. But still... Nicolas --
| debian developer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Eric W. Biederman | [PATCH 02/10] sysfs: Support for preventing unmounts. |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Linus Torvalds | Re: LSM conversion to static interface |
git: | |
| Antonio Almeida | HTB accuracy for high speed |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 18/37] dccp: Support for Mandatory options |
| Timo Teräs | Re: xfrm_state locking regression... |
