On 08/02/2012 01:11 AM, Christoph Lameter wrote: > > if (setup_cpu_cache(cachep, gfp)) { > __kmem_cache_shutdown(cachep); > - return NULL; > + return -ENOSPC; > } Are we reading anything from disk here ? Besides that, setup_cpu_cache() itself returns an error. It would be a lot better to just use it, instead of replacing it with our own interpretation of it. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>