[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Patch] shm cleanups



Christoph Rohland <hans-christoph.rohland@sap.com> writes:

>         if (!(page_map = prepare_highmem_swapout(page_map)))
> -               goto check_table;
> +               goto failed;

This fragment isn't correct. You may fail too early and so you may get
a task killed due OOM even if you still have lots of regular pages
queued in a shm segment.

-- 
Andrea
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/