linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* compaction of zspages
@ 2014-08-27 21:42 Luigi Semenzato
       [not found] ` <20140827220955.GA26902@cerebellum.variantweb.net>
  0 siblings, 1 reply; 4+ messages in thread
From: Luigi Semenzato @ 2014-08-27 21:42 UTC (permalink / raw)
  To: linux-mm, Minchan Kim; +Cc: Slava Malyugin, Sonny Rao

Hello Minchan and others,

I just noticed that the data structures used by zsmalloc have the
potential to tie up memory unnecessarily.  I don't call it "leaking"
because that memory can be reused, but it's not necessarily returned
to the system upon freeing.

I have no idea if this has any impact in practice, but I plan to run a
test in the near future.  Also, I am not sure that doing compaction in
the shrinkers (as planned according to a comment) is the best
approach, because the shrinkers won't be called unless there is
considerable pressure, but the compaction would be more effective when
there is less pressure.

Some more detail here:

https://code.google.com/p/chromium/issues/detail?id=408221

Should I open a bug on some other tracker?

Thank you very much!
Luigi

--
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] 4+ messages in thread

end of thread, other threads:[~2014-08-28  0:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-27 21:42 compaction of zspages Luigi Semenzato
     [not found] ` <20140827220955.GA26902@cerebellum.variantweb.net>
2014-08-27 23:25   ` Luigi Semenzato
2014-08-28  0:17     ` Minchan Kim
2014-08-28  0:27       ` Luigi Semenzato

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox