On Thu, 2 Aug 2012, Glauber Costa wrote:
> 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 ?
Nope. I was just at a loss to find a return code.
> 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
Ok.
--
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>
[Site Home]
[Linux ARM Kernel]
[Linux ARM]
[Linux Omap]
[Fedora ARM]
[IETF Annouce]
[Security]
[Bugtraq]
[Linux]
[Linux OMAP]
[Linux MIPS]
[ECOS]
[Tools]
[DDR & Rambus]
[Asterisk Internet PBX]
[Linux API]
[Monitors]