login
Header Space

 
 

Re: [PATCH] mballoc: fix hot spins after err_freebuddy and err_freemeta

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Roel Kluin <12o3l@...>
Cc: <alex@...>, <sct@...>, <akpm@...>, <adilger@...>, <linux-ext4@...>, lkml <linux-kernel@...>
Date: Thursday, April 17, 2008 - 1:58 pm

On Thu, Apr 17, 2008 at 06:09:14PM +0200, Roel Kluin wrote:

The function needs more changes. For ex:

2279     if (meta_group_info[j] == NULL) {
2280               printk(KERN_ERR "EXT4-fs: can't allocate buddy mem\n");
2281               i--;
2282               goto err_freebuddy;
2283     }

That decrement  i--; could result in bad value if i == 0;.



-aneesh
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] mballoc: fix hot spins after err_freebuddy and e..., Aneesh Kumar K.V, (Thu Apr 17, 1:58 pm)
speck-geostationary