Re: [RFC][PATCH] Manage jbd allocations from its own slabs

Dave Kleikamp <[email protected]> Thu, 24 Aug 2006 07:29:33 -0500
Newsgroups gmane.comp.file-systems.ext2.devel,gmane.linux.kernel
Message-ID <[email protected]>
On Wed, 2006-08-23 at 16:08 -0700, Badari Pulavarty wrote:
> Hi,
> 
> Here is the fix to "bh: Ensure bh fits within a page" problem
> caused by JBD.
> 
> BTW, I realized that this problem can happen only with 1k, 2k
> filesystems - as 4k, 8k allocations disable slab debug 
> automatically. But for completeness, I created slabs for those
> also.

With a larger base page size, you could run into the same problems for
4K and 8K allocations, so it's a good thing to do them all.

> What do you think ? I ran basic tests and things are fine.

Looks sane to me.

Shaggy
-- 
David Kleikamp
IBM Linux Technology Center


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642