On Thu, 19 May 2011, james_p_freyensee@xxxxxxxxxxxxxxx wrote: > From: J Freyensee <james_p_freyensee@xxxxxxxxxxxxxxx> > > Currently, kmalloc_index() can return -1, which can be > passed right to the kmalloc_caches[] array, cause a No kmalloc_index() cannot return -1 for the use case that you are considering here. The value passed as a size to kmalloc_slab is bounded by 2 * PAGE_SIZE and kmalloc_slab will only return -1 for sizes > 4M. So we will have to get machines with page sizes > 2M before this can be triggered. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>