* Ramzswap :swap-device write failure under low memory
@ 2010-07-08 4:59 Uma shankar
0 siblings, 0 replies; only message in thread
From: Uma shankar @ 2010-07-08 4:59 UTC (permalink / raw)
To: linux-mm
Hi,
When using ramzswap, the internal allocator (xvMalloc) will try to
grow the pool,
when the compressed block will not fit in any of the existing free chunk.
This memory allocation can fail under low memory.
This will be informed to the kernel as a "device write" failure. The
page which was being written will
not be reclaimed, but the kernel will continue to try swap out of
other pages ( as kernel
thinks that swap has free space. )
Wont this lead to the reclaim code ( kswapd or the direct reclaim
path ) hogging the processor for some time
before OOM is finally announced ?
Has any one analysed this scenario ?
thanks
shankar
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-07-08 4:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-08 4:59 Ramzswap :swap-device write failure under low memory Uma shankar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox