Re: [SLUB 2/2] i386 arch page size slab fixes
- From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 31 Mar 2007 12:55:36 -0700
On Sat, 31 Mar 2007 11:31:07 -0800 (PST) Christoph Lameter <clameter@xxxxxxx> wrote:
Fixup i386 arch for SLUB support
i386 arch code currently uses the page struct of slabs for various purposes.
This interferes with slub and so SLUB has been disabled for i386 by setting
ARCH_USES_SLAB_PAGE_STRUCT.
This patch removes the use of page sized slabs for maintaining pgds and pmds.
Patch by William Irwin with only very minor modifications by me which are
1. Removal of HIGHMEM64G slab caches. It seems that virtualization hosts
require a a full pgd page.
2. Add missing virtualization hook. Seems that we need a new way
of serializing paravirt_alloc(). It may need to do its own serialization.
3. Remove ARCH_USES_SLAB_PAGE_STRUCT
Note that this makes things work without debugging on.
The arch still fails to boot properly if full SLUB debugging is on with
a cryptic message:
CPU: AMD Athlon(tm) 64 Processor 3000+ stepping 00
Checking 'hlt' instruction... OK.
ACPI: Core revision 20070126
ACPI: setting ELCR to 0200 (from 1ca0)
BUG: at kernel/sched.c:3417 sub_preempt_count()
[<c0342d43>] _spin_unlock_irq+0x13/0x30
[<c01160e6>] schedule_tail+0x36/0xd0
[<c0102df8>] __switch_to+0x28/0x180
[<c0103f9a>] ret_from_fork+0x6/0x1c
[<c012acf0>] kthread+0x0/0xe0
This all has the potential to make my inbox hurt.
Can we disable SLUB on i386 in Kconfig until it gets sorted out?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [SLUB 2/2] i386 arch page size slab fixes
- From: Christoph Lameter
- Re: [SLUB 2/2] i386 arch page size slab fixes
- References:
- [SLUB 0/2] SLUB: The unqueued slab allocator V6
- From: Christoph Lameter
- [SLUB 2/2] i386 arch page size slab fixes
- From: Christoph Lameter
- [SLUB 0/2] SLUB: The unqueued slab allocator V6
- Prev by Date: Re: [patch 10/13] signal/timer/event fds v8 - eventfd core ...
- Next by Date: Re: [SLUB 2/2] i386 arch page size slab fixes
- Previous by thread: [SLUB 2/2] i386 arch page size slab fixes
- Next by thread: Re: [SLUB 2/2] i386 arch page size slab fixes
- Index(es):
Relevant Pages
|
|