[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH libpager w/ large stores] Properly release memory when receiv
From: |
Sergio Lopez |
Subject: |
Re: [PATCH libpager w/ large stores] Properly release memory when receiving clean pages |
Date: |
Thu, 29 Dec 2011 19:21:56 +0100 |
El Thu, 29 Dec 2011 19:00:21 +0100
Samuel Thibault <samuel.thibault@gnu.org> escribió:
> Sergio Lopez, le Thu 29 Dec 2011 18:52:05 +0100, a écrit :
> > When libpager's data_return receives non-dirty data, it doesn't
> > properly release the memory that comes with the message.
>
> Just curious: what side effect does it have?
Just the memory leak. It doesn't have a big impact at first, because
only the disk_pager returns clean pages (all its pages are marked as
precious due to the notify_on_evict thingy), but after a while it
becomes a nuisance.