On Mon, 3 Sep 2007, Christoph Hellwig wrote: > > How about getting rid of the slabs there and use kmalloc? Kmalloc in mm > > (and therfore hopefully 2.6.24) will convert kmallocs > PAGE_SIZE to page > > allocator calls. Not sure what to do about the 1k and 2k requests though. > > The problem is that we must never use kmalloc pages, so we always need > to request a page or more for these. Better to use get_free_page directly, > that's how I fixed it in XFS a while ago. So you'd be fine with replacing the allocs with get_free_pages(GFP_xxx, get_order(size)) ? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [RFC 1/2] JBD: slab management support for large block(>8k)
- From: Christoph Hellwig <[email protected]>
- Re: [RFC 1/2] JBD: slab management support for large block(>8k)
- References:
- [00/36] Large Blocksize Support V6
- From: [email protected]
- [31/36] Large Blocksize: Core piece
- From: [email protected]
- Re: [31/36] Large Blocksize: Core piece
- From: Mingming Cao <[email protected]>
- [RFC 1/4] Large Blocksize support for Ext2/3/4
- From: Mingming Cao <[email protected]>
- [RFC 1/2] JBD: slab management support for large block(>8k)
- From: Mingming Cao <[email protected]>
- Re: [RFC 1/2] JBD: slab management support for large block(>8k)
- From: Christoph Hellwig <[email protected]>
- Re: [RFC 1/2] JBD: slab management support for large block(>8k)
- From: Christoph Lameter <[email protected]>
- Re: [RFC 1/2] JBD: slab management support for large block(>8k)
- From: Christoph Hellwig <[email protected]>
- Re: [RFC 1/2] JBD: slab management support for large block(>8k)
- From: Christoph Lameter <[email protected]>
- Re: [RFC 1/2] JBD: slab management support for large block(>8k)
- From: Christoph Hellwig <[email protected]>
- [00/36] Large Blocksize Support V6
- Prev by Date: Re: [patch 5/5] x86: Set PCI config space size to extended for AMD Barcelona
- Next by Date: Re: Fwd: That whole "Linux stealing our code" thing
- Previous by thread: Re: [RFC 1/2] JBD: slab management support for large block(>8k)
- Next by thread: Re: [RFC 1/2] JBD: slab management support for large block(>8k)
- Index(es):