Memory overcommit and locked pages

From: Smarduch Mario-CMS063
Date: Thu Mar 02 2006 - 17:42:44 EST


I was looking through the memory overcommit code, and noticed that page
cache size
and swap size are being taken for granted if system needs to reclaim
memory either
paging to disk or swap. But in reality if VMAs are locked that
assumption is broken,
(for anon and file backed pgs) success maybe returned even though memory
request
can't be met. Is that a known fact?

- Mario
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/