Messages in this thread | | | Date | Tue, 3 Feb 2009 17:20:51 +0300 | From | Evgeniy Polyakov <> | Subject | Re: [PATCH v2] tcp: splice as many packets as possible at once |
| |
On Tue, Feb 03, 2009 at 01:25:37PM +0000, Jarek Poplawski (jarkao2@gmail.com) wrote: > Now it's clear. So this looks like one of the options considered by > David. Then I wonder about details... It seems some kind of scheduled > browsing for refcounts is needed or is there something better?
It depends on the implementation, for example each kfree() may check the reference counter and return page to the allocator when it is really free. Since page may contiain multiple objects its reference counter may hit zero someday in the future, or never reach it if data was not freed.
-- Evgeniy Polyakov
| |