Thread (6 messages) 6 messages, 2 authors, 2012-02-13

Re: [PATCH 1/3] jbd2: allocate transaction from special cache

From: Ted Ts'o <tytso@mit.edu>
Date: 2012-02-13 22:10:25

On Sun, Nov 13, 2011 at 07:21:29PM +0800, Yongqiang Yang wrote:
transaction_t is 136 byes under 32-bit systems. If we allocate
it from general cache, it comsumes 256 bytes.  So let jbd2 allocate
it from special cache to reduce memory consumption.

Signed-off-by: Yongqiang Yang <redacted>
Thanks, applied with a modified description:

    jbd2: allocate transaction from separate slab cache
    
    There is normally only a handful of these active at any one time, but
    putting them in a separate slab cache makes debugging memory
    corruption problems easier.  Manish Katiyar also wanted this make it
    easier to test memory failure scenarios in the jbd2 layer.

    	      	   	  	  	       - Ted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help