Re: [PATCH 1/2] block: fix leaks associated with discard request payload

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Boaz Harrosh
Date: Wednesday, June 30, 2010 - 3:57 am

On 06/30/2010 01:41 PM, Christoph Hellwig wrote:

How big can that be? could we, maybe, use the sense_buffer, properly allocated
already?


So if the unmap bit is set then the page can just be zero, right?

I still think a static zero-page is a worth while optimization. And
block-drivers can take care with special needs with a private mem_pool
or something. For the discard-type user and generic block layer the
page is just an implementation specific residue, No?

But don't mind me, I'm just babbling. Not that I'll do anything about it.
Boaz
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH, RFC] block: don't allocate a payload for discard r ..., Christoph Hellwig, (Fri Jun 18, 7:59 am)
Re: [PATCH 1/2] block: fix leaks associated with discard r ..., Christoph Hellwig, (Sun Jun 27, 2:26 am)
Re: [PATCH 1/2] block: fix leaks associated with discard r ..., Christoph Hellwig, (Sun Jun 27, 2:38 am)
Re: [PATCH 2/2] block: defer the use of inline biovecs for ..., Christoph Hellwig, (Sun Jun 27, 2:39 am)
Re: [PATCH 1/2] block: fix leaks associated with discard r ..., Christoph Hellwig, (Sun Jun 27, 4:07 am)
Re: [PATCH 1/2] block: fix leaks associated with discard r ..., Christoph Hellwig, (Sun Jun 27, 8:33 am)
Re: [PATCH 2/2 v2] block: defer the use of inline biovecs ..., Christoph Hellwig, (Sun Jun 27, 8:33 am)
Re: [PATCH 1/2] block: fix leaks associated with discard r ..., Christoph Hellwig, (Sun Jun 27, 8:35 am)
Re: [PATCH 1/2] block: fix leaks associated with discard r ..., Christoph Hellwig, (Mon Jun 28, 12:57 am)
Re: [PATCH 2/2] block: defer the use of inline biovecs for ..., Christoph Hellwig, (Mon Jun 28, 5:44 am)
Re: [PATCH 1/2] block: fix leaks associated with discard r ..., Christoph Hellwig, (Mon Jun 28, 8:25 am)
Re: [PATCH 1/2] block: fix leaks associated with discard r ..., Martin K. Petersen, (Mon Jun 28, 10:16 am)
Re: [PATCH 1/2] block: fix leaks associated with discard r ..., Christoph Hellwig, (Wed Jun 30, 1:42 am)
Re: [PATCH 1/2] block: fix leaks associated with discard r ..., Christoph Hellwig, (Wed Jun 30, 3:41 am)
Re: [PATCH 1/2] block: fix leaks associated with discard r ..., Boaz Harrosh, (Wed Jun 30, 3:57 am)