login
Header Space

 
 

Re: [GIT PATCH] another tranche of SCSI updates for 2.6.26

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: James Bottomley <James.Bottomley@...>
Cc: Ingo Molnar <mingo@...>, Andrew Morton <akpm@...>, linux-scsi <linux-scsi@...>, linux-kernel <linux-kernel@...>
Date: Monday, April 28, 2008 - 12:05 pm

On Sun, 27 Apr 2008, James Bottomley wrote:

Why aren't these things initialized?

You say that the signature of an uninitialised free list is trivial, but 
that's not at all true in general. It depends intimately on how the memory 
was allocated, and is thus very subtle indeed - some change to allocations 
can break something simple like this, by initializing it with random old 
memory contents.

So why not just initialize lists like this so early (ie at allocation 
time) that problems like this cannot happen? Instead of adding ugly and 
fragile cases to the freeing?

		Linus
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT PATCH] another tranche of SCSI updates for 2.6.26, James Bottomley, (Sun Apr 27, 2:14 pm)
Re: [GIT PATCH] another tranche of SCSI updates for 2.6.26, James Bottomley, (Sun Apr 27, 10:51 pm)
Re: [GIT PATCH] another tranche of SCSI updates for 2.6.26, Linus Torvalds, (Mon Apr 28, 12:05 pm)
Re: [GIT PATCH] another tranche of SCSI updates for 2.6.26, James Bottomley, (Mon Apr 28, 2:25 pm)
Re: [GIT PATCH] another tranche of SCSI updates for 2.6.26, James Bottomley, (Mon Apr 28, 8:13 am)
Re: [GIT PATCH] another tranche of SCSI updates for 2.6.26, FUJITA Tomonori, (Mon Apr 28, 4:34 am)
Re: [GIT PATCH] another tranche of SCSI updates for 2.6.26, Kamalesh Babulal, (Mon Apr 28, 3:15 am)
speck-geostationary